26#ifndef __TERRALIB_ST_INTERNAL_EVENT_H
27#define __TERRALIB_ST_INTERNAL_EVENT_H
89 std::vector<te::st::Object*> objs);
185 std::unique_ptr<te::dt::DateTime>
m_time;
A base class for values that can be retrieved from the data access module.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
te::gm::Geometry * getLocation() const
It returns the location where the event happened.
void setObjects(std::vector< te::st::Object * > &objs)
It sets the objects involved to the event.
void getObjects(std::vector< te::st::Object * > &output) const
It returns the objects involved to the event.
std::string m_id
The identification of the event.
void setTime(te::dt::DateTime *t)
It sets the time when the event happened.
std::vector< te::st::Object * > m_objects
The objects involved to the event.
void setId(const std::string &id)
It sets the object identification.
Event(const std::string &id, te::dt::DateTime *t, te::gm::Geometry *g)
Constructor.
std::unique_ptr< te::dt::DateTime > m_time
The time when the event happened.
Event(const Event &ts)
Copy constructor.
Event * clone() const
It returns a clone of this event.
std::string getId() const
It returns the object identification.
Event & operator=(const Event &other)
Copy assignment operator.
te::dt::DateTime * getTime() const
It returns the time when the event happened.
std::unique_ptr< te::gm::Geometry > m_location
The location where the event happened.
Event(const std::string &id, te::dt::DateTime *t, te::gm::Geometry *g, std::vector< te::st::Object * > objs)
Constructor.
virtual ~Event()
Virtual destructor.
void setLocation(te::gm::Geometry *g)
It sets the location where the event happened.
A class to represent an object.
Namespace for the Data Type module of TerraLib.
Namespace for the Vector Geometry module of TerraLib.
Namespace for the TerraLib ST module.
Teste git! Configuration flags for the st (spatiotemporal) module of TerraLib.
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.