TAO_CosTrader
2.1.2
|
TAO_Interpreter is the superclass for all interpreters. Its build tree method invokes the yacc parser to parse a constraint or preference string. More...
#include <Interpreter.h>
Protected Member Functions | |
TAO_Interpreter (void) | |
Constructor. | |
~TAO_Interpreter (void) | |
Destructor. | |
int | build_tree (const char *preferences) |
Static Protected Member Functions | |
static int | is_empty_string (const char *str) |
Protected Attributes | |
TAO_Constraint * | root_ |
Static Private Attributes | |
static TAO_SYNCH_MUTEX | parserMutex__ |
This mutex protects the <build_tree> method from reentrance. |
TAO_Interpreter is the superclass for all interpreters. Its build tree method invokes the yacc parser to parse a constraint or preference string.
|
protected |
Constructor.
|
protected |
Destructor.
|
protected |
Using the Yacc generated parser, construct an expression tree representing <constraints> from the tokens returned by it.
|
staticprotected |
|
staticprivate |
This mutex protects the <build_tree> method from reentrance.
|
protected |
The root of the expression tree, not equal to null if build_tree successfully builds a tree from the constraints.