#include <StringIndex.h>
Inheritance diagram for Tagcoll::StringIndexer:


Public Member Functions | |
| virtual std::string | operator() (const int &item) const |
| Convert a single item. | |
| virtual int | operator() (const std::string &item) const |
| Convert a single item. | |
| void | map (const std::string &str) |
| Store the key->val mapping into the indexer. | |
| int | encodedSize () const |
| Return the size of the encoded index data. | |
| void | encode (char *buf) const |
| Write the index data in the given buffer, which should be at least encodedSize bytes. | |
Protected Attributes | |
| std::vector< std::string > | data |
| virtual std::string Tagcoll::StringIndexer::operator() | ( | const int & | item | ) | const [inline, virtual] |
| int StringIndexer::operator() | ( | const std::string & | item | ) | const [virtual] |
| void StringIndexer::map | ( | const std::string & | str | ) |
Store the key->val mapping into the indexer.
| int StringIndexer::encodedSize | ( | ) | const [virtual] |
| void StringIndexer::encode | ( | char * | buf | ) | const [virtual] |
Write the index data in the given buffer, which should be at least encodedSize bytes.
Implements Tagcoll::MMapIndexer.
std::vector<std::string> Tagcoll::StringIndexer::data [protected] |
1.5.1