Geometry operands. More...
#include <GeometryOperands.h>
Public Member Functions | |
Initializer Methods  | |
Methods related to instantiation and destruction.  | |
| GeometryOperands () | |
| It initializes a new GeometryOperands.  More... | |
| ~GeometryOperands () | |
| Destructor.  More... | |
Private Attributes | |
| std::vector< const char * > | m_operands | 
| A vector of const pointer to geometry operand type name. Mandatory at least one operand type.  More... | |
Static Private Attributes | |
| static std::set< const char  *, te::common::LessCmp< const char * > >  | sm_validGeometryOperands | 
| The list of valid bynary geometry operands.  More... | |
Accessor methods | |
| 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:
Definition at line 71 of file GeometryOperands.h.
| te::fe::GeometryOperands::GeometryOperands | ( | ) | 
It initializes a new GeometryOperands.
Definition at line 35 of file GeometryOperands.cpp.
| te::fe::GeometryOperands::~GeometryOperands | ( | ) | 
Destructor.
Definition at line 39 of file GeometryOperands.cpp.
      
  | 
  static | 
It clears the valid geometry operands list.
Definition at line 96 of file GeometryOperands.cpp.
Referenced by te::fe::Module::finalize().
      
  | 
  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. | 
Definition at line 61 of file GeometryOperands.cpp.
      
  | 
  static | 
It loads the valid geometry operands list.
Definition at line 73 of file GeometryOperands.cpp.
References te::fe::Globals::sm_arc, te::fe::Globals::sm_arcByBulge, te::fe::Globals::sm_arcByCenterPoint, te::fe::Globals::sm_bezier, te::fe::Globals::sm_circle, te::fe::Globals::sm_circleByCenterPoint, te::fe::Globals::sm_clothoid, te::fe::Globals::sm_cubicSpline, te::fe::Globals::sm_envelope, te::fe::Globals::sm_geodesic, te::fe::Globals::sm_lineString, te::fe::Globals::sm_offsetCurve, te::fe::Globals::sm_point, te::fe::Globals::sm_polygon, te::fe::Globals::sm_polyhedralSurface, te::fe::Globals::sm_solid, te::fe::Globals::sm_tin, te::fe::Globals::sm_triangle, and te::fe::Globals::sm_triangulatedSurface.
Referenced by te::fe::Module::initialize().
| const char * te::fe::GeometryOperands::operator[] | ( | size_t | i | ) | const | 
It returns a specified geometry operand.
| i | The index of desired geometry operand. | 
Definition at line 55 of file GeometryOperands.cpp.
| void te::fe::GeometryOperands::push_back | ( | const char * | g | ) | 
It adds the geometry operand to the supported list of operands.
| g | The geometry operand to be added to the supported list of operands. | 
Definition at line 49 of file GeometryOperands.cpp.
| size_t te::fe::GeometryOperands::size | ( | ) | const | 
It returns the number of available geometry operands in the object list.
Definition at line 44 of file GeometryOperands.cpp.
      
  | 
  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.
      
  | 
  staticprivate | 
The list of valid bynary geometry operands.
Definition at line 141 of file GeometryOperands.h.