Base class for range processors. More...
Inheritance diagram for Xapian::RangeProcessor:Public Member Functions | |
| RangeProcessor () | |
| Default constructor. | |
| RangeProcessor (Xapian::valueno slot_, const std::string &str_=std::string(), unsigned flags_=0) | |
| Constructor. | |
| virtual | ~RangeProcessor () |
| Destructor. | |
| virtual Xapian::Query | operator() (const std::string &begin, const std::string &end) |
| Check for a valid range of this type. | |
Base class for range processors.
|
inline |
Default constructor.
|
inline |
Constructor.
| slot_ | Which value slot to generate ranges over. |
| str_ | A string to look for to recognise values as belonging to this range (as a prefix by default, or as a suffix if flags Xapian::RP_SUFFIX is specified). |
| flags_ | Zero or more of the following flags, combined with bitwise-or:
|
|
virtual |
Check for a valid range of this type.
| begin | The start of the range as specified in the query string by the user. |
| end | The end of the range as specified in the query string by the user (empty string for no upper limit). |
Reimplemented in Xapian::NumberRangeProcessor, and Xapian::DateRangeProcessor.
Referenced by Xapian::QueryParser::add_valuerangeprocessor().