A visitor that converts a OGC Filter Expression to TerraLib Expression. More...
#include <QueryEncoder.h>
Public Member Functions | |
Initializer Methods | |
Methods related to instantiation and destruction of a Filter visitor. | |
QueryEncoder () | |
Default constructor. More... | |
~QueryEncoder () | |
Virtual destructor. More... | |
Conversion Methods | |
Methods that can be used to convert a OGC Filter Expression to a TerraLib Expression. | |
te::da::Expression * | getExpression (const te::fe::Filter *f) |
It converts the OGC Filter Expression to a TerraLib Expression. More... | |
Visitor Methods | |
All concrete visitors must implement these methods. | |
void | visit (const te::fe::AbstractOp &visited) |
void | visit (const te::fe::SpatialOp &visited) |
void | visit (const te::fe::ComparisonOp &visited) |
void | visit (const te::fe::LogicOp &visited) |
void | visit (const te::fe::BBOXOp &visited) |
void | visit (const te::fe::BinaryComparisonOp &visited) |
void | visit (const te::fe::BinaryLogicOp &visited) |
void | visit (const te::fe::BinarySpatialOp &visited) |
void | visit (const te::fe::DistanceBuffer &visited) |
void | visit (const te::fe::PropertyIsBetween &visited) |
void | visit (const te::fe::PropertyIsLike &visited) |
void | visit (const te::fe::PropertyIsNull &visited) |
void | visit (const te::fe::UnaryLogicOp &visited) |
void | visit (const te::fe::Expression &visited) |
void | visit (const te::fe::BinaryOperator &visited) |
void | visit (const te::fe::Function &visited) |
void | visit (const te::fe::Literal &visited) |
void | visit (const te::fe::PropertyName &visited) |
Private Member Functions | |
Not Allowed Methods | |
No copy allowed. | |
QueryEncoder (const QueryEncoder &rhs) | |
No copy constructor allowed. More... | |
QueryEncoder & | operator= (const QueryEncoder &rhs) |
No assignment operator allowed. More... | |
Static Private Member Functions | |
static void | initialize () |
Static method to initialize the QueryEncoder. More... | |
Private Attributes | |
te::da::Expression * | m_expression |
Expression used during conversion. More... | |
Static Private Attributes | |
static std::map< std::string, std::string > | sm_fnameMap |
A map that associates Filter Operator names to Query Functions names. More... | |
Friends | |
class | Module |
A visitor that converts a OGC Filter Expression to TerraLib Expression.
Definition at line 53 of file QueryEncoder.h.
te::map::QueryEncoder::QueryEncoder | ( | ) |
Default constructor.
te::map::QueryEncoder::~QueryEncoder | ( | ) |
Virtual destructor.
|
private |
No copy constructor allowed.
rhs | The other object. |
te::da::Expression* te::map::QueryEncoder::getExpression | ( | const te::fe::Filter * | f | ) |
|
staticprivate |
Static method to initialize the QueryEncoder.
|
private |
No assignment operator allowed.
rhs | The other object. |
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
virtual |
Implements te::fe::Visitor.
|
friend |
Definition at line 149 of file QueryEncoder.h.
|
private |
Expression used during conversion.
Definition at line 146 of file QueryEncoder.h.
|
staticprivate |
A map that associates Filter Operator names to Query Functions names.
Definition at line 147 of file QueryEncoder.h.