A class that contains complemental information about a DataSet that holds observations of a trajectory. More...
#include <TrajectoryDataSetType.h>
Public Member Functions | |
int | getBeginTimePropIdx () const |
It returns the property index that contains the begin time associated to the trajectory. More... | |
int | getEndTimePropIdx () const |
It returns the property index that contains the final time associated to the trajectory. More... | |
int | getGeomPropIdx () const |
It returns the property index that contains the trajectory geometries. More... | |
std::string | getId () const |
It returns the trajectory id. More... | |
int | getIdPropIdx () const |
It returns the property index that contains the object identifications. More... | |
int | getTimePropIdx () const |
It returns the property index that contains the times associated to the trajectory. More... | |
const ObservationDataSetType & | getType () const |
It returns the observation set type. More... | |
void | setId (const std::string &id) |
It sets the trajectory id. More... | |
void | setIdPropIdx (int idx) |
It sets the property index that contains the object identifications. More... | |
TrajectoryDataSetType (int tPropIdx, int gPropIdx, int idPropIdx, const std::string &id) | |
Constructor. More... | |
TrajectoryDataSetType (const std::vector< int > &tPropIdxs, int gPropIdx, int idPropIdx, const std::string &id) | |
Constructor. More... | |
TrajectoryDataSetType (const ObservationDataSetType &type, int idPropIdx, const std::string &id) | |
Constructor. More... | |
virtual | ~TrajectoryDataSetType () |
Virtual destructor. More... | |
Protected Attributes | |
std::string | m_id |
The trajectory id. More... | |
int | m_idPropIdx |
The property index that contains the object identification. More... | |
ObservationDataSetType | m_obsType |
The internal observation set type. More... | |
A class that contains complemental information about a DataSet that holds observations of a trajectory.
A trajectory represents the variation of spatial locations or extents of an object over time.
Definition at line 51 of file TrajectoryDataSetType.h.
te::st::TrajectoryDataSetType::TrajectoryDataSetType | ( | int | tPropIdx, |
int | gPropIdx, | ||
int | idPropIdx, | ||
const std::string & | id | ||
) |
Constructor.
tPropIdx | The index of the property that contains the times of a trajectory. |
gPropIdx | The index of the property that contains the geometries of a trajectory. |
idPropIdx | The index of the property that contains the identity of the trajectory. |
id | The trajectory id. |
Definition at line 30 of file TrajectoryDataSetType.cpp.
te::st::TrajectoryDataSetType::TrajectoryDataSetType | ( | const std::vector< int > & | tPropIdxs, |
int | gPropIdx, | ||
int | idPropIdx, | ||
const std::string & | id | ||
) |
Constructor.
tPropIdxs | The indexes of the properties that contains the beginning and final times of a trajectory. |
gPropIdx | The index of the property that contains the geometries of a trajectory. |
idPropIdx | The index of the property that contains the identity of the trajectory. |
id | The trajectory id. |
Definition at line 38 of file TrajectoryDataSetType.cpp.
te::st::TrajectoryDataSetType::TrajectoryDataSetType | ( | const ObservationDataSetType & | type, |
int | idPropIdx, | ||
const std::string & | id | ||
) |
Constructor.
type | The ObservationSetType |
idPropIdx | The property index that contains the object identification. |
id | The trajectory id. |
Definition at line 46 of file TrajectoryDataSetType.cpp.
|
virtual |
Virtual destructor.
Definition at line 101 of file TrajectoryDataSetType.cpp.
int te::st::TrajectoryDataSetType::getBeginTimePropIdx | ( | ) | const |
It returns the property index that contains the begin time associated to the trajectory.
Definition at line 70 of file TrajectoryDataSetType.cpp.
int te::st::TrajectoryDataSetType::getEndTimePropIdx | ( | ) | const |
It returns the property index that contains the final time associated to the trajectory.
Definition at line 75 of file TrajectoryDataSetType.cpp.
int te::st::TrajectoryDataSetType::getGeomPropIdx | ( | ) | const |
It returns the property index that contains the trajectory geometries.
Definition at line 60 of file TrajectoryDataSetType.cpp.
std::string te::st::TrajectoryDataSetType::getId | ( | ) | const |
It returns the trajectory id.
Definition at line 91 of file TrajectoryDataSetType.cpp.
int te::st::TrajectoryDataSetType::getIdPropIdx | ( | ) | const |
It returns the property index that contains the object identifications.
Definition at line 80 of file TrajectoryDataSetType.cpp.
int te::st::TrajectoryDataSetType::getTimePropIdx | ( | ) | const |
It returns the property index that contains the times associated to the trajectory.
Definition at line 65 of file TrajectoryDataSetType.cpp.
const te::st::ObservationDataSetType & te::st::TrajectoryDataSetType::getType | ( | ) | const |
It returns the observation set type.
Definition at line 55 of file TrajectoryDataSetType.cpp.
void te::st::TrajectoryDataSetType::setId | ( | const std::string & | id | ) |
It sets the trajectory id.
id | The trajectory id. |
Definition at line 96 of file TrajectoryDataSetType.cpp.
void te::st::TrajectoryDataSetType::setIdPropIdx | ( | int | idx | ) |
It sets the property index that contains the object identifications.
idx | The property index that contains the object identifications. |
Definition at line 85 of file TrajectoryDataSetType.cpp.
|
protected |
The trajectory id.
Definition at line 160 of file TrajectoryDataSetType.h.
|
protected |
The property index that contains the object identification.
Definition at line 159 of file TrajectoryDataSetType.h.
|
protected |
The internal observation set type.
Definition at line 158 of file TrajectoryDataSetType.h.