26 #ifndef __TERRALIB_FE_INTERNAL_BINARYLOGICOP_H
27 #define __TERRALIB_FE_INTERNAL_BINARYLOGICOP_H
#define TE_DEFINE_VISITABLE
A logical operator can be used to combine one or more conditional expressions.
An abstract interface for operators.
A logical operator can be used to combine two or more conditional expressions.
std::vector< AbstractOp * > m_ops
Mandatory at least two.
AbstractOp * getOp(std::size_t i) const
It returns a specified operand.
BinaryLogicOp(const char *opName, AbstractOp *first, AbstractOp *second)
It initializes a new BinaryLogicOp.
BinaryLogicOp(const char *opName=0)
It initializes a new BinaryLogicOp.
void add(AbstractOp *o)
It adds the operand to the operand list.
AbstractOp * operator[](std::size_t i) const
It returns a specified operand.
BinaryLogicOp * clone() const
It creates a new copy of this object.
virtual ~BinaryLogicOp()
Virtual destructor.
std::size_t size() const
It returns the number of operands.
A logical operator can be used to combine one or more conditional expressions.
#define TEFEEXPORT
You can use this macro in order to export/import classes and functions from this module.