26 #ifndef __TERRALIB_ST_INTERNAL_TIMESERIESOBSERVATION_H
27 #define __TERRALIB_ST_INTERNAL_TIMESERIESOBSERVATION_H
30 #include "../../../datatype/DateTime.h"
31 #include "../../../datatype/AbstractData.h"
34 #include "../../Config.h"
40 #include <boost/shared_ptr.hpp>
41 #include <boost/multi_index_container.hpp>
42 #include <boost/multi_index/ordered_index.hpp>
43 #include <boost/multi_index/identity.hpp>
44 #include <boost/multi_index/mem_fun.hpp>
47 namespace te {
namespace dt {
class AbstractData;
class DateTime; } }
93 double getDouble()
const;
99 std::string getString()
const;
120 typedef boost::multi_index_container<
122 boost::multi_index::indexed_by<
124 boost::multi_index::ordered_unique<
125 boost::multi_index::identity<TimeSeriesObservation> >,
128 boost::multi_index::ordered_non_unique<
129 boost::multi_index::const_mem_fun<TimeSeriesObservation, double, &TimeSeriesObservation::getDouble> >,
132 boost::multi_index::ordered_non_unique<
133 boost::multi_index::const_mem_fun<TimeSeriesObservation, std::string, &TimeSeriesObservation::getString> >
144 #endif // __TERRALIB_ST_INTERNAL_TIMESERIESOBSERVATION_H
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.
TEDATAACCESSEXPORT te::da::Expression * operator<(const te::da::Expression &e1, const te::da::Expression &e2)
boost::shared_ptr< AbstractData > AbstractDataShrPtr
te::dt::DateTimeShrPtr m_time
TimeSeriesObservationSet::nth_index< 1 >::type TimeSeriesByValue
boost::shared_ptr< DateTime > DateTimeShrPtr
A class to represent an observation (time and value) of a time series.
A base class for values that can be retrieved from the data access module.
TimeSeriesObservationSet::nth_index< 0 >::type TimeSeriesByTime
te::dt::AbstractDataShrPtr m_value
boost::multi_index_container< TimeSeriesObservation, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::identity< TimeSeriesObservation > >, boost::multi_index::ordered_non_unique< boost::multi_index::const_mem_fun< TimeSeriesObservation, double,&TimeSeriesObservation::getDouble > >, boost::multi_index::ordered_non_unique< boost::multi_index::const_mem_fun< TimeSeriesObservation, std::string,&TimeSeriesObservation::getString > > > > TimeSeriesObservationSet