TAO_CosTrader 3.1.4
Loading...
Searching...
No Matches
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
[legend]
Collaboration diagram for TAO_Unary_Constraint:
Collaboration graph
[legend]

Public Member Functions

 TAO_Unary_Constraint (TAO_Expression_Type op_type, TAO_Constraint *operand)
 
virtual ~TAO_Unary_Constraint ()
 
virtual int accept (TAO_Constraint_Visitor *visitor)
 
virtual TAO_Expression_Type expr_type () const
 Return the expression type represented by this node.
 
TAO_Constraintoperand ()
 
- Public Member Functions inherited from TAO_Constraint
virtual ~TAO_Constraint ()
 

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() [1/2]

TAO_Unary_Constraint::TAO_Unary_Constraint ( TAO_Expression_Type op_type,
TAO_Constraint * operand )

◆ ~TAO_Unary_Constraint()

TAO_Unary_Constraint::~TAO_Unary_Constraint ( )
virtual

◆ TAO_Unary_Constraint() [2/2]

TAO_Unary_Constraint::TAO_Unary_Constraint ( const TAO_Unary_Constraint & )
private

Member Function Documentation

◆ accept()

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.

◆ expr_type()

virtual TAO_Expression_Type TAO_Unary_Constraint::expr_type ( ) const
inlinevirtual

Return the expression type represented by this node.

Implements TAO_Constraint.

◆ operand()

TAO_Constraint * TAO_Unary_Constraint::operand ( )

◆ operator=()

TAO_Unary_Constraint & TAO_Unary_Constraint::operator= ( const TAO_Unary_Constraint & )
private

Member Data Documentation

◆ op_

TAO_Expression_Type TAO_Unary_Constraint::op_
private

The operator type.

◆ operand_

TAO_Constraint* TAO_Unary_Constraint::operand_
private

The operand of the expression.


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