26 #include "../../../datatype/DateTime.h"
32 const std::string& dsName,
int tPropIdx,
int rstPropIdx)
33 : m_obsDsInfo(dsinfo, dsName, tPropIdx, rstPropIdx),
34 m_rstPropIdx(rstPropIdx),
41 : m_obsDsInfo(dsinfo, dsName, -1, rstPropIdx),
42 m_rstPropIdx(rstPropIdx),
49 m_rstPropIdx(rstPropIdx),
57 m_rstPropIdx(rstPropIdx),
63 : m_obsDsInfo(rcinfo.m_obsDsInfo),
64 m_rstPropIdx(rcinfo.m_rstPropIdx),
65 m_time(static_cast<te::dt::DateTime*> (rcinfo.m_time->clone()))
76 m_time.reset(static_cast<te::dt::DateTime*> (other.
m_time->clone()));
93 return m_obsDsInfo.getDataSourceInfo();
98 return m_obsDsInfo.getTimePropIdxs();
108 return std::auto_ptr<te::dt::DateTime>(
static_cast<te::dt::DateTime*
>(m_time->clone()));
int getRasterPropIdx() const
It returns the property index that contains the raster of the coverage.
A class that contains infos about a DataSet that contains observations.
std::auto_ptr< te::dt::DateTime > m_time
A class that represents a data source component.
RasterCoverageDataSetInfo & operator=(const RasterCoverageDataSetInfo &other)
Copy assignment operator.
RasterCoverageDataSetInfo(const te::da::DataSourceInfo &dsinfo, const std::string &dsName, int tPropIdx, int rstPropIdx)
Constructor.
std::auto_ptr< te::dt::DateTime > getTime() const
It returns the date and time associated to the raster coverage, when this information is not in the D...
int m_rstPropIdx
The property index that contains the raster.
virtual ~RasterCoverageDataSetInfo()
Virtual destructor.
te::st::CoverageType getCoverageType() const
It returns the type of the coverage.
const std::vector< int > & getTimePropIdxs() const
It returns the indexes of the DataSet properties that contains the times associated to the coverage...
ObservationDataSetInfo m_obsDsInfo
Infos about the DataSource and DataSet that contains the point coverage observations.
const te::da::DataSourceInfo & getDataSourceInfo() const
It returns information about the DataSource from which the DataSet comes.
CoverageType
An enum for the types of coverage.
This file contains a class called RasterCoverageDataSetInfo.
const ObservationDataSetInfo & getObservationDataSetInfo() const
It returns information about the DataSet that contains the coverage observations. ...
A class that contains infos about a DataSource and DataSet that contains observations of a raster cov...