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

#include <vocabulary.h>

List of all members.

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

Classes

struct  Item


Constructor & Destructor Documentation

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

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


Member Function Documentation

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

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

Get the number of facets in the index.

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

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

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

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

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

Get the id of the first tag for this facet.

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

Get the id of the last tag for this facet.

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

Get the name of this facet.

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

Get the ID of the facet with this name.

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


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