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. More... | |
virtual CXMLElement * | query (const CXMLElement &inQuery) |
do a query More... | |
virtual CIDRelevanceLevelPairList * | fastQuery (const CXMLElement &inQuery, int inNumberOfInterestingImages, double inDifferenceToBest) |
a query which returns ID/RelevanceLevel pairs instead of instead of URL/RelevanceLevel pairs More... | |
void | addChild (CQueryTreeNode *inChild, double inWeight=1) |
a query which returns ID/RelevanceLevel pairs instead of instead of URL/RelevanceLevel pairs More... | |
![]() | |
void | check () const |
This function checks the magic number of this and asserts to zero, if something is wrong, if things are ok, this function keeps quiet. | |
void | checkNPrint () const |
as check(), but it also prints a small message to cout, saying that the check worked. | |
CMagic () | |
sets the magic number to 42 | |
~CMagic () | |
sets the magic number to another value (36) | |
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 |
a query which returns ID/RelevanceLevel pairs instead of instead of URL/RelevanceLevel pairs
|
virtual |
do a query