A class that contains infos about a DataSource and DataSet that contains observations of a point coverage. More...
#include <PointCoverageDataSetInfo.h>
Public Member Functions | |
int | getPointPropIdx () const |
It returns the property index that contains the points of the coverage. More... | |
std::auto_ptr< te::dt::DateTime > | getTime () const |
It returns the date and time associated to the entire point coverage. More... | |
const std::vector< int > & | getValuePropIdxs () const |
It returns the property indexes that contains the values of the coverage. More... | |
PointCoverageDataSetInfo (const te::da::DataSourceInfo &dsinfo, const std::string &dsName, int tPropIdx, int ptPropIdx, int vlPropIdx, te::dt::DateTime *time) | |
Constructor. More... | |
PointCoverageDataSetInfo (const te::da::DataSourceInfo &dsinfo, const std::string &dsName, int ptPropIdx, int vlPropIdx, te::dt::DateTime *time) | |
Constructor. More... | |
PointCoverageDataSetInfo (const te::da::DataSourceInfo &dsinfo, const std::string &dsName, const std::vector< int > &tPropIdx, int ptPropIdx, const std::vector< int > &vlPropIdx, te::dt::DateTime *time) | |
Constructor. More... | |
PointCoverageDataSetInfo (const te::da::DataSourceInfo &dsinfo, const std::string &dsName, int ptPropIdx, const std::vector< int > &vlPropIdx, te::dt::DateTime *time) | |
Constructor. More... | |
PointCoverageDataSetInfo (const ObservationDataSetInfo &info, const std::vector< int > &vlPropIdxs, te::dt::DateTime *time) | |
Constructor. More... | |
virtual | ~PointCoverageDataSetInfo () |
Virtual destructor. More... | |
Inhered methods | |
te::st::CoverageType | getCoverageType () const |
It returns the type of the coverage. More... | |
const ObservationDataSetInfo & | getObservationDataSetInfo () const |
It returns information about the DataSet that contains the coverage observations. More... | |
const te::da::DataSourceInfo & | getDataSourceInfo () const |
It returns information about the DataSource from which the DataSet comes. More... | |
const std::vector< int > & | getTimePropIdxs () const |
It returns the indexes of the DataSet properties that contains the times associated to the coverage. More... | |
Protected Attributes | |
ObservationDataSetInfo | m_obsDsInfo |
Infos about the DataSource and DataSet that contains the point coverage observations. More... | |
std::auto_ptr< te::dt::DateTime > | m_time |
std::vector< int > | m_vlPropIdx |
The indexes of the properties that contain the point coverage values. More... | |
A class that contains infos about a DataSource and DataSet that contains observations of a point coverage.
Definition at line 50 of file PointCoverageDataSetInfo.h.
te::st::PointCoverageDataSetInfo::PointCoverageDataSetInfo | ( | const te::da::DataSourceInfo & | dsinfo, |
const std::string & | dsName, | ||
int | tPropIdx, | ||
int | ptPropIdx, | ||
int | vlPropIdx, | ||
te::dt::DateTime * | time | ||
) |
Constructor.
A user must use this constructor when the DataSet has a property that contain a date and time associated to each observation.
dsinfo | Infos about the DataSource. |
dsName | The DataSet name. |
tPropIdx | The property index that contains the times associated to the coverage observations. |
ptPropIdx | The property index that contains the points associated to the coverage observations. |
vlPropIdx | The property index that contains the values of the coverage. |
time | The date and time associated to the entire point coverage. |
Definition at line 31 of file PointCoverageDataSetInfo.cpp.
te::st::PointCoverageDataSetInfo::PointCoverageDataSetInfo | ( | const te::da::DataSourceInfo & | dsinfo, |
const std::string & | dsName, | ||
int | ptPropIdx, | ||
int | vlPropIdx, | ||
te::dt::DateTime * | time | ||
) |
Constructor.
A user must use this constructor when the DataSet has NOT a property that contain a date and time associated to each observation.
dsinfo | Infos about the DataSource. |
dsName | The DataSet name. |
ptPropIdx | The property index that contains the points associated to the coverage. |
vlPropIdx | The property index that contains the values of the coverage. |
time | The date and time associated to the entire point coverage. |
Definition at line 39 of file PointCoverageDataSetInfo.cpp.
te::st::PointCoverageDataSetInfo::PointCoverageDataSetInfo | ( | const te::da::DataSourceInfo & | dsinfo, |
const std::string & | dsName, | ||
const std::vector< int > & | tPropIdx, | ||
int | ptPropIdx, | ||
const std::vector< int > & | vlPropIdx, | ||
te::dt::DateTime * | time | ||
) |
Constructor.
A user must use this constructor when the DataSet has a property that contain a date and time associated to each observation.
dsinfo | Infos about the DataSource. |
dsName | The DataSet name. |
tPropIdx | The property indexes that contains the times associated to the coverage observations. |
ptPropIdx | The property index that contains the points associated to the coverage observations. |
vlPropIdx | The property index that contains the values of the coverage observations. |
time | The date and time associated to the entire point coverage. |
Definition at line 47 of file PointCoverageDataSetInfo.cpp.
te::st::PointCoverageDataSetInfo::PointCoverageDataSetInfo | ( | const te::da::DataSourceInfo & | dsinfo, |
const std::string & | dsName, | ||
int | ptPropIdx, | ||
const std::vector< int > & | vlPropIdx, | ||
te::dt::DateTime * | time | ||
) |
Constructor.
A user must use this constructor when the DataSet has NOT a property that contain a date and time associated to each observation.
dsinfo | Infos about the DataSource. |
dsName | The DataSet name. |
ptPropIdx | The property index that contains the points associated to the coverage observations. |
vlPropIdx | The property index that contains the values of the coverage observations. |
time | The date and time associated to the entire point coverage. |
Definition at line 56 of file PointCoverageDataSetInfo.cpp.
te::st::PointCoverageDataSetInfo::PointCoverageDataSetInfo | ( | const ObservationDataSetInfo & | info, |
const std::vector< int > & | vlPropIdxs, | ||
te::dt::DateTime * | time | ||
) |
Constructor.
info | Infos about the DataSource and DataSet that contains the coverage observations |
vlPropIdx | The property index that contains the values of the coverage. |
time | The date and time associated to the entire point coverage. |
Definition at line 64 of file PointCoverageDataSetInfo.cpp.
|
virtual |
Virtual destructor.
Definition at line 107 of file PointCoverageDataSetInfo.cpp.
|
virtual |
It returns the type of the coverage.
Implements te::st::CoverageDataSetInfo.
Definition at line 72 of file PointCoverageDataSetInfo.cpp.
References te::st::POINT_COVERAGE.
|
virtual |
It returns information about the DataSource from which the DataSet comes.
Implements te::st::CoverageDataSetInfo.
Definition at line 82 of file PointCoverageDataSetInfo.cpp.
Referenced by te::st::STDataLoader::getCoverage().
|
virtual |
It returns information about the DataSet that contains the coverage observations.
Implements te::st::CoverageDataSetInfo.
Definition at line 77 of file PointCoverageDataSetInfo.cpp.
Referenced by te::st::STDataLoader::getCoverage().
int te::st::PointCoverageDataSetInfo::getPointPropIdx | ( | ) | const |
It returns the property index that contains the points of the coverage.
Definition at line 92 of file PointCoverageDataSetInfo.cpp.
Referenced by te::st::STDataLoader::getCoverage().
std::auto_ptr< te::dt::DateTime > te::st::PointCoverageDataSetInfo::getTime | ( | ) | const |
It returns the date and time associated to the entire point coverage.
Definition at line 102 of file PointCoverageDataSetInfo.cpp.
Referenced by te::st::STDataLoader::getCoverage().
|
virtual |
It returns the indexes of the DataSet properties that contains the times associated to the coverage.
Implements te::st::CoverageDataSetInfo.
Definition at line 87 of file PointCoverageDataSetInfo.cpp.
Referenced by te::st::STDataLoader::getCoverage().
const std::vector< int > & te::st::PointCoverageDataSetInfo::getValuePropIdxs | ( | ) | const |
It returns the property indexes that contains the values of the coverage.
Definition at line 97 of file PointCoverageDataSetInfo.cpp.
Referenced by te::st::STDataLoader::getCoverage().
|
protected |
Infos about the DataSource and DataSet that contains the point coverage observations.
Definition at line 170 of file PointCoverageDataSetInfo.h.
|
protected |
Definition at line 172 of file PointCoverageDataSetInfo.h.
|
protected |
The indexes of the properties that contain the point coverage values.
Definition at line 171 of file PointCoverageDataSetInfo.h.