Xapian: API Documentation: xapian-core: Xapian::ValueRangeProcessor Struct Reference

# Xapian::ValueRangeProcessor Struct Reference

Base class for value range processors. More...

Inheritance diagram for Xapian::ValueRangeProcessor:

[legend]

List of all members.

## Public Member Functions
virtual | ~ValueRangeProcessor ()
| Destructor.
virtual Xapian::valueno | operator() (std::string &begin, std::string &end)=0
| Check for a valid range of this type.

## Detailed Description

Base class for value range processors.

## Member Function Documentation

virtual Xapian::valueno Xapian::ValueRangeProcessor::operator() | ( | std::string & | begin,
|  | std::string & | end |
| ) |  |  | `[pure virtual]`

Check for a valid range of this type.

If this ValueRangeProcessor recognises BEGIN..END it returns the value number of range filter on. Otherwise it returns Xapian::BAD_VALUENO.

Implemented in Xapian::StringValueRangeProcessor, Xapian::DateValueRangeProcessor, and Xapian::NumberValueRangeProcessor.

The documentation for this struct was generated from the following file:

- xapian/queryparser.h