26 #ifndef __TERRALIB_MAPTOOLS_INTERNAL_QUERYENCODER_H
27 #define __TERRALIB_MAPTOOLS_INTERNAL_QUERYENCODER_H
31 #include "../fe/Visitor.h"
This is an abstract class that models a query expression.
An abstract interface for operators.
A convenient and more compact way of encoding the very common bounding box constraint based on an env...
A class for binary comparison operators.
A logical operator can be used to combine two or more conditional expressions.
This class can be used to represent binary operation expressions.
A class for binary spatial operators.
A comparison operator is used to form expressions that evaluate the mathematical comparison between t...
Distance buffer operator.
This is an abstract class that models a Filter Encoding expression.
A filter is any valid predicate expression.
A function is a named procedure that performs a distinct computation.
This class can be used to represent literal values.
A logical operator can be used to combine one or more conditional expressions.
The PropertyIsBetween element is defined as a compact way of encoding a range check.
It is intended to encode a character string comparison operator with pattern matching.
The PropertyIsNull class encodes an operator that checks to see if the value of its content is NULL.
This class is used to encode the name of any property of an object.
A spatial operator determines whether its geometric arguments satisfy the stated spatial relationship...
A logical operator that can be used to combine one conditional expressions.
A visitor interface for a Filter expression.
This singleton defines the TerraLib Map Tools module entry.
A visitor that converts a OGC Filter Expression to TerraLib Expression.
void visit(const te::fe::PropertyIsNull &visited)
void visit(const te::fe::BinaryComparisonOp &visited)
void visit(const te::fe::BBOXOp &visited)
void visit(const te::fe::BinarySpatialOp &visited)
void visit(const te::fe::PropertyIsLike &visited)
void visit(const te::fe::UnaryLogicOp &visited)
void visit(const te::fe::LogicOp &visited)
te::da::Expression * m_expression
Expression used during conversion.
te::da::Expression * getExpression(const te::fe::Filter *f)
It converts the OGC Filter Expression to a TerraLib Expression.
void visit(const te::fe::BinaryLogicOp &visited)
QueryEncoder()
Default constructor.
void visit(const te::fe::PropertyIsBetween &visited)
void visit(const te::fe::AbstractOp &visited)
void visit(const te::fe::BinaryOperator &visited)
void visit(const te::fe::Expression &visited)
QueryEncoder & operator=(const QueryEncoder &rhs)
No assignment operator allowed.
void visit(const te::fe::DistanceBuffer &visited)
void visit(const te::fe::ComparisonOp &visited)
static std::map< std::string, std::string > sm_fnameMap
A map that associates Filter Operator names to Query Functions names.
void visit(const te::fe::PropertyName &visited)
void visit(const te::fe::Literal &visited)
QueryEncoder(const QueryEncoder &rhs)
No copy constructor allowed.
~QueryEncoder()
Virtual destructor.
void visit(const te::fe::SpatialOp &visited)
void visit(const te::fe::Function &visited)
static void initialize()
Static method to initialize the QueryEncoder.
Proxy configuration file for TerraView (see terraview_config.h).