26 #ifndef __TERRALIB_ST_INTERNAL_OBSERVATIONDATASETTYPE_H
27 #define __TERRALIB_ST_INTERNAL_OBSERVATIONDATASETTYPE_H
30 #include "../../Config.h"
37 #include <boost/ptr_container/ptr_vector.hpp>
40 namespace te {
namespace da {
class DataSetType; } }
41 namespace te {
namespace dt {
class DateTimeProperty;
class DateTime;
42 class DateTimeInstant;
class DateTimePeriod;} }
43 namespace te {
namespace gm {
class GeometryProperty;
class Geometry; } }
97 void setDataSetName(
const std::string& dsName);
187 void setObsPropInfo(
const std::vector<int>& props);
194 void setObsPropInfo(
const std::vector<std::string>& props);
227 void setIdPropInfo(
int idProp);
234 void setIdPropInfo(
const std::string& idProp);
243 void setId(
const std::string&
id);
267 bool hasTimeProp()
const;
268 bool hasTwoTimeProp()
const;
269 bool hasTime()
const;
270 bool hasVlTimeProp()
const;
271 bool hasTwoVlTimeProp()
const;
272 bool hasVlTime()
const;
273 bool hasRsTimeProp()
const;
274 bool hasRsTime()
const;
275 bool hasGeomProp()
const;
276 bool hasGeometry()
const;
277 bool hasIdProp()
const;
279 bool hasSpatialExtent()
const;
280 bool hasTemporalExtent()
const;
291 std::string getDataSetName()
const;
378 const std::vector<int>& getObsPropIdxs()
const;
385 const std::vector<std::string>& getObsPropNames()
const;
412 int getIdPropIdx()
const;
419 std::string getIdPropName()
const;
426 std::string getObsId()
const;
453 std::string getBeginTimePropName()
const;
462 std::string getEndTimePropName()
const;
471 std::string getGeomPropName()
const;
506 #endif // __TERRALIB_ST_INTERNAL_OBSERVATIONDATASETTYPE_H
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.
boost::ptr_vector< te::dt::DateTimeProperty > m_validTimePropInfo
Valid time: information about the DataSet properties that contain the valid time. ...
std::string m_dsName
The DataSet name.
std::auto_ptr< te::gm::GeometryProperty > m_geomPropInfo
Geometry: information about the property that has the observation spatial location.
std::auto_ptr< te::gm::Geometry > m_spatialExtent
Spatial extent.
std::auto_ptr< te::dt::DateTimePeriod > m_validTime
Valid time: the valid time, when the time is not inside a DataSet.
std::auto_ptr< te::dt::DateTimeInstant > m_resultTime
Result time: the result time, when the time is not inside a DataSet.
std::string m_idPropName
Id: the name of DataSet property that contain the id of each group of observation.
int m_idPropIndex
Id: the index of DataSet property that contain the id of each group of observation.
std::vector< int > m_observedPropIdx
Observed properties: the indexes of DataSet properties that are observed.
std::auto_ptr< te::dt::DateTime > m_phTime
Phenomenon time: the phenomenon time, when the time is not inside a DataSet.
boost::ptr_vector< te::dt::DateTimeProperty > m_phTimePropInfo
Phenomenon time: information about the DataSet properties that contain the phenomenon time...
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
std::auto_ptr< te::gm::Geometry > m_geom
Geometry: the geometry, when the spatial location of the observations are not in the DataSet...
std::auto_ptr< te::dt::DateTimePeriod > m_temporalExtent
Temporal extent.
std::string m_id
Id: the id associated to all observations.
std::vector< std::string > m_observedPropName
Observed properties: the names of DataSet properties that are observed.
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, time instant, time period, time instant with time zone or time period with time zone.
A class that contains complemental DataSetType information about a DataSet that holds observations...
std::auto_ptr< te::dt::DateTimeProperty > m_resultTimePropInfo
Result time: information about the DataSet property that contains the result time.
An abstract class to represent an instant of date and time.