#include <Or.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. | |
Or (AbstractOp *arg1, AbstractOp *arg2) | |
Constructor. More... | |
~Or () | |
Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
std::size_t | size () const |
It returns the number of operands. More... | |
void | add (AbstractOp *o) |
It adds the operand to the operand list. More... | |
AbstractOp * | operator[] (std::size_t i) const |
It returns a specified operand. More... | |
AbstractOp * | getOp (std::size_t i) const |
It returns a specified 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... | |
std::vector< AbstractOp * > | m_ops |
Mandatory at least two. More... | |
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
|
inline |
|
pure virtualinherited |
It call the visit method from the guest object.
guest | The guest or visitor. |
|
inherited |
It adds the operand to the operand list.
o | The operand to be added. |
|
inlineinherited |
|
inherited |
It returns a specified operand.
i | The index of desired operand. |
|
inherited |
It returns a specified operand.
i | The index of desired operand. |
|
inlineinherited |
It sets the operator name.
opName | The operator name. |
Definition at line 89 of file AbstractOp.h.
|
inherited |
It returns the number of operands.
|
protectedinherited |
Operator name.
Definition at line 120 of file AbstractOp.h.
|
protectedinherited |
Mandatory at least two.
Definition at line 145 of file BinaryLogicOp.h.