26 #ifndef __TERRALIB_ST_INTERNAL_OBSERVATIONDATASET_H
27 #define __TERRALIB_ST_INTERNAL_OBSERVATIONDATASET_H
30 #include "../../Config.h"
34 #include "../../../geometry/Envelope.h"
35 #include "../../../datatype/DateTimePeriod.h"
38 #include <boost/noncopyable.hpp>
44 namespace te {
namespace da {
class DataSet;
class DataSetType; } }
45 namespace te {
namespace dt {
class Property;
class DateTime;
class DateTimePeriod; } }
46 namespace te {
namespace gm {
class Envelope;
class Geometry; } }
55 class ObservationDataSetType;
56 class TrajectoryDataSet;
57 class TimeSeriesDataSet;
286 std::unique_ptr<te::da::DataSet>
m_ds;
This file contains a class called ObservationDataSetType.
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.
The type for date and time types: date, date period, date duration, time duration,...
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
A layer with reference to a dataset that contains observations.
A class that contains complemental DataSetType information about a DataSet that holds observations.
A class to represent a DataSet that contains observations.
void setSpatialExtent(te::gm::Geometry *ext)
It sets the spatial extent of the observations, when there is an observed value of geometry type.
virtual ~ObservationDataSet()
Virtual destructor.
ObservationDataSet(te::da::DataSet *ds, const ObservationDataSetType &obst)
Constructor.
const te::gm::Geometry * getSpatialExtent()
It returns the spatial extent of the observations, when there is an observed value of geometry type.
ObservationDataSetType m_obst
A data set that contains observations.
const te::dt::DateTimeProperty * getVlBeginTimeProperty() const
It returns the property of the valid beginning time.
const te::dt::DateTimeProperty * getEndTimeProperty() const
It returns the property of the phenomenon end time.
ObservationDataSet(te::da::DataSet *ds, const ObservationDataSetType &obst, te::dt::DateTimePeriod *text)
Constructor.
ObservationDataSet(te::da::DataSet *ds, const ObservationDataSetType &obst, te::dt::DateTimePeriod *text, te::gm::Geometry *sext)
Constructor.
const te::dt::DateTimeProperty * getBeginTimeProperty() const
It returns the property of the phenomenon beginning time.
std::unique_ptr< Observation > getObservation() const
It returns the observation pointed by the internal cursor.
std::unique_ptr< te::da::DataSet > release()
It releases all internal pointers, returning its internal DataSet and invalidating itself.
const ObservationDataSetType & getType() const
It returns a reference to the ObservationDataSetType.
const te::dt::DateTimeProperty * getRsTimeProperty() const
It returns the property of the result time.
bool isBeforeBegin() const
std::unique_ptr< te::da::DataSet > m_ds
const te::dt::DateTimePeriod * getTemporalExtent()
It returns the temporal extent of the observations.
te::da::DataSet * getData() const
It returns the DataSet that contains the observations.
const te::dt::DateTimeProperty * getVlEndTimeProperty() const
It returns the property of the valid end time.
void setTemporalExtent(te::dt::DateTimePeriod *ext)
It sets the temporal extent of the observations, when there is an observed value of geometry type.
A class to represent a time series data set.
A class to represent a trajectory data set.
std::unique_ptr< ObservationDataSet > ObservationDataSetPtr
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.