AuthorValueRangeProcessor Struct Reference

Inheritance diagram for AuthorValueRangeProcessor:

Inheritance graph
[legend]
Collaboration diagram for AuthorValueRangeProcessor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AuthorValueRangeProcessor ()
Xapian::valueno operator() (std::string &begin, std::string &end)
 Check for a valid range of this type.


Detailed Description

Definition at line 1702 of file queryparsertest.cc.


Constructor & Destructor Documentation

AuthorValueRangeProcessor::AuthorValueRangeProcessor (  )  [inline]

Definition at line 1703 of file queryparsertest.cc.


Member Function Documentation

Xapian::valueno AuthorValueRangeProcessor::operator() ( std::string &  begin,
std::string &  end 
) [inline, virtual]

Check for a valid range of this type.

Parameters:
[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.
Returns:
If this ValueRangeProcessor recognises the range BEGIN..END it returns the value slot number to range filter on. Otherwise it returns Xapian::BAD_VALUENO.

Implements Xapian::ValueRangeProcessor.

Definition at line 1705 of file queryparsertest.cc.

References Xapian::BAD_VALUENO, startswith(), and Xapian::Unicode::tolower().


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

Documentation for Xapian (version 1.2.8).
Generated on 14 Dec 2011 by Doxygen 1.5.9.