TAO_CosTrader 4.0.0
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
TAO_Noop_Constraint Class Reference

A node that represents an operation with no operands. More...

#include <Constraint_Nodes.h>

Inheritance diagram for TAO_Noop_Constraint:
Inheritance graph
[legend]
Collaboration diagram for TAO_Noop_Constraint:
Collaboration graph
[legend]

Public Member Functions

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

Private Attributes

TAO_Expression_Type type_
 

Detailed Description

A node that represents an operation with no operands.

Constructor & Destructor Documentation

◆ TAO_Noop_Constraint()

TAO_Noop_Constraint::TAO_Noop_Constraint ( TAO_Expression_Type type)
inline

Member Function Documentation

◆ accept()

int TAO_Noop_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_Noop_Constraint::expr_type ( ) const
inlinevirtual

Return the expression type represented by this node.

Implements TAO_Constraint.

Member Data Documentation

◆ type_

TAO_Expression_Type TAO_Noop_Constraint::type_
private

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