TAO_CosTrader
2.0.8
|
TAO_Property_Constraint represents a property whose value is determined by the offer being evaluated. More...
#include <Constraint_Nodes.h>
Public Member Functions | |
TAO_Property_Constraint (const char *name) | |
virtual | ~TAO_Property_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. | |
const char * | name (void) const |
Returns the name of the property. | |
Private Member Functions | |
TAO_Property_Constraint (const TAO_Property_Constraint &) | |
TAO_Property_Constraint & | operator= (const TAO_Property_Constraint &) |
Private Attributes | |
char * | name_ |
The name of the property. |
TAO_Property_Constraint represents a property whose value is determined by the offer being evaluated.
TAO_Property_Constraint::TAO_Property_Constraint | ( | const char * | name | ) |
TAO_Property_Constraint::~TAO_Property_Constraint | ( | void | ) | [virtual] |
TAO_Property_Constraint::TAO_Property_Constraint | ( | const TAO_Property_Constraint & | ) | [private] |
int TAO_Property_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.
TAO_Expression_Type TAO_Property_Constraint::expr_type | ( | void | ) | const [virtual] |
Return the expression type represented by this node.
Implements TAO_Constraint.
const char * TAO_Property_Constraint::name | ( | void | ) | const |
Returns the name of the property.
TAO_Property_Constraint& TAO_Property_Constraint::operator= | ( | const TAO_Property_Constraint & | ) | [private] |
char* TAO_Property_Constraint::name_ [private] |
The name of the property.