26 #ifndef __TERRALIB_FE_INTERNAL_BINARYOPERATOR_H
27 #define __TERRALIB_FE_INTERNAL_BINARYOPERATOR_H
114 const char*
getName()
const {
return m_opName; }
#define TE_DEFINE_VISITABLE
This class can be used to represent binary operation expressions.
virtual Expression * clone() const
It returns a clone of this object.
void setSecond(Expression *second)
It sets the second operand.
const char * m_opName
The operator name. (Mandatory)
void setFirst(Expression *first)
It sets the first operand.
Expression * m_first
First operand (an expression). (Mandatory)
Expression * getSecond() const
It returns the second operand.
BinaryOperator(const char *opName, Expression *first, Expression *second)
It initializes a new BinaryOperator.
BinaryOperator(const char *opName=0)
It initializes a new BinaryOperator.
Expression * getFirst() const
It returns the first operand.
const char * getName() const
It returns the operator name.
Expression * m_second
Second operand (an expression). (Mandatory)
virtual ~BinaryOperator()
Virtual destructor.
This is an abstract class that models a Filter Encoding expression.
Auxiliary classes and functions to serialize filter expressions from a XML document.
#define TEFEEXPORT
You can use this macro in order to export/import classes and functions from this module.