46 return m_operands.size();
52 m_operands.push_back(g);
57 assert(i < m_operands.size());
65 std::set<const char*, te::common::LessCmp<const char*> >::const_iterator it = sm_validGeometryOperands.find(o);
67 if(it != sm_validGeometryOperands.end())
98 sm_validGeometryOperands.clear();
static const char * sm_bezier
static const char * sm_tin
static const char * sm_polyhedralSurface
static void loadValidGeometryOperandsList()
It loads the valid geometry operands list.
size_t size() const
It returns the number of available geometry operands in the object list.
static const char * sm_arcByCenterPoint
const char * operator[](size_t i) const
It returns a specified geometry operand.
static const char * sm_envelope
static const char * sm_clothoid
static const char * sm_geodesic
static const char * sm_arcByBulge
static const char * sm_arc
static const char * sm_circle
static const char * sm_circleByCenterPoint
GeometryOperands()
It initializes a new GeometryOperands.
static const char * sm_solid
static const char * sm_triangulatedSurface
~GeometryOperands()
Destructor.
static const char * sm_polygon
static const char * sm_lineString
static const char * sm_triangle
An static class with global definitions.
static const char * sm_point
static void clearValidGeometryOperandsList()
It clears the valid geometry operands list.
static const char * sm_cubicSpline
static const char * sm_offsetCurve
void push_back(const char *g)
It adds the geometry operand to the supported list of operands.
static const char * findOperand(const char *o)
It checks if operator 'o' is a valid operator. It returns a pointer to the found operator or NULL oth...
static std::set< const char *, te::common::LessCmp< const char * > > sm_validGeometryOperands
The list of valid bynary geometry operands.