TAO_CosTrader  2.2.0
 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. More...
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. More...
 The operand of the expression. More...

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  )
TAO_Unary_Constraint::TAO_Unary_Constraint ( const TAO_Unary_Constraint )

Member Function Documentation

int TAO_Unary_Constraint::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.

Implements TAO_Constraint.

virtual TAO_Expression_Type TAO_Unary_Constraint::expr_type ( void  ) const

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 )

Member Data Documentation

TAO_Expression_Type TAO_Unary_Constraint::op_

The operator type.

TAO_Constraint* TAO_Unary_Constraint::operand_

The operand of the expression.

The documentation for this class was generated from the following files: