TAO_CosTrader
2.1.9
|
TAO_Binary_Constraint represents an operation with left and right operands. More...
#include <Constraint_Nodes.h>
Public Member Functions | |
TAO_Binary_Constraint (TAO_Expression_Type op_type, TAO_Constraint *left, TAO_Constraint *right) | |
virtual int | accept (TAO_Constraint_Visitor *visitor) |
virtual | ~TAO_Binary_Constraint (void) |
virtual TAO_Expression_Type | expr_type (void) const |
Return the expression type represented by this node. More... | |
TAO_Constraint * | left_operand (void) const |
Return the left operand of the binary expression. More... | |
TAO_Constraint * | right_operand (void) const |
Return the right operand of the binary expression. More... | |
Public Member Functions inherited from TAO_Constraint | |
virtual | ~TAO_Constraint (void) |
Private Member Functions | |
TAO_Binary_Constraint (const TAO_Binary_Constraint &) | |
TAO_Binary_Constraint & | operator= (const TAO_Binary_Constraint &) |
Private Attributes | |
TAO_Expression_Type | op_ |
The operator type. More... | |
TAO_Constraint * | left_ |
The operands of the expression. More... | |
TAO_Constraint * | right_ |
TAO_Binary_Constraint represents an operation with left and right operands.
TAO_Binary_Constraint::TAO_Binary_Constraint | ( | TAO_Expression_Type | op_type, |
TAO_Constraint * | left, | ||
TAO_Constraint * | right | ||
) |
|
virtual |
|
private |
|
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.
|
inlinevirtual |
Return the expression type represented by this node.
Implements TAO_Constraint.
TAO_Constraint * TAO_Binary_Constraint::left_operand | ( | void | ) | const |
Return the left operand of the binary expression.
|
private |
TAO_Constraint * TAO_Binary_Constraint::right_operand | ( | void | ) | const |
Return the right operand of the binary expression.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
private |
The operands of the expression.
|
private |
The operator type.
|
private |