DistanceBuffer operator: DWithin. More...
#include <DWithin.h>
Public Types | |
| typedef void | 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. | |
| DWithin (PropertyName *p, te::gm::Geometry *g, te::common::Distance *d) | |
| Constructor. More... | |
| ~DWithin () | |
| Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
| void | setProperty (PropertyName *p) |
| It sets 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 | setDistance (te::common::Distance *d) |
| It sets the distance. More... | |
| te::common::Distance * | getDistance () const |
| It returns the distance. More... | |
| SpatialOp * | clone () const |
| It creates a new copy of this object. 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::common::Distance * | m_d |
| Distance. (mandatory) More... | |
| te::gm::Geometry * | m_geom |
| Geometry literal. (Mandatory, if m_property is not specified) More... | |
| const char * | m_name |
| Operator name. More... | |
| PropertyName * | m_property |
| A geometric property. (Mandatory, if m_geom is not specified) More... | |
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
|
inline |
|
pure virtualinherited |
It call the visit method from the guest object.
| guest | The guest or visitor. |
|
virtualinherited |
It creates a new copy of this object.
Implements te::fe::AbstractOp.
Definition at line 94 of file DistanceBuffer.cpp.
References te::dt::AbstractData::clone(), te::common::Distance::clone(), te::fe::DistanceBuffer::DistanceBuffer(), te::fe::PropertyName::getName(), te::fe::DistanceBuffer::m_d, te::fe::DistanceBuffer::m_geom, te::fe::AbstractOp::m_name, te::fe::DistanceBuffer::m_property, te::fe::DistanceBuffer::setDistance(), te::fe::DistanceBuffer::setGeometry(), te::fe::AbstractOp::setName(), and te::fe::DistanceBuffer::setProperty().
|
inherited |
It returns the distance.
Definition at line 89 of file DistanceBuffer.cpp.
References te::fe::DistanceBuffer::m_d.
Referenced by te::map::QueryEncoder::visit().
|
inherited |
It returns the geometry.
Definition at line 78 of file DistanceBuffer.cpp.
References te::fe::DistanceBuffer::m_geom.
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().
|
inherited |
It returns the property name.
Definition at line 67 of file DistanceBuffer.cpp.
References te::fe::DistanceBuffer::m_property.
Referenced by DistanceBufferOpWriter(), and te::map::QueryEncoder::visit().
|
inherited |
It sets the distance.
| d | The distance. |
Definition at line 83 of file DistanceBuffer.cpp.
References d, and te::fe::DistanceBuffer::m_d.
Referenced by te::fe::DistanceBuffer::clone().
|
inherited |
It sets the geometry.
| g | The geometry. |
Definition at line 72 of file DistanceBuffer.cpp.
References te::fe::DistanceBuffer::m_geom.
Referenced by te::fe::DistanceBuffer::clone().
|
inlineinherited |
It sets the operator name.
| opName | The operator name. |
Definition at line 89 of file AbstractOp.h.
Referenced by te::fe::ComparisonOp::clone(), te::fe::SpatialOp::clone(), te::fe::LogicOp::clone(), te::fe::PropertyIsNull::clone(), te::fe::UnaryLogicOp::clone(), te::fe::PropertyIsBetween::clone(), te::fe::BinaryLogicOp::clone(), te::fe::DistanceBuffer::clone(), te::fe::BinaryComparisonOp::clone(), and te::fe::BinarySpatialOp::clone().
|
inherited |
It sets property name.
| p | The property name. |
Definition at line 61 of file DistanceBuffer.cpp.
References te::fe::DistanceBuffer::m_property, and p.
Referenced by te::fe::DistanceBuffer::clone().
|
protectedinherited |
Distance. (mandatory)
Definition at line 159 of file DistanceBuffer.h.
Referenced by te::fe::DistanceBuffer::clone(), te::fe::DistanceBuffer::getDistance(), te::fe::DistanceBuffer::setDistance(), and te::fe::DistanceBuffer::~DistanceBuffer().
|
protectedinherited |
Geometry literal. (Mandatory, if m_property is not specified)
Definition at line 158 of file DistanceBuffer.h.
Referenced by te::fe::DistanceBuffer::clone(), te::fe::DistanceBuffer::getGeometry(), te::fe::DistanceBuffer::setGeometry(), and te::fe::DistanceBuffer::~DistanceBuffer().
|
protectedinherited |
Operator name.
Definition at line 123 of file AbstractOp.h.
Referenced by te::fe::ComparisonOp::clone(), te::fe::SpatialOp::clone(), te::fe::LogicOp::clone(), te::fe::PropertyIsNull::clone(), te::fe::UnaryLogicOp::clone(), te::fe::PropertyIsBetween::clone(), te::fe::BinaryLogicOp::clone(), te::fe::DistanceBuffer::clone(), te::fe::BinaryComparisonOp::clone(), and te::fe::BinarySpatialOp::clone().
|
protectedinherited |
A geometric property. (Mandatory, if m_geom is not specified)
Definition at line 157 of file DistanceBuffer.h.
Referenced by te::fe::DistanceBuffer::clone(), te::fe::DistanceBuffer::getProperty(), te::fe::DistanceBuffer::setProperty(), and te::fe::DistanceBuffer::~DistanceBuffer().