A logical operator can be used to combine two or more conditional expressions.
More...
#include <BinaryLogicOp.h>
A logical operator can be used to combine two or more conditional expressions.
The following operators are defined in the Filter Encoding specification:
- See also
- LogicOp, UnaryLogicOp
Definition at line 58 of file BinaryLogicOp.h.
te::fe::BinaryLogicOp::BinaryLogicOp |
( |
const char * |
opName = 0 | ) |
|
te::fe::BinaryLogicOp::BinaryLogicOp |
( |
const char * |
opName, |
|
|
AbstractOp * |
first, |
|
|
AbstractOp * |
second |
|
) |
| |
It initializes a new BinaryLogicOp.
- Parameters
-
opName | The BinaryLogicOp operator name. |
first | The first operand. |
second | The second operand. |
- Note
- The BinaryLogicOp will not take the ownership of the given name.
-
The BinaryLogicOp object will take the ownership of the operands.
virtual te::fe::BinaryLogicOp::~BinaryLogicOp |
( |
| ) |
|
|
virtual |
It call the visit method from the guest object.
- Parameters
-
guest | The guest or visitor. |
- Returns
- Any valid value define by the template type R.
It adds the operand to the operand list.
- Parameters
-
o | The operand to be added. |
- Note
- The BinaryLogicOp object will take the ownership of the operand.
const char* te::fe::AbstractOp::getName |
( |
| ) |
const |
|
inlineinherited |
It returns the operator name.
- Returns
- The operator name.
Definition at line 82 of file AbstractOp.h.
AbstractOp* te::fe::BinaryLogicOp::getOp |
( |
std::size_t |
i | ) |
const |
It returns a specified operand.
- Parameters
-
i | The index of desired operand. |
- Returns
- A specified operand.
- Note
- The method will not check the index range.
AbstractOp* te::fe::BinaryLogicOp::operator[] |
( |
std::size_t |
i | ) |
const |
It returns a specified operand.
- Parameters
-
i | The index of desired operand. |
- Returns
- A specified operand.
- Note
- The method will not check the index range.
void te::fe::AbstractOp::setName |
( |
const char * |
opName | ) |
|
|
inlineinherited |
It sets the operator name.
- Parameters
-
Definition at line 89 of file AbstractOp.h.
std::size_t te::fe::BinaryLogicOp::size |
( |
| ) |
const |
It returns the number of operands.
- Returns
- The number of operands.
const char* te::fe::AbstractOp::m_name |
|
protectedinherited |
std::vector<AbstractOp*> te::fe::BinaryLogicOp::m_ops |
|
protected |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/fe/BinaryLogicOp.h