ept::debtags::Vocabulary::Vocabulary::FacetIndex Class Reference

#include <vocabulary.h>

List of all members.

Classes

struct  Item

Public Member Functions

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

Protected Member Functions

Itemitem (int id) const


Constructor & Destructor Documentation

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

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


Member Function Documentation

int ept::debtags::Vocabulary::Vocabulary::FacetIndex::firsttag ( int  id  )  const [inline]

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

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

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

int ept::debtags::Vocabulary::Vocabulary::FacetIndex::lasttag ( int  id  )  const [inline]

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

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

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

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


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

Generated on Tue Feb 10 11:23:22 2009 for libept by  doxygen 1.5.8