Xapian: API Documentation: xapian-core: Xapian::KeyMaker Class Reference

# Xapian::KeyMaker Class Reference

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

Inheritance diagram for Xapian::KeyMaker:

[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:

- xapian/keymaker.h