xapian-core
1.4.26
|
Base class for value range processors. More...
#include <queryparser.h>
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. | |
ValueRangeProcessor * | release () |
Start reference counting this object. | |
const ValueRangeProcessor * | release () const |
Start reference counting this object. | |
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::StringValueRangeProcessor, Xapian::DateValueRangeProcessor, and Xapian::NumberValueRangeProcessor.
|
inline |
Start reference counting this object.
You can hand ownership of a dynamically allocated ValueRangeProcessor object to Xapian by calling release() and then passing the object to a Xapian method. Xapian will arrange to delete the object once it is no longer required.
|
inline |
Start reference counting this object.
You can hand ownership of a dynamically allocated ValueRangeProcessor object to Xapian by calling release() and then passing the object to a Xapian method. Xapian will arrange to delete the object once it is no longer required.