An abstract interface for operators. More...
#include <AbstractOp.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. | |
AbstractOp (const char *opName=0) | |
It initializes the operator. More... | |
virtual | ~AbstractOp () |
Virtual destructor. 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... | |
Private Member Functions | |
Not Allowed Methods | |
No copy allowed. | |
AbstractOp (const AbstractOp &rhs) | |
No copy constructor allowed. More... | |
AbstractOp & | operator= (const AbstractOp &rhs) |
No assignment operator allowed. More... | |
An abstract interface for operators.
Definition at line 47 of file AbstractOp.h.
|
inherited |
Definition at line 58 of file BaseVisitable.h.
|
inherited |
Definition at line 57 of file BaseVisitable.h.
te::fe::AbstractOp::AbstractOp | ( | const char * | opName = 0 | ) |
It initializes the operator.
opName | The operator name. |
|
virtual |
Virtual destructor.
|
private |
No copy constructor allowed.
rhs | The other instance. |
|
pure virtualinherited |
It call the visit method from the guest object.
guest | The guest or visitor. |
|
inline |
|
private |
No assignment operator allowed.
rhs | The other instance. |
|
inline |
It sets the operator name.
opName | The operator name. |
Definition at line 89 of file AbstractOp.h.
|
protected |
Operator name.
Definition at line 120 of file AbstractOp.h.