#include <ZTBSpec.h>
Public Member Functions | |
Criterion (const ZTuplePropName &iPropName, const Comparator &iComparator, const ZTupleValue &iTV) | |
The most general constructor, taking explicit property name, comparator and value. | |
Criterion (const ZTuplePropName &iPropName) | |
Equivalent to Criterion(iPropName, ZTBSpec::eRel_Has). | |
Criterion (const ZTuplePropName &iPropName, ZType iType) | |
Equivalent to Criterion(iPropName, ZTBSpec::eRel_HasofType, iType). | |
Criterion (const ZTuplePropName &iPropName, ERel iRel, const ZTupleValue &iTV) | |
Equivalent to Criterion(iPropName, ZTBSpec::Comparator(iRel), iTV). | |
Criterion (const ZTuplePropName &iPropName, ERel iRel, int iStrength, const ZTupleValue &iTV) | |
Equivalent to Criterion(iPropName, ZTBSpec::Comparator(iRel, iStrength), iTV). | |
ZTuple | AsTuple () const |
Returns a tuple-ized form of the Criterion. | |
bool | Matches (const ZTuple &iTuple) const |
Return true if iTuple satisfies the criterion. | |
Comparison, to facilitate use as keys in associative containers. |
Criterion specifies a the name of a property to be examined, and the ZTBSpec::Comparator to be used to make that examination.