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;
90 int idPropIdx,
const std::string&
id);
121 int gPropIdx,
int idPropIdx,
const std::string&
id);
184 std::string getId()
const;
191 void setId(
const std::string&
id);
198 std::size_t size()
const;
209 bool moveBeforeFirst();
213 bool isAtBegin()
const;
215 bool isBeforeBegin()
const;
217 bool isAtEnd()
const;
219 bool isAfterEnd()
const;
232 std::auto_ptr<te::dt::DateTime> getTime() const;
241 std::auto_ptr<te::dt::AbstractData> getValue(std::size_t idx) const;
250 std::auto_ptr<te::dt::AbstractData> getValue() const;
257 double getDouble(std::size_t idx) const;
264 double getDouble() const;
273 int getInt(std::size_t idx) const;
291 std::auto_ptr<te::gm::Geometry> getGeometry() const;
301 te::dt::DateTimePeriod* getTemporalExtent() const;
316 std::auto_ptr<TimeSeries> getTimeSeries(te::st::AbstractTimeSeriesInterp* interp);
331 std::auto_ptr<TimeSeries> getTimeSeries(int idx, te::st::AbstractTimeSeriesInterp* interp);
344 void getTimeSeriesSet( te::st::AbstractTimeSeriesInterp* interp,
345 std::vector<te::st::TimeSeries*>& result);
354 //te::gm::GeometryProperty* getGeometryProperty() const;
363 //te::dt::DateTimeProperty* getTimeProperty() const;
366 virtual ~TimeSeriesDataSet();
377 std::auto_ptr<te::da::DataSet> release();
380 std::auto_ptr<ObservationDataSet> m_obsDs; //!< The data set that contains the trajectory observations
381 TimeSeriesDataSetType m_type; //!< The trajectory type.
382 std::string m_id; //!< The trajectory identification.
384 } // end namespace st
385 } // end namespace te
387 #endif // __TERRALIB_ST_INTERNAL_TIMESERIESDATASET_H
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.
A layer with reference to a dataset that contains trajectories.
A class to represent a time series data set.
A class to represent a DataSet that contains observations.
A class that contains complemental information about a DataSet that holds observations of a time seri...
This file contains a class called TimeSeriesDataSetType.
A dataset is the unit of information manipulated by the data access module of TerraLib.
An abstract class to represent a period of date and time.