26 #ifndef __TERRALIB_ST_INTERNAL_TIMESERIESITERATOR_H
27 #define __TERRALIB_ST_INTERNAL_TIMESERIESITERATOR_H
30 #include "../../Config.h"
38 #include <boost/shared_ptr.hpp>
41 namespace te {
namespace dt {
class DateTime; } }
42 namespace te {
namespace gm {
class Geometry; } }
184 TimeSeriesObservationSet::const_iterator
m_it;
This file contains a class to represent a time series observation.
A base class for values that can be retrieved from the data access module.
A class to traverse the observations of a TimeSeries.
TimeSeriesIterator()
Empty constructor.
TimeSeriesIterator & operator++()
Prefix operator ++.
const TimeSeriesIterator & operator=(const TimeSeriesIterator &rhs)
Assignment operator.
bool operator==(const TimeSeriesIterator &rhs)
Operator ==.
TimeSeriesIterator operator++(int aux)
Postfix operator ++.
virtual ~TimeSeriesIterator()
Virtual destructor.
TimeSeriesIterator(TimeSeriesObservationSet::const_iterator &it)
Constructor.
te::dt::DateTime * getTime() const
It returns the datetime pointed by the internal cursor.
TimeSeriesObservationSet::const_iterator m_it
The internal cursor.
double getDouble() const
It returns the attribute value as a double pointed by the internal cursor.
TimeSeriesObservation operator*() const
Prefix operator *.
std::string getString() const
It returns the attribute value as a string pointed by the internal cursor.
bool operator!=(const TimeSeriesIterator &rhs)
Operator !=.
int getInt() const
It returns the attribute value as an integer pointed by the internal cursor.
TimeSeriesIterator operator--(int aux)
Postfix operator –.
te::dt::AbstractData * getValue() const
It returns the attribute value pointed by the internal cursor.
TimeSeriesIterator & operator--()
Prefix operator –.
A class to represent an observation (time and value) of a time series.
A struct to represent a patch or a continuous piece of a time series.
TimeSeriesPatch(TimeSeriesIterator b, TimeSeriesIterator e)
TimeSeriesIterator end() const
TimeSeriesIterator begin() const
TimeSeriesIterator m_begin
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.