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>
41namespace te {
namespace dt {
class DateTime; } }
42namespace 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++()
Prefix operator ++.
TrajectoryIterator operator--(int aux)
Postfix operator –.
te::gm::Geometry * getGeometry() const
It returns the geometry pointed by the internal cursor.
bool operator!=(const TrajectoryIterator &rhs)
Operator !=.
TrajectoryIterator & operator--()
Prefix operator –.
virtual ~TrajectoryIterator()
Virtual destructor.
TrajectoryIterator(TrajectoryObservationSet::const_iterator &it)
Constructor.
te::dt::DateTime * getTime() const
It returns the datetime pointed by the internal cursor.
TrajectoryObservation operator*() const
Prefix operator *.
TrajectoryIterator operator++(int aux)
Postfix operator ++.
TrajectoryIterator()
Empty constructor.
TrajectoryObservationSet::const_iterator m_it
The internal cursor.
bool operator==(const TrajectoryIterator &rhs)
Operator ==.
const TrajectoryIterator & operator=(const TrajectoryIterator &rhs)
Assignment 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.