CQMultiple Class

# CQMultiple Class Reference

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

This is going to be one of our main building blocks More...

`#include <>`

Inherits: CQuery

## Public Members

- CQMultiple ()
- ~CQMultiple ()
- CQMultiple (CAccessorCollection& inAccessorCollection, CAlgorithm& inAlgorithm)
- virtual CIDRelevanceLevelPairList* fastQuery (const CXMLElement& inQuery, int inNumberOfInterestingImages, double inDifferenceToBest)
- virtual bool setAlgorithm (CAlgorithm& inAlgorithm)

## Protected Members

- void init ()

## CQMultiple()

default constructor

## ~CQMultiple()

we need to unregister the accessors used

## CQMultiple(CAccessorCollection& inAccessorCollection, CAlgorithm& inAlgorithm)

In fact, what we are doing here is to get ourselves an accessor ACURL2FTS to do a proper fastQuery

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

calls fastQuery for every child, merges the results

## virtual bool setAlgorithm(CAlgorithm& inAlgorithm)

set the Algorithm. same scheme as in setCollection

| Kdoc