A logical operator that can be used to combine one conditional expressions. More...
#include <UnaryLogicOp.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. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
UnaryLogicOp (const char *opName=0) | |
It initializes a new UnaryLogicOp. More... | |
UnaryLogicOp (const char *opName, AbstractOp *o) | |
It initializes a new UnaryLogicOp. More... | |
virtual | ~UnaryLogicOp () |
Virtual destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
void | setOp (AbstractOp *o) |
It sets the operand. More... | |
AbstractOp * | getOp () const |
It returns the operand. More... | |
Accessor methods | |
Methods used to get or set properties. | |
const char * | getName () const |
It returns the operator name. More... | |
void | setName (const char *opName) |
It sets the operator name. More... | |
Protected Attributes | |
const char * | m_name |
Operator name. More... | |
AbstractOp * | m_op |
Mandatory. More... | |
A logical operator that can be used to combine one conditional expressions.
Definition at line 46 of file UnaryLogicOp.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
te::fe::UnaryLogicOp::UnaryLogicOp | ( | const char * | opName = 0 | ) |
It initializes a new UnaryLogicOp.
opName | The unary logic operator name. |
te::fe::UnaryLogicOp::UnaryLogicOp | ( | const char * | opName, |
AbstractOp * | o | ||
) |
It initializes a new UnaryLogicOp.
opName | The unary logic operator name. |
o | The operand. |
|
virtual |
Virtual destructor.
|
pure virtualinherited |
It call the visit method from the guest object.
guest | The guest or visitor. |
|
inlineinherited |
AbstractOp* te::fe::UnaryLogicOp::getOp | ( | ) | const |
It returns the operand.
|
inlineinherited |
It sets the operator name.
opName | The operator name. |
Definition at line 89 of file AbstractOp.h.
void te::fe::UnaryLogicOp::setOp | ( | AbstractOp * | o | ) |
It sets the operand.
o | The operand. |
|
protectedinherited |
Operator name.
Definition at line 120 of file AbstractOp.h.
|
protected |
Mandatory.
Definition at line 106 of file UnaryLogicOp.h.