System documentation of the GNU Image-Finding Tool

Public Member Functions

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

List of all members.

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 CXMLElementquery (const CXMLElement &inQuery)
 do a query
virtual CIDRelevanceLevelPairListfastQuery (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

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

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


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