System documentation of the GNU Image-Finding Tool

Public Member Functions | List of all members
CQueryTreeNode Class Reference

This class does nothing but wrap the current query interface in a way, that it can be used with CORBA. More...

#include <CQueryTreeNode.h>

Inheritance diagram for CQueryTreeNode:
CMagic

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 CXMLElementquery (const CXMLElement &inQuery)
 do a query More...
 
virtual CIDRelevanceLevelPairListfastQuery (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...
 
- Public Member Functions inherited from CMagic
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)
 

Detailed Description

This class does nothing but wrap the current query interface in a way, that it can be used with CORBA.

Member Function Documentation

§ addChild()

void CQueryTreeNode::addChild ( CQueryTreeNode inChild,
double  inWeight = 1 
)

a query which returns ID/RelevanceLevel pairs instead of instead of URL/RelevanceLevel pairs

§ configure()

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

§ fastQuery()

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

§ query()

virtual CXMLElement* CQueryTreeNode::query ( const CXMLElement inQuery)
virtual

do a query


The documentation for this class was generated from the following file:

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