An abstract interface for operators. More...
#include <AbstractOp.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... | |
| virtual AbstractOp * | clone () const =0 |
| It creates a new copy of this object. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| AbstractOp (const char *opName=0) | |
| It initializes the operator. More... | |
| virtual | ~AbstractOp () |
| Virtual destructor. 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 | |
| const char * | m_name |
| Operator name. More... | |
Private Member Functions | |
Not Allowed Methods | |
No copy allowed. | |
| AbstractOp (const AbstractOp &rhs) | |
| No copy constructor allowed. More... | |
| AbstractOp & | operator= (const AbstractOp &rhs) |
| No assignment operator allowed. More... | |
An abstract interface for operators.
Definition at line 47 of file AbstractOp.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
| te::fe::AbstractOp::AbstractOp | ( | const char * | opName = 0 | ) |
It initializes the operator.
| opName | The operator name. |
Definition at line 32 of file AbstractOp.cpp.
References ~AbstractOp().
|
virtualdefault |
Virtual destructor.
Referenced by AbstractOp().
|
private |
No copy constructor allowed.
| rhs | The other instance. |
|
pure virtualinherited |
It call the visit method from the guest object.
| guest | The guest or visitor. |
|
pure virtual |
It creates a new copy of this object.
Implemented in te::fe::BinarySpatialOp, te::fe::PropertyIsLike, te::fe::BinaryComparisonOp, te::fe::DistanceBuffer, te::fe::BinaryLogicOp, te::fe::BBOXOp, te::fe::PropertyIsBetween, te::fe::UnaryLogicOp, te::fe::PropertyIsNull, te::fe::LogicOp, te::fe::SpatialOp, and te::fe::ComparisonOp.
Referenced by te::fe::UnaryLogicOp::clone(), te::fe::Filter::clone(), and te::qt::plugins::tv::TimeViewerDockWidget::onSliderChanged().
|
inline |
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().
|
private |
No assignment operator allowed.
| rhs | The other instance. |
|
inline |
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().
|
protected |
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().