TAO_CosTrader
2.0.8
|
A node that represents an operation with no operands. More...
#include <Constraint_Nodes.h>
Public Member Functions | |
TAO_Noop_Constraint (TAO_Expression_Type type) | |
virtual int | accept (TAO_Constraint_Visitor *visitor) |
virtual TAO_Expression_Type | expr_type (void) const |
Return the expression type represented by this node. | |
Private Attributes | |
TAO_Expression_Type | type_ |
A node that represents an operation with no operands.
TAO_Noop_Constraint::TAO_Noop_Constraint | ( | TAO_Expression_Type | type | ) | [inline] |
int TAO_Noop_Constraint::accept | ( | TAO_Constraint_Visitor * | visitor | ) | [virtual] |
Implementing the pattern of double dispatching, each subclass of TAO_Constraint will call back on an InterpreterVisitor the method to handle a node of its ExpressionType.
Implements TAO_Constraint.
virtual TAO_Expression_Type TAO_Noop_Constraint::expr_type | ( | void | ) | const [inline, virtual] |
Return the expression type represented by this node.
Implements TAO_Constraint.