A logical operator can be used to combine one or more conditional expressions. More...
#include <LogicOp.h>
Public Types | |
typedef void | ReturnType |
typedef Visitor | VisitorType |
Public Member Functions | |
virtual ReturnType | accept (VisitorType &guest) const=0 |
It call the visit method from the guest object. | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
LogicOp (const char *opName=0) | |
It initializes the LogicOp. | |
virtual | ~LogicOp () |
Virtual destructor. | |
Accessor methods | |
Methods used to get or set properties. | |
AbstractOp * | clone () const |
It creates a new copy of this object. | |
Accessor methods | |
Methods used to get or set properties. | |
const char * | getName () const |
It returns the operator name. | |
void | setName (const char *opName) |
It sets the operator name. | |
Protected Attributes | |
Not Allowed Methods | |
No copy allowed. | |
const char * | m_name |
Operator name. | |
A logical operator can be used to combine one or more conditional expressions.
The logical operator AND evaluates to true if all the combined expressions evaluate to true. The operator OR operator evaluates to true is any of the combined expressions evaluate to true. The NOT operator reverses the logical value of an expression.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
te::fe::LogicOp::LogicOp | ( | const char * | opName = 0 | ) |
|
virtual |
Virtual destructor.
|
pure virtualinherited |
It call the visit method from the guest object.
guest | The guest or visitor. |
|
virtual |
It creates a new copy of this object.
Implements te::fe::AbstractOp.
Reimplemented in te::fe::UnaryLogicOp.
|
inlineinherited |
|
inlineinherited |
It sets the operator name.
opName | The operator name. |
Definition at line 89 of file AbstractOp.h.
|
protectedinherited |
Operator name.
Definition at line 123 of file AbstractOp.h.