Base class for value range processors. More...
Public Member Functions | |
ValueRangeProcessor () | |
Default constructor. | |
virtual | ~ValueRangeProcessor () |
Destructor. | |
virtual Xapian::valueno | operator() (std::string &begin, std::string &end)=0 |
Check for a valid range of this type. More... | |
ValueRangeProcessor * | release () |
const ValueRangeProcessor * | release () const |
Base class for value range processors.
|
pure virtual |
Check for a valid range of this type.
[in,out] | begin | The start of the range as specified in the query string by the user. This parameter is a non-const reference so the ValueRangeProcessor can modify it to return the value to start the range with. |
[in,out] | end | The end of the range. This is also a non-const reference so it can be modified. |
Implemented in Xapian::NumberValueRangeProcessor, Xapian::DateValueRangeProcessor, and Xapian::StringValueRangeProcessor.