26 #ifndef __TERRALIB_ST_INTERNAL_OBSERVATION_H 
   27 #define __TERRALIB_ST_INTERNAL_OBSERVATION_H 
   30 #include "../../Config.h" 
   33 #include <boost/ptr_container/ptr_vector.hpp> 
   36 namespace te { 
namespace dt { 
class AbstractData; 
class DateTime; 
class DateTimePeriod;
 
   37                               class DateTimeInstant; } }
 
   39 namespace te { 
namespace gm { 
class Geometry; } }
 
   97                     const boost::ptr_vector<te::dt::AbstractData>& obsValues);
 
  112                     const boost::ptr_vector<te::dt::AbstractData>& obsValues);           
 
  210         void setValues(
const boost::ptr_vector<te::dt::AbstractData>& values);
 
A base class for values that can be retrieved from the data access module.
 
An abstract class to represent an instant of date and time.
 
An abstract class to represent a period of date and time.
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
 
A class to represent an observation.
 
void setTime(te::dt::DateTime *phTime)
It sets the phenomenon time.
 
Observation(te::dt::DateTime *phTime)
Constructor.
 
std::unique_ptr< te::dt::DateTime > m_phTime
The phenomenon time.
 
te::dt::DateTime * getTime() const
It returns the phenomenon time.
 
Observation(te::dt::DateTime *phTime, te::dt::DateTimeInstant *resTime, te::dt::DateTimePeriod *valTime, te::gm::Geometry *geom, const boost::ptr_vector< te::dt::AbstractData > &obsValues)
Constructor.
 
te::dt::DateTimeInstant * getResultTime() const
It returns the result time.
 
virtual ~Observation()
Virtual destructor.
 
Observation(const Observation &obs)
Copy constructor.
 
Observation * clone() const
It returns a clone of this object.
 
const te::dt::AbstractData * getObservedValue(int idx=0) const
It returns the idx-th observed value.
 
Observation()
It constructs an empty Observation.
 
void setValidTime(te::dt::DateTimePeriod *valTime)
It sets the valid time.
 
boost::ptr_vector< te::dt::AbstractData > m_observedValues
The observed values.
 
const Observation & operator=(const Observation &rhs)
Assignment operator.
 
te::dt::DateTimePeriod * getValidTime() const
It returns the valid time.
 
std::unique_ptr< te::dt::DateTimeInstant > m_resultTime
The result time.
 
boost::ptr_vector< te::dt::AbstractData > & getObservedValues()
It returns the observed values.
 
std::unique_ptr< te::dt::DateTimePeriod > m_validTime
The valid time.
 
void setResultTime(te::dt::DateTimeInstant *resTime)
It sets the result time.
 
std::unique_ptr< te::gm::Geometry > m_geometry
The observation location.
 
void setValues(const boost::ptr_vector< te::dt::AbstractData > &values)
It sets the observed values.
 
Observation(te::dt::DateTime *phTime, te::dt::AbstractData *obsValue)
Constructor.
 
void addValue(te::dt::AbstractData *value)
It adds an observed value.
 
Observation(te::dt::DateTime *phTime, te::gm::Geometry *geom, const boost::ptr_vector< te::dt::AbstractData > &obsValues)
Constructor.
 
te::gm::Geometry * getGeometry() const
It returns the observation location or region.
 
void setGeometry(te::gm::Geometry *geom)
It sets the observation location or region.
 
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.