TAO_CosTrader
2.0.8
|
TAO_Unary_Constraint represents an operation with only one operand. More...
#include <Constraint_Nodes.h>
Public Member Functions | |
TAO_Unary_Constraint (TAO_Expression_Type op_type, TAO_Constraint *operand) | |
virtual | ~TAO_Unary_Constraint (void) |
virtual int | accept (TAO_Constraint_Visitor *visitor) |
virtual TAO_Expression_Type | expr_type (void) const |
Return the expression type represented by this node. | |
TAO_Constraint * | operand (void) |
Private Member Functions | |
TAO_Unary_Constraint (const TAO_Unary_Constraint &) | |
TAO_Unary_Constraint & | operator= (const TAO_Unary_Constraint &) |
Private Attributes | |
TAO_Expression_Type | op_ |
The operator type. | |
TAO_Constraint * | operand_ |
The operand of the expression. |
TAO_Unary_Constraint represents an operation with only one operand.
TAO_Unary_Constraint::TAO_Unary_Constraint | ( | TAO_Expression_Type | op_type, |
TAO_Constraint * | operand | ||
) |
TAO_Unary_Constraint::~TAO_Unary_Constraint | ( | void | ) | [virtual] |
TAO_Unary_Constraint::TAO_Unary_Constraint | ( | const TAO_Unary_Constraint & | ) | [private] |
int TAO_Unary_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_Unary_Constraint::expr_type | ( | void | ) | const [inline, virtual] |
Return the expression type represented by this node.
Implements TAO_Constraint.
TAO_Constraint * TAO_Unary_Constraint::operand | ( | void | ) |
TAO_Unary_Constraint& TAO_Unary_Constraint::operator= | ( | const TAO_Unary_Constraint & | ) | [private] |
TAO_Expression_Type TAO_Unary_Constraint::op_ [private] |
The operator type.
TAO_Constraint* TAO_Unary_Constraint::operand_ [private] |
The operand of the expression.