Public Member Functions
|PassiveProjectionTree (PathEnvironment *_penv)|
|void||registerPath (PathExpression *path)|
|Adds a path to the passive projection tree. |
|void||print (OutputStream &dos)|
|Prints ths passive projection tree node. |
|PassiveProjectionTreeNode *||getRootNode ()|
|Returns the root node of the PassiveProjectionTree. |
|PathEnvironment *||getPathEnv ()|
|Returns the path environment. |
|The root node of the tree. |
|The path environment. |
The passive projection tree is kept up to avoid the interleaving of path steps that have been optimized away. Basically, each node represents a single path step, and each path from the root describes a complete path. Nodes matched on this path during preprojection must not be interleaved.
|PathEnvironment * PassiveProjectionTree::getPathEnv||(||)||
Returns the path environment.
The path environment stores variable-to-path mappings.
|PathEnvironment*||Pointer to the PathEnvironment object.|
Referenced by DependencyTuple::registerToPassiveProjectionTree().
|PassiveProjectionTreeNode * PassiveProjectionTree::getRootNode||(||)||
Returns the root node of the PassiveProjectionTree.
The root node of the PassiveProjectionTree corresponds to the virtual XML document root node.
|PassiveProjectionTreeNode*||Pointer to the root node of PassiveProjectionTree.|
|void PassiveProjectionTree::print||(||OutputStream &||dos||)|
Prints ths passive projection tree node.
This method is for debug purposes only.
|[in]||dos||Reference to the (debug) OutputStream.|
Referenced by Executor::buildProjectionTree().
|void PassiveProjectionTree::registerPath||(||PathExpression *||path||)|
Adds a path to the passive projection tree.
The nodes of the path are inserted at the correct positions.
|[in]||path||The path to be registered.|