Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TAO_Unary_Constraint Class Reference

TAO_Unary_Constraint represents an operation with only one operand. More...

#include <Constraint_Nodes.h>

Inheritance diagram for TAO_Unary_Constraint:

Inheritance graph
[legend]
Collaboration diagram for TAO_Unary_Constraint:

Collaboration graph
[legend]
List of all members.

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_Constraintoperand (void)

Private Member Functions

 TAO_Unary_Constraint (const TAO_Unary_Constraint &)
TAO_Unary_Constraintoperator= (const TAO_Unary_Constraint &)

Private Attributes

TAO_Expression_Type op_
 The operator type.
TAO_Constraintoperand_
 The operand of the expression.

Detailed Description

TAO_Unary_Constraint represents an operation with only one operand.


Constructor & Destructor Documentation

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]
 


Member Function Documentation

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]
 


Member Data Documentation

TAO_Expression_Type TAO_Unary_Constraint::op_ [private]
 

The operator type.

TAO_Constraint* TAO_Unary_Constraint::operand_ [private]
 

The operand of the expression.


The documentation for this class was generated from the following files:
Generated on Thu Feb 10 21:03:44 2005 for TAO_CosTrader by  doxygen 1.3.9.1