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

#include <vocabulary.h>

List of all members.

Classes

struct  Item

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


Constructor & Destructor Documentation

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

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


Member Function Documentation

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

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

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

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

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

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

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

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


The documentation for this class was generated from the following files:

Generated on Tue Feb 10 11:21:46 2009 for libept by  doxygen 1.5.8