#include <sorter.h>
Inheritance diagram for Xapian::Sorter:
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. |
Definition at line 33 of file sorter.h.
Xapian::Sorter::~Sorter | ( | ) | [virtual] |
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.