All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
te::st::TrajectoryDataSetInfo Class Reference

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::DataSourceInfogetDataSourceInfo () 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 ObservationDataSetInfogetObservationDataSetInfo () 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...
 

Detailed Description

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.

See Also
ObservationDataSetInfo

Definition at line 59 of file TrajectoryDataSetInfo.h.

Constructor & Destructor Documentation

te::st::TrajectoryDataSetInfo::TrajectoryDataSetInfo ( const te::da::DataSourceInfo dsinfo,
const std::string &  dsName,
int  tPropIdx,
int  gPropIdx,
int  idPropIdx,
const std::string &  id 
)

Constructor.

Parameters
dsinfoInfos about the DataSource.
dsNameThe DataSet name.
tPropIdxThe property index that contains the times associated to the trajectory.
gPropIdxThe property index that contains the geometries associated to the trajectory.
idPropIdxThe property index that contains the identification of each trajectory.
idThe 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.

Parameters
infoInfos about the DataSource and DataSet that contains the trajectory observations
idPropIdxThe property index that contains the identification of each trajectory.
idThe identification of the trajectory hat this DataSet contains.

Definition at line 42 of file TrajectoryDataSetInfo.cpp.

te::st::TrajectoryDataSetInfo::~TrajectoryDataSetInfo ( )
virtual

Virtual destructor.

Definition at line 83 of file TrajectoryDataSetInfo.cpp.

Member Function Documentation

int te::st::TrajectoryDataSetInfo::getGeomPropIdx ( ) const

It returns the indexes of the DataSet properties that contains the geometries associated to the trajectories.

Returns
The indexes of the DataSet properties that contains the geometies.

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.

Returns
The trajectory id.

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.

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
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.

Returns
The indexes of the DataSet properties that contains the time.

Definition at line 63 of file TrajectoryDataSetInfo.cpp.

Member Data Documentation

std::string te::st::TrajectoryDataSetInfo::m_id
protected

The trajectory id that this DataSet contains.

Definition at line 134 of file TrajectoryDataSetInfo.h.

int te::st::TrajectoryDataSetInfo::m_idPropIdx
protected

The property index that contains the identification of each trajectory.

Definition at line 133 of file TrajectoryDataSetInfo.h.

ObservationDataSetInfo te::st::TrajectoryDataSetInfo::m_obsDsInfo
protected

Infos about the DataSource and DataSet that contains the trajectory observations.

Definition at line 132 of file TrajectoryDataSetInfo.h.


The documentation for this class was generated from the following files: