A class for binary spatial operators. More...
#include <BinarySpatialOp.h>
  
 Public Types | |
| typedef R | ReturnType | 
| typedef Visitor | VisitorType | 
Public Member Functions | |
| virtual ReturnType | accept (VisitorType &guest) const =0 | 
| It call the visit method from the guest object.  More... | |
Initializer Methods  | |
Methods related to instantiation and destruction.  | |
| BinarySpatialOp (const char *opName=0) | |
| It initializes the BinarySpatialOp.  More... | |
| BinarySpatialOp (const char *opName, PropertyName *p, te::gm::Geometry *g) | |
| It initializes the BinarySpatialOp.  More... | |
| BinarySpatialOp (const char *opName, PropertyName *p, te::gml::Envelope *e) | |
| It initializes the BinarySpatialOp.  More... | |
| virtual | ~BinarySpatialOp () | 
| Destructor.  More... | |
Accessor methods  | |
Methods used to get or set properties.  | |
| void | setProperty (PropertyName *p) | 
| It sets the property name.  More... | |
| PropertyName * | getProperty () const | 
| It returns the property name.  More... | |
| void | setGeometry (te::gm::Geometry *g) | 
| It sets the geometry.  More... | |
| te::gm::Geometry * | getGeometry () const | 
| It returns the geometry.  More... | |
| void | setEnvelope (te::gml::Envelope *e) | 
| It sets the envelope.  More... | |
| te::gml::Envelope * | getEnvelope () const | 
| It returns the envelope.  More... | |
Accessor methods  | |
Methods used to get or set properties.  | |
| const char * | getName () const | 
| It returns the operator name.  More... | |
| void | setName (const char *opName) | 
| It sets the operator name.  More... | |
Protected Attributes | |
| te::gml::Envelope * | m_box | 
| A convenient and more compact way of encoding the very common bounding box constraint. (It must be omitted ig m_box is given)  More... | |
| te::gm::Geometry * | m_geom | 
| A literal geometric value. (It must be omitted if m_envelope is given)  More... | |
| const char * | m_name | 
| Operator name.  More... | |
| PropertyName * | m_property | 
| A geometric property. (Mandatory)  More... | |
A class for binary spatial operators.
Binary spatial operators are used to test whether the value of a geometric property, referenced using the name of the property, and a literal geometric value satisfy the spatial relationship implied by the operator.
 The following operators are defined in the Filter Encoding specification: 
Definition at line 68 of file BinarySpatialOp.h.
      
  | 
  inherited | 
Definition at line 58 of file BaseVisitable.h.
      
  | 
  inherited | 
Definition at line 57 of file BaseVisitable.h.
| te::fe::BinarySpatialOp::BinarySpatialOp | ( | const char * | opName = 0 | ) | 
It initializes the BinarySpatialOp.
| opName | The operator name. | 
Definition at line 36 of file BinarySpatialOp.cpp.
| te::fe::BinarySpatialOp::BinarySpatialOp | ( | const char * | opName, | 
| PropertyName * | p, | ||
| te::gm::Geometry * | g | ||
| ) | 
It initializes the BinarySpatialOp.
| opName | The operator name. | 
| p | The property name. | 
| g | The geometry value. | 
Definition at line 44 of file BinarySpatialOp.cpp.
| te::fe::BinarySpatialOp::BinarySpatialOp | ( | const char * | opName, | 
| PropertyName * | p, | ||
| te::gml::Envelope * | e | ||
| ) | 
It initializes the BinarySpatialOp.
| opName | The operator name. | 
| p | The property name. | 
| e | The envelope value. | 
Definition at line 52 of file BinarySpatialOp.cpp.
      
  | 
  virtual | 
Destructor.
Definition at line 60 of file BinarySpatialOp.cpp.
      
  | 
  pure virtualinherited | 
It call the visit method from the guest object.
| guest | The guest or visitor. | 
| te::gml::Envelope * te::fe::BinarySpatialOp::getEnvelope | ( | ) | const | 
It returns the envelope.
Definition at line 95 of file BinarySpatialOp.cpp.
Referenced by te::map::QueryEncoder::visit().
| te::gm::Geometry * te::fe::BinarySpatialOp::getGeometry | ( | ) | const | 
It returns the geometry.
Definition at line 84 of file BinarySpatialOp.cpp.
Referenced by te::map::QueryEncoder::visit().
      
  | 
  inlineinherited | 
It returns the operator name.
Definition at line 82 of file AbstractOp.h.
Referenced by GetQualifiedName(), te::map::QueryEncoder::visit(), and te::fe::serialize::AbstractOp::write().
| te::fe::PropertyName * te::fe::BinarySpatialOp::getProperty | ( | ) | const | 
It returns the property name.
Definition at line 73 of file BinarySpatialOp.cpp.
Referenced by BinarySpatialOpWriter(), and te::map::QueryEncoder::visit().
| void te::fe::BinarySpatialOp::setEnvelope | ( | te::gml::Envelope * | e | ) | 
It sets the envelope.
| e | The envelope. | 
Definition at line 89 of file BinarySpatialOp.cpp.
| void te::fe::BinarySpatialOp::setGeometry | ( | te::gm::Geometry * | g | ) | 
It sets the geometry.
| g | The geometry. | 
Definition at line 78 of file BinarySpatialOp.cpp.
      
  | 
  inlineinherited | 
It sets the operator name.
| opName | The operator name. | 
Definition at line 89 of file AbstractOp.h.
| void te::fe::BinarySpatialOp::setProperty | ( | PropertyName * | p | ) | 
It sets the property name.
| p | The property name. | 
Definition at line 67 of file BinarySpatialOp.cpp.
      
  | 
  protected | 
A convenient and more compact way of encoding the very common bounding box constraint. (It must be omitted ig m_box is given)
Definition at line 178 of file BinarySpatialOp.h.
      
  | 
  protected | 
A literal geometric value. (It must be omitted if m_envelope is given)
Definition at line 177 of file BinarySpatialOp.h.
      
  | 
  protectedinherited | 
Operator name.
Definition at line 120 of file AbstractOp.h.
      
  | 
  protected | 
A geometric property. (Mandatory)
Definition at line 176 of file BinarySpatialOp.h.