26 #ifndef __TERRALIB_ST_INTERNAL_OBSERVATIONDATASETINFO_H
27 #define __TERRALIB_ST_INTERNAL_OBSERVATIONDATASETINFO_H
30 #include "../../Config.h"
33 #include "../../../dataaccess/datasource/DataSourceInfo.h"
40 #include <boost/ptr_container/ptr_vector.hpp>
42 namespace te {
namespace da {
class DataSourceInfo; } }
43 namespace te {
namespace dt {
class DateTimeProperty;
class DateTime;
44 class DateTimeInstant;
class DateTimePeriod;} }
45 namespace te {
namespace gm {
class GeometryProperty;
class Geometry; } }
81 const std::string& dsName);
190 void setObsPropInfo(
const std::vector<int>& props);
197 void setObsPropInfo(
const std::vector<std::string>& props);
230 void setIdPropInfo(
int idProp);
237 void setIdPropInfo(
const std::string& idProp);
246 void setId(
const std::string&
id);
270 bool hasTimeProp()
const;
271 bool hasTwoTimeProp()
const;
272 bool hasTime()
const;
273 bool hasVlTimeProp()
const;
274 bool hasTwoVlTimeProp()
const;
275 bool hasVlTime()
const;
276 bool hasRsTimeProp()
const;
277 bool hasRsTime()
const;
278 bool hasGeomProp()
const;
279 bool hasGeometry()
const;
280 bool hasIdProp()
const;
282 bool hasSpatialExtent()
const;
283 bool hasTemporalExtent()
const;
301 std::string getDataSetName()
const;
388 const std::vector<int>& getObsPropIdxs()
const;
395 const std::vector<std::string>& getObsPropNames()
const;
422 int getIdPropIdx()
const;
429 std::string getIdPropName()
const;
436 std::string getObsId()
const;
463 std::string getBeginTimePropName()
const;
472 std::string getEndTimePropName()
const;
481 std::string getGeomPropName()
const;
491 std::string getDSId()
const;
526 #endif // __TERRALIB_ST_INTERNAL_OBSERVATIONDATASETINFO_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. ...
A class that contains infos about a DataSet that contains observations.
te::da::DataSourceInfo m_dsInfo
Information about the DataSource from which the DataSet come.
std::auto_ptr< te::dt::DateTimeProperty > m_resultTimePropInfo
Result time: information about the DataSet property that contains the result time.
std::string m_dsName
The DataSet name.
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::gm::Geometry > m_geom
Geometry: the geometry, when the spatial location of the observations are not in the DataSet...
std::auto_ptr< te::gm::Geometry > m_spatialExtent
Spatial extent.
std::auto_ptr< te::gm::GeometryProperty > m_geomPropInfo
Geometry: information about the property that has the observation spatial location.
std::vector< std::string > m_observedPropName
Observed properties: the names of DataSet properties that are observed.
std::string m_idPropName
Id: the name of DataSet property that contain the id of each group of observation.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
std::vector< int > m_observedPropIdx
Observed properties: the indexes 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.
std::string m_id
Id: the id associated to all observations.
A class that represents a data source component.
std::auto_ptr< te::dt::DateTimeInstant > m_resultTime
Result time: the result time, when the time is not inside a DataSet.
std::auto_ptr< te::dt::DateTimePeriod > m_temporalExtent
Temporal extent.
std::auto_ptr< te::dt::DateTime > m_phTime
Phenomenon time: the phenomenon time, when the time is not inside a DataSet.
int m_idPropIndex
Id: the index of DataSet property that contain the id of each group of observation.
An abstract class to represent an instant of date and time.
boost::ptr_vector< te::dt::DateTimeProperty > m_phTimePropInfo
Phenomenon time: information about the DataSet properties that contain the phenomenon time...