28 #include "../observation/ObservationDataSetType.h"
31 const std::string&
id)
32 : m_obsType(tPropIdx, gPropIdx, gPropIdx),
33 m_idPropIdx(idPropIdx),
39 int idPropIdx,
const std::string&
id)
40 : m_obsType(tPropIdxs, std::vector<int>(1,gPropIdx), gPropIdx),
41 m_idPropIdx(idPropIdx),
47 int idPropIdx,
const std::string&
id)
49 m_idPropIdx(idPropIdx),
62 return m_obsType.getGeomPropIdx();
67 return m_obsType.getBeginTimePropIdx();
72 return m_obsType.getBeginTimePropIdx();
77 return m_obsType.getEndTimePropIdx();
This file contains a class called TrajectoryDataSetType.
int getIdPropIdx() const
It returns the property index that contains the object identifications.
int getBeginTimePropIdx() const
It returns the property index that contains the begin time associated to the trajectory.
const ObservationDataSetType & getType() const
It returns the observation set type.
int getGeomPropIdx() const
It returns the property index that contains the trajectory geometries.
int getTimePropIdx() const
It returns the property index that contains the times associated to the trajectory.
std::string getId() const
It returns the trajectory id.
TrajectoryDataSetType(int tPropIdx, int gPropIdx, int idPropIdx, const std::string &id)
Constructor.
A class that contains complemental DataSetType information about a DataSet that holds observations...
void setId(const std::string &id)
It sets the trajectory id.
void setIdPropIdx(int idx)
It sets the property index that contains the object identifications.
int getEndTimePropIdx() const
It returns the property index that contains the final time associated to the trajectory.
virtual ~TrajectoryDataSetType()
Virtual destructor.