#include <ZTBSpec.h>
| Public Member Functions | |
| Comparator (ERel iRel, int iStrength) | |
| Comparator with relationship iRel and strength iStrength. | |
| Comparator (ERel iRel) | |
| Comparator with relationship iRel and strength 0. | |
| Comparison, to facilitate use as keys in associative containers. | |
| Public Attributes | |
| ERel | fRel | 
| The relationship. | |
| int | fStrength | 
| The strength to be used in applying that relationship. | |
Comparator describes the comparison to be made between a property of a candidate tuple and a ZTupleValue. The actual comparison is specified by a ZTBSpec::ERel, further qualified by an integer strength. The strength is used when comparing one string against another, for the relationships eRel_Less, eRel_LessEqual, eRel_Equal, eRel_GreaterEqual, eRel_Greater, eRel_StringContains and eRel_Regex.
The strength is used to initialize a ZTextCollator. Generally you'll be using strength 0, for exact string matching, or strength 1, for case and diacritic-insensitive matching.
 1.4.7
 1.4.7