26 #ifndef __TERRALIB_ST_INTERNAL_TRAJECTORYITERATOR_H
27 #define __TERRALIB_ST_INTERNAL_TRAJECTORYITERATOR_H
30 #include "../../Config.h"
31 #include "../../Utils.h"
38 #include <boost/shared_ptr.hpp>
41 namespace te {
namespace dt {
class DateTime; } }
42 namespace te {
namespace gm {
class Geometry; } }
163 TrajectoryObservationSet::const_iterator
m_it;
This file contains a typedef that defines observations of trajectory.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
A class to traverse the observations of a trajectory.
TrajectoryIterator operator--(int aux)
Postfix operator –.
bool operator!=(const TrajectoryIterator &rhs)
Operator !=.
const TrajectoryIterator & operator=(const TrajectoryIterator &rhs)
Assignment operator.
virtual ~TrajectoryIterator()
Virtual destructor.
TrajectoryIterator(TrajectoryObservationSet::const_iterator &it)
Constructor.
TrajectoryIterator & operator--()
Prefix operator –.
TrajectoryObservation operator*() const
Prefix operator *.
TrajectoryIterator operator++(int aux)
Postfix operator ++.
te::dt::DateTime * getTime() const
It returns the datetime pointed by the internal cursor.
te::gm::Geometry * getGeometry() const
It returns the geometry pointed by the internal cursor.
TrajectoryIterator()
Empty constructor.
TrajectoryObservationSet::const_iterator m_it
The internal cursor.
TrajectoryIterator & operator++()
Prefix operator ++.
bool operator==(const TrajectoryIterator &rhs)
Operator ==.
std::pair< te::dt::DateTimeShrPtr, te::gm::GeometrySharedPtr > TrajectoryObservation
A struct to represent a patch or a continuous piece of a trajectory.
TrajectoryIterator m_begin
TrajectoryPatch(TrajectoryIterator b, TrajectoryIterator e)
TrajectoryIterator end() const
TrajectoryIterator begin() const
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.