Spatial operator. More...
#include <SpatialOperator.h>
Public Member Functions | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
SpatialOperator (const char *opName) | |
It initializes a new SpatialOperator. More... | |
~SpatialOperator () | |
Destructor. More... | |
Private Attributes | |
GeometryOperands * | m_geometryOperands |
Optional. More... | |
const char * | m_name |
Spatial operator name. More... | |
Static Private Attributes | |
static std::set< const char *, te::common::LessCmp< const char * > > | sm_validSpatialOperators |
The list of valid spatial operators. More... | |
Accessor methods | |
const char * | getOpName () const |
It returns the operator name. More... | |
void | setGeometryOperands (GeometryOperands *gOps) |
It sets the geometry operands. More... | |
const GeometryOperands * | getGeometryOperands () const |
It returns the geometry operands. More... | |
static const char * | findOperator (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 | loadValidOperatorList () |
It loads the valid spatial operator list. More... | |
static void | clearValidOperatorList () |
It clears the valid operator list. More... | |
Spatial operator.
Spatial operator name can be one of the following names:
Definition at line 67 of file SpatialOperator.h.
te::fe::SpatialOperator::SpatialOperator | ( | const char * | opName | ) |
It initializes a new SpatialOperator.
The | spatial operator name. |
te::fe::SpatialOperator::~SpatialOperator | ( | ) |
Destructor.
|
static |
It clears the valid operator list.
|
static |
It checks if operator 'o' is a valid operator. It returns a pointer to the found operator or NULL otherwise.
o | The operator name we are looking for. |
const GeometryOperands* te::fe::SpatialOperator::getGeometryOperands | ( | ) | const |
It returns the geometry operands.
const char* te::fe::SpatialOperator::getOpName | ( | ) | const |
It returns the operator name.
|
static |
It loads the valid spatial operator list.
void te::fe::SpatialOperator::setGeometryOperands | ( | GeometryOperands * | gOps | ) |
It sets the geometry operands.
gOps | The geometry operands. |
|
private |
Optional.
Definition at line 138 of file SpatialOperator.h.
|
private |
Spatial operator name.
Definition at line 137 of file SpatialOperator.h.
|
staticprivate |
The list of valid spatial operators.
Definition at line 140 of file SpatialOperator.h.