Virtual base class for key making functors. More...
Public Member Functions | |
KeyMaker () | |
Default constructor. | |
virtual std::string | operator() (const Xapian::Document &doc) const =0 |
Build a key string for a Document. More... | |
virtual | ~KeyMaker () |
Virtual destructor, because we have virtual methods. More... | |
KeyMaker * | release () |
const KeyMaker * | release () const |
Virtual base class for key making functors.
|
virtual |
Virtual destructor, because we have virtual methods.
|
pure virtual |
Build a key string for a Document.
These keys can be used for sorting or collapsing matching documents.
doc | Document object to build a key for. |
Implemented in Xapian::LatLongDistanceKeyMaker, and Xapian::MultiValueKeyMaker.