xapian-core
1.4.24
|
Virtual base class for key making functors. More...
#include <keymaker.h>
Public Member Functions | |
KeyMaker () | |
Default constructor. | |
virtual std::string | operator() (const Xapian::Document &doc) const =0 |
Build a key string for a Document. | |
virtual | ~KeyMaker () |
Virtual destructor, because we have virtual methods. | |
KeyMaker * | release () |
Start reference counting this object. | |
const KeyMaker * | release () const |
Start reference counting this object. | |
Virtual base class for key making functors.
|
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.
|
inline |
|
inline |