Tagcoll::MMapIndexer Class Reference

Interface for indexers. More...

#include <MMapIndex.h>

Inheritance diagram for Tagcoll::MMapIndexer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~MMapIndexer ()
virtual int encodedSize () const=0
 Return the size of the encoded index data (in bytes).
virtual void encode (char *buf) const=0
 Write the index data in the given buffer, which should be at least encodedSize bytes.

Detailed Description

Interface for indexers.


Constructor & Destructor Documentation

virtual Tagcoll::MMapIndexer::~MMapIndexer (  )  [inline, virtual]


Member Function Documentation

virtual int Tagcoll::MMapIndexer::encodedSize (  )  const [pure virtual]

Return the size of the encoded index data (in bytes).

Implemented in Tagcoll::IntIndexer, and Tagcoll::StringIndexer.

virtual void Tagcoll::MMapIndexer::encode ( char *  buf  )  const [pure virtual]

Write the index data in the given buffer, which should be at least encodedSize bytes.

Implemented in Tagcoll::IntIndexer, and Tagcoll::StringIndexer.


The documentation for this class was generated from the following file:
Generated on Sat Jan 17 03:39:34 2009 for libtagcoll by  doxygen 1.5.1