Xapian::Sorter Class Reference

Virtual base class for sorter functor. More...

#include <sorter.h>

Inheritance diagram for Xapian::Sorter:

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 sort key from it.
virtual ~Sorter ()
 Virtual destructor, because we have virtual methods.

Detailed Description

Virtual base class for sorter functor.

Definition at line 33 of file sorter.h.


Constructor & Destructor Documentation

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

Virtual destructor, because we have virtual methods.

Definition at line 32 of file sorter.cc.


Member Function Documentation

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

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

Documents are then ordered by a string compare on the sort keys.

Implemented in Xapian::MultiValueSorter, and NeverUseMeSorter.


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