A class that contains infos about a DataSet that contains observations of one or more time series. More...
#include <TimeSeriesDataSetInfo.h>
Public Member Functions | |
const te::da::DataSourceInfo & | getDataSourceInfo () const |
It returns information about the DataSource from which the DataSet comes. More... | |
int | getGeomPropIdx () const |
It returns the index of the DataSet property that contains the location of the time series. More... | |
std::string | getId () const |
It returns the time series id that this DataSet contains. More... | |
int | getIdPropIdx () const |
It returns the index of the DataSet property that contains the identification of each time series. More... | |
const ObservationDataSetInfo & | getObservationDataSetInfo () const |
It returns information about the DataSet that contians the time series observations. More... | |
const std::vector< int > & | getTimePropIdxs () const |
It returns the indexes of the DataSet properties that contains the times associated to the time series. More... | |
const std::vector< int > & | getValuePropIdxs () const |
It returns the indexes of the DataSet properties that contains the values associated to the time series. More... | |
TimeSeriesDataSetInfo (const te::da::DataSourceInfo &dsinfo, const std::string &dsName, int tPropIdx, int vPropIdx, int gPropIdx, int idPropIdx, const std::string &id) | |
Constructor. More... | |
TimeSeriesDataSetInfo (const te::da::DataSourceInfo &dsinfo, const std::string &dsName, int tPropIdx, const std::vector< int > &vPropIdxs, int gPropIdx, int idPropIdx, const std::string &id) | |
Constructor. More... | |
TimeSeriesDataSetInfo (const ObservationDataSetInfo &info, int idPropIdx, const std::string &id) | |
Constructor. More... | |
virtual | ~TimeSeriesDataSetInfo () |
Virtual destructor. More... | |
Protected Attributes | |
std::string | m_id |
The time series id that this DataSet contains. More... | |
int | m_idPropIdx |
The property index that contains the identification of each time series. More... | |
ObservationDataSetInfo | m_obsDsInfo |
Infos about the DataSource and DataSet that contains the time series observations. More... | |
std::vector< int > | m_vlPropIdxs |
The indexes of the properties that contain the time series values. More... | |
A class that contains infos about a DataSet that contains observations of one or more time series.
Time series: Geometry, Time -> Value.
This class contains information about a DataSet that contains observations of one or more time series. This information includes: (1) the DataSource which it is from and the DataSet name (2) the DataSet properties that contain the time and the observed attribute values (it can be one or more observed attributes) and the identity of each time series.
Definition at line 60 of file TimeSeriesDataSetInfo.h.
te::st::TimeSeriesDataSetInfo::TimeSeriesDataSetInfo | ( | const te::da::DataSourceInfo & | dsinfo, |
const std::string & | dsName, | ||
int | tPropIdx, | ||
int | vPropIdx, | ||
int | gPropIdx, | ||
int | idPropIdx, | ||
const std::string & | id | ||
) |
Constructor.
dsinfo | Infos about the DataSource. |
dsName | The DataSet name. |
tPropIdx | The property index that contains the times associated to the time series. |
vPropIdx | The property index that contains the attribute values associated to the time series. |
gPropIdx | The property index that contains the geometry associated to the time series. |
idPropIdx | The property index that contains the identification of each time series. |
id | The identification of the time series that this DataSet contains. |
Definition at line 33 of file TimeSeriesDataSetInfo.cpp.
te::st::TimeSeriesDataSetInfo::TimeSeriesDataSetInfo | ( | const te::da::DataSourceInfo & | dsinfo, |
const std::string & | dsName, | ||
int | tPropIdx, | ||
const std::vector< int > & | vPropIdxs, | ||
int | gPropIdx, | ||
int | idPropIdx, | ||
const std::string & | id | ||
) |
Constructor.
dsinfo | Infos about the DataSource. |
dsName | The DataSet name. |
tPropIdx | The property index that contains the times associated to the time series. |
vPropIdxs | The property indexes that contain the attribute values associated to the time series. |
gPropIdx | The property index that contains the geometry associated to the time series. |
idPropIdx | The property index that contains the identification of each time series. |
id | The identification of the time series that this DataSet contains. |
Definition at line 43 of file TimeSeriesDataSetInfo.cpp.
te::st::TimeSeriesDataSetInfo::TimeSeriesDataSetInfo | ( | const ObservationDataSetInfo & | info, |
int | idPropIdx, | ||
const std::string & | id | ||
) |
Constructor.
info | Infos about the DataSource and DataSet that contains the trajectory observations |
idPropIdx | The property index that contains the identification of each trajectory. |
id | The identification of the trajectory hat this DataSet contains. |
Definition at line 54 of file TimeSeriesDataSetInfo.cpp.
|
virtual |
Virtual destructor.
Definition at line 102 of file TimeSeriesDataSetInfo.cpp.
const te::da::DataSourceInfo & te::st::TimeSeriesDataSetInfo::getDataSourceInfo | ( | ) | const |
It returns information about the DataSource from which the DataSet comes.
Definition at line 70 of file TimeSeriesDataSetInfo.cpp.
Referenced by te::st::STDataLoaderFromDS::getDataSet(), te::st::STDataLoaderFromMemDS::getDataSet(), te::st::STDataLoader::getDataSet(), te::st::STDataLoader::getInfo(), te::st::STDataLoaderFromMemDS::getTemporalExtent(), and te::st::STDataLoader::getTemporalExtent().
int te::st::TimeSeriesDataSetInfo::getGeomPropIdx | ( | ) | const |
It returns the index of the DataSet property that contains the location of the time series.
Definition at line 87 of file TimeSeriesDataSetInfo.cpp.
std::string te::st::TimeSeriesDataSetInfo::getId | ( | ) | const |
It returns the time series id that this DataSet contains.
Definition at line 97 of file TimeSeriesDataSetInfo.cpp.
Referenced by te::st::GetType().
int te::st::TimeSeriesDataSetInfo::getIdPropIdx | ( | ) | const |
It returns the index of the DataSet property that contains the identification of each time series.
Definition at line 92 of file TimeSeriesDataSetInfo.cpp.
Referenced by te::st::GetType().
const te::st::ObservationDataSetInfo & te::st::TimeSeriesDataSetInfo::getObservationDataSetInfo | ( | ) | const |
It returns information about the DataSet that contians the time series observations.
Definition at line 64 of file TimeSeriesDataSetInfo.cpp.
Referenced by te::st::STDataLoaderFromDS::getDataSet(), te::st::STDataLoaderFromMemDS::getDataSet(), te::st::STDataLoaderFromMemDS::getTemporalExtent(), and te::st::GetType().
const std::vector< int > & te::st::TimeSeriesDataSetInfo::getTimePropIdxs | ( | ) | const |
It returns the indexes of the DataSet properties that contains the times associated to the time series.
Definition at line 76 of file TimeSeriesDataSetInfo.cpp.
const std::vector< int > & te::st::TimeSeriesDataSetInfo::getValuePropIdxs | ( | ) | const |
It returns the indexes of the DataSet properties that contains the values associated to the time series.
Definition at line 82 of file TimeSeriesDataSetInfo.cpp.
Referenced by te::st::GetType().
|
protected |
The time series id that this DataSet contains.
Definition at line 163 of file TimeSeriesDataSetInfo.h.
|
protected |
The property index that contains the identification of each time series.
Definition at line 162 of file TimeSeriesDataSetInfo.h.
|
protected |
Infos about the DataSource and DataSet that contains the time series observations.
Definition at line 160 of file TimeSeriesDataSetInfo.h.
|
protected |
The indexes of the properties that contain the time series values.
Definition at line 161 of file TimeSeriesDataSetInfo.h.