26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_OBJECTIDSET_H
27 #define __TERRALIB_DATAACCESS_INTERNAL_OBJECTIDSET_H
30 #include "../../common/Comparators.h"
31 #include "../Config.h"
40 namespace gm {
class Envelope; }
75 void addProperty(
const std::string& name, std::size_t pos,
int type);
96 void setExpressionByIntersection(std::string geomAttrName,
te::gm::Envelope env,
int srid);
98 void setExpressionByInClause(
const std::string source =
"");
109 Expression* getExpressionByInClause(
const std::string source =
"")
const;
121 std::size_t size()
const;
128 const std::vector<std::string>& getPropertyNames()
const;
135 const std::vector<std::size_t>& getPropertyPos()
const;
142 const std::vector<int>& getPropertyTypes()
const;
201 std::set<ObjectId*, te::common::LessCmp<ObjectId*> >::const_iterator begin()
const;
208 std::set<ObjectId*, te::common::LessCmp<ObjectId*> >::const_iterator end()
const;
212 bool isExpressionClauseIn()
const;
219 std::set<ObjectId*, te::common::LessCmp<ObjectId*> >
m_oids;
228 #endif // __TERRALIB_DATAACCESS_INTERNAL_OBJECTIDSET_H
te::da::Expression * m_expression
The expression that can be used to retrieve the data set that contains the all indentified elements...
std::vector< std::string > m_pnames
The list of property names used to generate the unique ids.
This is an abstract class that models a query expression.
An Envelope defines a 2D rectangular region.
This class represents a set of unique ids created in the same context. i.e. from the same data set...
This class represents an unique id for a data set element.
std::set< ObjectId *, te::common::LessCmp< ObjectId * > > m_oids
The set of unique ids.
std::vector< std::size_t > m_ppos
The list of property positions used to generate the unique ids.
std::vector< int > m_ptypes
The list of property types used to generate the unique ids.
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.