A class that contains infos about a DataSet that contains observations of one or more trajectories. More...
#include <TrajectoryDataSetInfo.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 indexes of the DataSet properties that contains the geometries associated to the trajectories. More... | |
std::string | getId () const |
It returns the trajectory id that this DataSet contains. More... | |
int | getIdPropIdx () const |
It returns the indexes of the DataSet properties that contains the identification of each trajectory. More... | |
const ObservationDataSetInfo & | getObservationDataSetInfo () const |
It returns information about the DataSet that contians the trajectory observations. More... | |
const std::vector< int > & | getTimePropIdxs () const |
It returns the indexes of the DataSet properties that contains the times associated to the trajectories. More... | |
TrajectoryDataSetInfo (const te::da::DataSourceInfo &dsinfo, const std::string &dsName, int tPropIdx, int gPropIdx, int idPropIdx, const std::string &id) | |
Constructor. More... | |
TrajectoryDataSetInfo (const ObservationDataSetInfo &info, int idPropIdx, const std::string &id) | |
Constructor. More... | |
virtual | ~TrajectoryDataSetInfo () |
Virtual destructor. More... | |
Protected Attributes | |
std::string | m_id |
The trajectory id that this DataSet contains. More... | |
int | m_idPropIdx |
The property index that contains the identification of each trajectory. More... | |
ObservationDataSetInfo | m_obsDsInfo |
Infos about the DataSource and DataSet that contains the trajectory observations. More... | |
A class that contains infos about a DataSet that contains observations of one or more trajectories.
This class contains information about a DataSet that contains observations of one or more trajectories. This information includes: (1) the DataSource which it is from (2) the DataSet name (3) the DataSet properties that contains the phenomenon time, the result time, the observed geometries and the identity of each trajectory.
Definition at line 59 of file TrajectoryDataSetInfo.h.
te::st::TrajectoryDataSetInfo::TrajectoryDataSetInfo | ( | const te::da::DataSourceInfo & | dsinfo, |
const std::string & | dsName, | ||
int | tPropIdx, | ||
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 trajectory. |
gPropIdx | The property index that contains the geometries associated to the trajectory. |
idPropIdx | The property index that contains the identification of each trajectory. |
id | The identification of the trajectory hat this DataSet contains. |
Definition at line 33 of file TrajectoryDataSetInfo.cpp.
te::st::TrajectoryDataSetInfo::TrajectoryDataSetInfo | ( | 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 42 of file TrajectoryDataSetInfo.cpp.
|
virtual |
Virtual destructor.
Definition at line 83 of file TrajectoryDataSetInfo.cpp.
const te::da::DataSourceInfo & te::st::TrajectoryDataSetInfo::getDataSourceInfo | ( | ) | const |
It returns information about the DataSource from which the DataSet comes.
Definition at line 57 of file TrajectoryDataSetInfo.cpp.
Referenced by te::st::STDataLoaderFromDS::getDataSet(), te::st::STDataLoaderFromMemDS::getDataSet(), te::st::STDataLoader::getDataSet(), te::st::STDataLoader::getInfo(), te::st::STDataLoaderFromDS::getSpatialExtent(), te::st::STDataLoaderFromMemDS::getSpatialExtent(), te::st::STDataLoader::getSpatialExtent(), te::st::STDataLoaderFromMemDS::getTemporalExtent(), and te::st::STDataLoader::getTemporalExtent().
int te::st::TrajectoryDataSetInfo::getGeomPropIdx | ( | ) | const |
It returns the indexes of the DataSet properties that contains the geometries associated to the trajectories.
Definition at line 68 of file TrajectoryDataSetInfo.cpp.
Referenced by te::st::STDataLoaderFromMemDS::buildDataSet(), te::st::STDataLoaderFromDS::getDataSet(), and te::st::STDataLoaderFromMemDS::getDataSet().
std::string te::st::TrajectoryDataSetInfo::getId | ( | ) | const |
It returns the trajectory id that this DataSet contains.
Definition at line 78 of file TrajectoryDataSetInfo.cpp.
Referenced by te::st::GetType().
int te::st::TrajectoryDataSetInfo::getIdPropIdx | ( | ) | const |
It returns the indexes of the DataSet properties that contains the identification of each trajectory.
Definition at line 73 of file TrajectoryDataSetInfo.cpp.
Referenced by te::st::GetType().
const te::st::ObservationDataSetInfo & te::st::TrajectoryDataSetInfo::getObservationDataSetInfo | ( | ) | const |
It returns information about the DataSet that contians the trajectory observations.
Definition at line 51 of file TrajectoryDataSetInfo.cpp.
Referenced by te::st::STDataLoaderFromDS::getDataSet(), te::st::STDataLoaderFromMemDS::getDataSet(), te::st::STDataLoaderFromDS::getSpatialExtent(), te::st::STDataLoaderFromMemDS::getSpatialExtent(), te::st::STDataLoaderFromMemDS::getTemporalExtent(), and te::st::GetType().
const std::vector< int > & te::st::TrajectoryDataSetInfo::getTimePropIdxs | ( | ) | const |
It returns the indexes of the DataSet properties that contains the times associated to the trajectories.
Definition at line 63 of file TrajectoryDataSetInfo.cpp.
|
protected |
The trajectory id that this DataSet contains.
Definition at line 134 of file TrajectoryDataSetInfo.h.
|
protected |
The property index that contains the identification of each trajectory.
Definition at line 133 of file TrajectoryDataSetInfo.h.
|
protected |
Infos about the DataSource and DataSet that contains the trajectory observations.
Definition at line 132 of file TrajectoryDataSetInfo.h.