Public Methods |
| TAO_Binary_Constraint (TAO_Expression_Type op_type, TAO_Constraint *left, TAO_Constraint *right) |
virtual int | accept (TAO_Constraint_Visitor *visitor) |
| 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. More...
|
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...
|
Static Public Methods |
int | visit_or (TAO_Constraint_Visitor *, TAO_Binary_Constraint *) |
int | visit_and (TAO_Constraint_Visitor *, TAO_Binary_Constraint *) |
int | visit_less_than (TAO_Constraint_Visitor *, TAO_Binary_Constraint *) |
int | visit_less_than_equal (TAO_Constraint_Visitor *, TAO_Binary_Constraint *) |
int | visit_greater_than (TAO_Constraint_Visitor *, TAO_Binary_Constraint *) |
int | visit_greater_than_equal (TAO_Constraint_Visitor *, TAO_Binary_Constraint *) |
int | visit_equal (TAO_Constraint_Visitor *, TAO_Binary_Constraint *) |
int | visit_not_equal (TAO_Constraint_Visitor *, TAO_Binary_Constraint *) |
int | visit_add (TAO_Constraint_Visitor *, TAO_Binary_Constraint *) |
int | visit_sub (TAO_Constraint_Visitor *, TAO_Binary_Constraint *) |
int | visit_mult (TAO_Constraint_Visitor *, TAO_Binary_Constraint *) |
int | visit_div (TAO_Constraint_Visitor *, TAO_Binary_Constraint *) |
int | visit_twiddle (TAO_Constraint_Visitor *, TAO_Binary_Constraint *) |
int | visit_in (TAO_Constraint_Visitor *, TAO_Binary_Constraint *) |
Private Methods |
| 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_ |