Geometry operands.
More...
#include <GeometryOperands.h>
|
std::vector< const char * > | m_operands |
| A vector of const pointer to geometry operand type name. Mandatory at least one operand type. More...
|
|
|
Methods used to get or set properties.
|
size_t | size () const |
| It returns the number of available geometry operands in the object list. More...
|
|
void | push_back (const char *g) |
| It adds the geometry operand to the supported list of operands. More...
|
|
const char * | operator[] (size_t i) const |
| It returns a specified geometry operand. More...
|
|
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 otherwise. More...
|
|
static void | loadValidGeometryOperandsList () |
| It loads the valid geometry operands list. More...
|
|
static void | clearValidGeometryOperandsList () |
| It clears the valid geometry operands list. More...
|
|
Geometry operands.
The geometry operands can be:
-
gml:Envelope
-
gml:Point
-
gml:LineString
-
gml:Polygon
-
gml:ArcByCenterPoint
-
gml:CircleByCenterPoint
-
gml:Arc
-
gml:Circle
-
gml:ArcByBulge
-
gml:Bezier
-
gml:Clothoid
-
gml:CubicSpline
-
gml:Geodesic
-
gml:OffsetCurve
-
gml:Triangle
-
gml:PolyhedralSurface
-
gml:TriangulatedSurface
-
gml:Tin
-
gml:Solid
- See also
- SpatialCapabilities, SpatialOperator
Definition at line 71 of file GeometryOperands.h.
te::fe::GeometryOperands::GeometryOperands |
( |
| ) |
|
te::fe::GeometryOperands::~GeometryOperands |
( |
| ) |
|
static void te::fe::GeometryOperands::clearValidGeometryOperandsList |
( |
| ) |
|
|
static |
It clears the valid geometry operands list.
static const char* te::fe::GeometryOperands::findOperand |
( |
const char * |
o | ) |
|
|
static |
It checks if operator 'o' is a valid operator. It returns a pointer to the found operator or NULL otherwise.
- Parameters
-
o | The operator name we are looking for. |
static void te::fe::GeometryOperands::loadValidGeometryOperandsList |
( |
| ) |
|
|
static |
It loads the valid geometry operands list.
const char* te::fe::GeometryOperands::operator[] |
( |
size_t |
i | ) |
const |
It returns a specified geometry operand.
- Parameters
-
i | The index of desired geometry operand. |
- Returns
- A specified geometry operand.
- Note
- You must not clear the returned geometry operand.
-
The method will not check the index range.
void te::fe::GeometryOperands::push_back |
( |
const char * |
g | ) |
|
It adds the geometry operand to the supported list of operands.
- Parameters
-
g | The geometry operand to be added to the supported list of operands. |
size_t te::fe::GeometryOperands::size |
( |
| ) |
const |
It returns the number of available geometry operands in the object list.
- Returns
- The number of available geometry operands in the object list.
- Warning
- This is not the same as the all available in the system! This way you can limit in your service the geometry operands.
std::vector<const char*> te::fe::GeometryOperands::m_operands |
|
private |
A vector of const pointer to geometry operand type name. Mandatory at least one operand type.
Definition at line 139 of file GeometryOperands.h.
std::set<const char*, te::common::LessCmp<const char*> > te::fe::GeometryOperands::sm_validGeometryOperands |
|
staticprivate |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/fe/GeometryOperands.h