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 IntIndexer::encode char *  buf  )  const [virtual]
 

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

Implements Tagcoll::MMapIndexer.

int IntIndexer::encodedSize  )  const [virtual]
 

Return the size of the encoded index data.

Implements Tagcoll::MMapIndexer.

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

Store the key->val mapping into the indexer.


The documentation for this class was generated from the following files:
Generated on Mon Jun 19 18:14:05 2006 for libtagcoll by  doxygen 1.4.6