CQueryTreeNode Class

# CQueryTreeNode Class Reference

[CADIHash.h Index] [CADIHash.h Hierarchy]

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

`#include <../libInvertedFile/include/CQueryTreeNode.h>`

Inherits: CMagic

## Public Members

- CQueryTreeNode ()
- ~CQueryTreeNode ()
- void configure (list<pair<string,string> >, CAccessorCollection& inAccessors)
- virtual CXMLElement* query (const CXMLElement& inQuery)
- virtual CIDRelevanceLevelPairList* fastQuery (const CXMLElement& inQuery, int inNumberOfInterestingImages, double inDifferenceToBest)
- void addChild (CQueryTreeNode* inChild, double inWeight=1)

## Detailed Description

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

## CQueryTreeNode()

Construct this

## ~CQueryTreeNode()

Destruct this: delete all the children of this

## void configure(list<pair<string,string> >, CAccessorCollection& inAccessors)

Configure this. This means:

## virtual CXMLElement* query(const CXMLElement& inQuery)

do a query

## virtual CIDRelevanceLevelPairList* fastQuery(const CXMLElement& inQuery, int inNumberOfInterestingImages, double inDifferenceToBest)

instead of URL/RelevanceLevel pairs

## void addChild(CQueryTreeNode* inChild, double inWeight=1)

instead of URL/RelevanceLevel pairs

| Kdoc