TAO_CosTrader  2.1.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all 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
Collaboration diagram for TAO_Unary_Constraint:
Collaboration graph

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)
 
- Public Member Functions inherited from TAO_Constraint
virtual ~TAO_Constraint (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
inlinevirtual

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: