ept::debtags::Vocabulary::TagIndex Class Reference

#include <vocabulary.h>

List of all members.

Public Member Functions

 TagIndex ()
 TagIndex (const tagcoll::diskindex::MasterMMap &master, size_t idx)
size_t size () const
 Get the number of tags in the index.
size_t offset (int id) const
 Get the offset of the facet data in the vocabulary for this tag.
size_t size (int id) const
 Get the size of the facet data in the vocabulary for this tag.
int facet (int id) const
 Get the id of the facet for this tag.
const char * name (int id) const
 Get the name of this tag.
int id (const char *name) const
 Get the ID of the tag with this name.
int id (const std::string &name) const

Protected Member Functions

Itemitem (int id) const

Classes

struct  Item


Constructor & Destructor Documentation

ept::debtags::Vocabulary::TagIndex::TagIndex (  )  [inline]

ept::debtags::Vocabulary::TagIndex::TagIndex ( const tagcoll::diskindex::MasterMMap &  master,
size_t  idx 
) [inline]


Member Function Documentation

Item* ept::debtags::Vocabulary::TagIndex::item ( int  id  )  const [inline, protected]

size_t ept::debtags::Vocabulary::TagIndex::size (  )  const [inline]

Get the number of tags in the index.

size_t ept::debtags::Vocabulary::TagIndex::offset ( int  id  )  const [inline]

Get the offset of the facet data in the vocabulary for this tag.

size_t ept::debtags::Vocabulary::TagIndex::size ( int  id  )  const [inline]

Get the size of the facet data in the vocabulary for this tag.

int ept::debtags::Vocabulary::TagIndex::facet ( int  id  )  const [inline]

Get the id of the facet for this tag.

const char* ept::debtags::Vocabulary::TagIndex::name ( int  id  )  const [inline]

Get the name of this tag.

int ept::debtags::Vocabulary::TagIndex::id ( const char *  name  )  const

Get the ID of the tag with this name.

int ept::debtags::Vocabulary::TagIndex::id ( const std::string &  name  )  const [inline]


The documentation for this class was generated from the following files:
Generated on Fri Sep 14 23:15:40 2007 for libept by  doxygen 1.5.3