#include <IntIndex.h>
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. |
void Tagcoll::IntIndexer::map | ( | unsigned int | key, | |
int | val | |||
) | [inline] |
Store the key->val mapping into the indexer.
int IntIndexer::encodedSize | ( | ) | const [virtual] |
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.