28 #include "../../../geometry/Point.h"
29 #include "../../../datatype/AbstractData.h"
55 return m_it == rhs.
m_it;
60 return m_it != rhs.
m_it;
96 return m_it->get()->first;
102 return &aux->second.operator[](i);
108 return &aux->second.operator[](0);
114 return atof(aux->second.operator[](i).toString().c_str());
120 return atof(aux->second.operator[](0).toString().c_str());
126 return atoi(aux->second.operator[](i).toString().c_str());
132 return atoi(aux->second.operator[](0).toString().c_str());
PointCoverageObservation operator*() const
Prefix operator *.
virtual ~PointCoverageIterator()
Virtual destructor.
std::pair< te::gm::Point, boost::ptr_vector< te::dt::AbstractData > > PointCoverageItem
PointCoverageIterator & operator--()
Prefix operator –.
double getDouble() const
It returns the first attribute value as a double pointed by the internal cursor.
A class to traverse the observations of a PointCoverage.
boost::shared_ptr< PointCoverageItem > PointCoverageObservation
te::dt::AbstractData * getValue() const
It returns the first attribute value pointed by the internal cursor.
A point with x and y coordinate values.
bool operator!=(const PointCoverageIterator &rhs)
Operator !=.
PointCoverageObservationSet::const_iterator m_it
The internal cursor.
const PointCoverageIterator & operator=(const PointCoverageIterator &rhs)
Assignment operator.
A base class for values that can be retrieved from the data access module.
This file contains an iterator that is able to traverse all observations of a point coverage...
bool operator==(const PointCoverageIterator &rhs)
Operator ==.
PointCoverageIterator & operator++()
Prefix operator ++.
te::gm::Point & getLocation() const
It returns the location pointed by the internal cursor.
PointCoverageIterator()
Empty constructor.
int getInt() const
It returns the first attribute value as an integer pointed by the internal cursor.