26 #include "../../../datatype/DateTime.h"
32 const std::string& dsName,
int tPropIdx,
int ptPropIdx,
int vlPropIdx,
te::dt::DateTime* time)
33 : m_obsDsInfo(dsinfo, dsName, tPropIdx, vlPropIdx, ptPropIdx),
34 m_vlPropIdx(1,vlPropIdx),
40 const std::string& dsName,
int ptPropIdx,
int vlPropIdx,
te::dt::DateTime* time)
41 : m_obsDsInfo(dsinfo, dsName, -1, vlPropIdx, ptPropIdx),
42 m_vlPropIdx(1,vlPropIdx),
48 const std::vector<int>& tPropIdx,
int ptPropIdx,
const std::vector<int>& vlPropIdx,
50 : m_obsDsInfo(dsinfo, dsName, tPropIdx, vlPropIdx, ptPropIdx),
51 m_vlPropIdx(vlPropIdx),
58 : m_obsDsInfo(dsinfo, dsName, std::vector<int>(1,-1), vlPropIdx, ptPropIdx),
59 m_vlPropIdx(vlPropIdx),
67 m_vlPropIdx(vlPropIdxs),
84 return m_obsDsInfo.getDataSourceInfo();
89 return m_obsDsInfo.getTimePropIdxs();
94 return m_obsDsInfo.getGeomPropIdx();
104 return std::auto_ptr<te::dt::DateTime>(
static_cast<te::dt::DateTime*
>(m_time->clone()));
PointCoverageDataSetInfo(const te::da::DataSourceInfo &dsinfo, const std::string &dsName, int tPropIdx, int ptPropIdx, int vlPropIdx, te::dt::DateTime *time)
Constructor.
A class that contains infos about a DataSet that contains observations.
const ObservationDataSetInfo & getObservationDataSetInfo() const
It returns information about the DataSet that contains the coverage observations. ...
CoverageType
An enum for the types of coverage.
int getPointPropIdx() const
It returns the property index that contains the points of the coverage.
te::st::CoverageType getCoverageType() const
It returns the type of the coverage.
std::auto_ptr< te::dt::DateTime > getTime() const
It returns the date and time associated to the entire point coverage.
const te::da::DataSourceInfo & getDataSourceInfo() const
It returns information about the DataSource from which the DataSet comes.
const std::vector< int > & getTimePropIdxs() const
It returns the indexes of the DataSet properties that contains the times associated to the coverage...
const std::vector< int > & getValuePropIdxs() const
It returns the property indexes that contains the values of the coverage.
A class that represents a data source component.
virtual ~PointCoverageDataSetInfo()
Virtual destructor.
This file contains a class called PointCoverageDataSetInfo.