This class does nothing but wrap the current query interface in a way, that it can be used with CORBA. More...
#include <CQueryTreeNode.h>
Public Member Functions | |
| CQueryTreeNode () | |
| Construct this. | |
| ~CQueryTreeNode () | |
| Destruct this: delete all the children of this. | |
| void | configure (CXMLElement &inAlgorithm, CAccessorAdminCollection &inAccessors, CStaticQueryFactory &inBaseTypeFactory) |
| Configure this. | |
| virtual CXMLElement * | query (const CXMLElement &inQuery) |
| do a query | |
| virtual CIDRelevanceLevelPairList * | fastQuery (const CXMLElement &inQuery, int inNumberOfInterestingImages, double inDifferenceToBest) |
| a query which returns ID/RelevanceLevel pairs instead of instead of URL/RelevanceLevel pairs | |
| void | addChild (CQueryTreeNode *inChild, double inWeight=1) |
| a query which returns ID/RelevanceLevel pairs instead of instead of URL/RelevanceLevel pairs | |
This class does nothing but wrap the current query interface in a way, that it can be used with CORBA.
| void CQueryTreeNode::addChild | ( | CQueryTreeNode * | inChild, |
| double | inWeight = 1 |
||
| ) |
a query which returns ID/RelevanceLevel pairs instead of instead of URL/RelevanceLevel pairs
| void CQueryTreeNode::configure | ( | CXMLElement & | inAlgorithm, |
| CAccessorAdminCollection & | inAccessors, | ||
| CStaticQueryFactory & | inBaseTypeFactory | ||
| ) |
Configure this.
This means: create an object of a subclass of CQuery, and set its children
| virtual CIDRelevanceLevelPairList* CQueryTreeNode::fastQuery | ( | const CXMLElement & | inQuery, |
| int | inNumberOfInterestingImages, | ||
| double | inDifferenceToBest | ||
| ) | [virtual] |
a query which returns ID/RelevanceLevel pairs instead of instead of URL/RelevanceLevel pairs
| virtual CXMLElement* CQueryTreeNode::query | ( | const CXMLElement & | inQuery | ) | [virtual] |
do a query