CQueryParadigmMatcher Class Reference

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


More...

#include <../libInvertedFile/include/CQueryParadigmMatcher.h>

Inherits: binary_functionCXMLElement, CXMLElement>

Public Members

Protected Members


bool operator()(const CXMLElement.html">CXMLElement& inQuery,const CXMLElement.html">CXMLElement& inResult)

This function gives back, if the inQuery matches inResult.

Both parameters are elements of type query-paradigm-list

inQuery matches inResult, if one of the children (a query paradigm) of inQuery matches one of the children (also a query paradigm) of inResult.

bool matches(const CXMLElement.html">CXMLElement& inQuery,const CXMLElement.html">CXMLElement& inResult)

Two XMLElements of type query-paradigm match,if the intersection of their attribute sets is identical.

I.e.: If inQuery contains a1="x" a2=y", inResult with a1="x" a3="z" would match, because the intersection of the attribute sets is

a1="x" and a1="x" for both inQuery and inResult.

query-paradigm a1="x" query-paradigm a2="x"

would also match,

query-paradigm a1="x" a3="x" query-paradigm a1="y"

would not.


Documentation generated by muellerw@pc7170 on Son Okt 8 16:04:40 CEST 2000
Kdoc