Go to the documentation of this file.
26 #ifndef __TERRALIB_ST_INTERNAL_TRAJECTORYDATASET_H
27 #define __TERRALIB_ST_INTERNAL_TRAJECTORYDATASET_H
30 #include "../../Config.h"
33 #include <boost/noncopyable.hpp>
40 namespace te {
namespace dt {
class DateTime;
class DateTimePeriod;
class DateTimeProperty;} }
41 namespace te {
namespace gm {
class Geometry;
class Envelope;
class GeometryProperty; } }
48 class ObservationDataSet;
49 class ObservationDataSetType;
51 class AbstractTrajectoryInterp;
52 class TrajectoryDataSetLayer;
101 const std::string&
id);
184 std::unique_ptr<te::dt::DateTime>
getTime()
const;
270 #endif // __TERRALIB_ST_INTERNAL_TRAJECTORYDATASET_H
std::unique_ptr< te::dt::DateTime > getTime() const
It returns the time pointed by the internal cursor.
std::string m_id
The trajectory identification.
void setId(const std::string &id)
It sets the identifier associated to the trajectory.
bool isBeforeBegin() const
std::unique_ptr< Trajectory > getTrajectory()
It returns the trajectory from the DataSet.
std::unique_ptr< te::da::DataSet > release()
It releases all internal pointers, returning its internal DataSet and invalidating itself.
An abstract class to represent a period of date and time.
std::unique_ptr< ObservationDataSet > m_obsDs
The data set that contains the trajectory observations.
A class that contains complemental DataSetType information about a DataSet that holds observations.
A class to represent a trajectory data set.
std::unique_ptr< te::gm::Geometry > getGeometry() const
It returns the geometry pointed by the internal cursor.
const te::gm::Geometry * getSpatialExtent() const
It returns the spatial extent of the trajectory observations.
const te::dt::DateTimeProperty * getTimeProperty() const
It returns the trajectory datetime property.
A class to represent a DataSet that contains observations.
virtual ~TrajectoryDataSet()
Virtual destructor.
std::string getId() const
It returns the identifier associated to the trajectory.
An abstract class for an interpolation function or interpolator that estimates geometries at non-obse...
TrajectoryDataSet(te::da::DataSet *ds, const ObservationDataSetType &type)
Constructor.
const te::dt::DateTimePeriod * getTemporalExtent() const
It returns the temporal extent of the trajectory observations.
std::size_t size() const
It returns the size of the trajectory observation set.
TrajectoryDataSet(te::da::DataSet *ds, const ObservationDataSetType &type, const std::string &id)
Constructor.
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.
TrajectoryDataSet(ObservationDataSet *obs, const std::string &id)
Constructor.
A dataset is the unit of information manipulated by the data access module of TerraLib.
std::unique_ptr< Trajectory > getTrajectory(AbstractTrajectoryInterp *interp)
It returns the trajectory from the DataSet.
The type for date and time types: date, date period, date duration, time duration,...
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
const te::gm::GeometryProperty * getGeometryProperty() const
It returns the trajectory geometry property.
A layer with reference to a dataset that contains trajectories.
ObservationDataSet * getObservationSet() const
It returns the data set that contains the trajectory observations.