This class builds and maintains a query tree. More...
#include <CQueryTreeBuilder.h>
Public Member Functions | |
pair< CQueryContainer *, CQueryTreeNode * > | buildQueryTree (CAlgorithm &inAlgorithm, CAccessorAdminCollection &inBaseConfiguration, CStaticQueryFactory &inBaseTypeFactory, CQueryContainer *inContainer=0) const |
Building a query tree out of the information we have gathered. | |
CQueryTreeNode * | getQueryByID (const string &inID) const |
Getting a node of the tree by its ID. |
This class builds and maintains a query tree.
pair<CQueryContainer*,CQueryTreeNode*> CQueryTreeBuilder::buildQueryTree | ( | CAlgorithm & | inAlgorithm, |
CAccessorAdminCollection & | inBaseConfiguration, | ||
CStaticQueryFactory & | inBaseTypeFactory, | ||
CQueryContainer * | inContainer = 0 |
||
) | const |
Building a query tree out of the information we have gathered.
true indicates success...
We do a post-order traversal of the tree of algorithms: At each level we construct the query of the children taking them as an argument for constructing the query of this.