Tagcoll::IntIndexer Class Reference

Creates an on-disk index to use for IntIndex. More...

#include <IntIndex.h>

Inheritance diagram for Tagcoll::IntIndexer:

Inheritance graph
[legend]
Collaboration diagram for Tagcoll::IntIndexer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void map (unsigned int key, int val)
 Store the key->val mapping into the indexer.
virtual int encodedSize () const
 Return the size of the encoded index data.
virtual void encode (char *buf) const
 Write the index data in the given buffer, which should be at least encodedSize bytes.

Detailed Description

Creates an on-disk index to use for IntIndex.


Member Function Documentation

void Tagcoll::IntIndexer::map ( unsigned int  key,
int  val 
) [inline]

Store the key->val mapping into the indexer.

int IntIndexer::encodedSize (  )  const [virtual]

Return the size of the encoded index data.

Implements Tagcoll::MMapIndexer.

void IntIndexer::encode ( char *  buf  )  const [virtual]

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

Implements Tagcoll::MMapIndexer.


The documentation for this class was generated from the following files:
Generated on Sat Jan 17 04:45:27 2009 for libtagcoll by  doxygen 1.5.1