26 #ifndef __TERRALIB_ST_INTERNAL_TIMESERIESDATASET_H
27 #define __TERRALIB_ST_INTERNAL_TIMESERIESDATASET_H
30 #include "../../Config.h"
34 #include <boost/noncopyable.hpp>
41 namespace te {
namespace dt {
class AbstractData;
class DateTime;
class DateTimePeriod;
class DateTimeProperty;} }
42 namespace te {
namespace gm {
class Geometry;
class GeometryProperty; } }
49 class ObservationDataSet;
51 class AbstractTimeSeriesInterp;
88 int idPropIdx,
const std::string&
id);
119 int gPropIdx,
int idPropIdx,
const std::string&
id);
182 std::string getId()
const;
189 void setId(
const std::string&
id);
196 std::size_t size()
const;
207 bool moveBeforeFirst();
211 bool isAtBegin()
const;
213 bool isBeforeBegin()
const;
215 bool isAtEnd()
const;
217 bool isAfterEnd()
const;
230 std::auto_ptr<te::dt::DateTime> getTime() const;
239 std::auto_ptr<te::dt::AbstractData> getValue(std::size_t idx) const;
248 std::auto_ptr<te::dt::AbstractData> getValue() const;
255 double getDouble(std::size_t idx) const;
262 double getDouble() const;
271 int getInt(std::size_t idx) const;
289 std::auto_ptr<te::gm::Geometry> getGeometry() const;
299 te::dt::DateTimePeriod* getTemporalExtent() const;
314 std::auto_ptr<TimeSeries> getTimeSeries(te::st::AbstractTimeSeriesInterp* interp);
329 std::auto_ptr<TimeSeries> getTimeSeries(int idx, te::st::AbstractTimeSeriesInterp* interp);
342 void getTimeSeriesSet( te::st::AbstractTimeSeriesInterp* interp,
343 std::vector<te::st::TimeSeries*>& result);
352 //te::gm::GeometryProperty* getGeometryProperty() const;
361 //te::dt::DateTimeProperty* getTimeProperty() const;
364 virtual ~TimeSeriesDataSet();
367 std::auto_ptr<ObservationDataSet> m_obsDs; //!< The data set that contains the trajectory observations
368 TimeSeriesDataSetType m_type; //!< The trajectory type.
369 std::string m_id; //!< The trajectory identification.
371 } // end namespace st
372 } // end namespace te
374 #endif // __TERRALIB_ST_INTERNAL_TIMESERIESDATASET_H
A class to represent a DataSet that contains observations.
An abstract class to represent a period of date and time.
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.
A class to represent a time series data set.
This file contains a class called TimeSeriesDataSetType.
A class that contains complemental information about a DataSet that holds observations of a time seri...
A dataset is the unit of information manipulated by the data access module of TerraLib.