Xapian::ValueRangeProcessor Struct Reference

Base class for value range processors. More...

#include <queryparser.h>

Inheritance diagram for Xapian::ValueRangeProcessor:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~ValueRangeProcessor ()
 Destructor.
virtual Xapian::valueno operator() (std::string &begin, std::string &end)=0
 See if <begin>.

Detailed Description

Base class for value range processors.

Definition at line 87 of file queryparser.h.


Constructor & Destructor Documentation

ValueRangeProcessor::~ValueRangeProcessor (  )  [virtual]

Destructor.

Definition at line 57 of file queryparser.cc.


Member Function Documentation

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

See if <begin>.

.<end> is a valid value range.

If this ValueRangeProcessor recognises <begin>..<end> it returns the value number of range filter on. Otherwise it returns Xapian::BAD_VALUENO.

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


The documentation for this struct was generated from the following files:
Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.