Xapian::KeyMaker Class Reference

Virtual base class for key making functors. More...

Inheritance diagram for Xapian::KeyMaker:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual std::string operator() (const Xapian::Document &doc) const =0
 This method takes a Document object and builds a key string from it.
virtual ~KeyMaker ()
 Virtual destructor, because we have virtual methods.


Detailed Description

Virtual base class for key making functors.


Constructor & Destructor Documentation

virtual Xapian::KeyMaker::~KeyMaker (  )  [virtual]

Virtual destructor, because we have virtual methods.


Member Function Documentation

virtual std::string Xapian::KeyMaker::operator() ( const Xapian::Document doc  )  const [pure virtual]

This method takes a Document object and builds a key string from it.

These keys are then used for ordering or collapsing matching documents.

Implemented in Xapian::MultiValueKeyMaker, and Xapian::MultiValueSorter.


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

Documentation for Xapian (version 1.2.4).
Generated on 19 Dec 2010 by Doxygen 1.5.9.