System documentation of the GNU Image-Finding Tool

CQueryTreeBuilder.h
1 // -*- mode: c++ -*-
2 #ifndef _CQUERYTREEBUILDER
3 #define _CQUERYTREEBUILDER
4 #include "libMRML/include/uses-declarations.h"
5 class CAlgorithm;
7 
8 
9 #include "libMRML/include/CMagic.h" // checking CQueryTreeNode
10 #include "libMRML/include/CQueryTreeNode.h"
11 #include "libMRML/include/CSelfDestroyPointer.h"
12 
18 class CQueryContainer:public map<string,CQueryTreeNode* >,public CMagic{
19 public:
23  CQueryTreeNode* getQueryByID(const string& inID)const;
24 };
25 
26 
31 public:
44  pair<CQueryContainer*,CQueryTreeNode*> buildQueryTree(CAlgorithm& inAlgorithm,
45  CAccessorAdminCollection& inBaseConfiguration,
46  CStaticQueryFactory& inBaseTypeFactory,
47  CQueryContainer* inContainer=0)const;
50  CQueryTreeNode* getQueryByID(const string& inID)const;
51 
52 };
53 
54 #endif
This class builds and maintains a query tree.
Definition: CQueryTreeBuilder.h:30
CQueryTreeNode * getQueryByID(const string &inID) const
Getting a node of the tree by its ID.
This class does nothing but wrap the current query interface in a way, that it can be used with CORBA...
Definition: CQueryTreeNode.h:24
An algorithm is a CXMLElement which is linked to a CSessionManager together they are able to build CQ...
Definition: CAlgorithm.h:43
A factory for base types of algorithms.
Definition: CStaticQueryFactory.h:38
A type helping in the translation from CAlgorithmID to CQuery*.
Definition: CQueryTreeBuilder.h:18
This is in fact a collection of collections.
Definition: CAccessorAdminCollection.h:39
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
Translate an CAlgorithmID to the corresponding CQueryTreeNode.
This is a simple class for debugging.
Definition: CMagic.h:12

Need for discussion? Want to contribute? Contact
help-gift@gnu.org Generated using Doxygen