|
Public Member Functions |
| Vocabulary (const std::string &filename, const std::string &indexname) throw (Tagcoll::SystemException) |
| ~Vocabulary () throw () |
bool | hasFacet (const std::string &name) const throw () |
| Check if the vocabulary contains the facet `name'.
|
bool | hasTag (const std::string &fullname) const throw () |
| Check if the vocabulary contains the tag `fullname'.
|
Facet | getFacet (const std::string &name) const throw () |
| Return the facet with the given name.
|
Tag | getTag (const std::string &fillname) const throw () |
| Return the tag with the given full name.
|
Tagcoll::OpSet< Facet > | getFacets () const throw () |
| Return all the facets in the vocabulary.
|
Tagcoll::OpSet< Tag > | getTags () const throw () |
| Return all the tags in the vocabulary.
|
Tagcoll::OpSet< Tag > | getTags (const std::string &facetName) const throw () |
| Return the tags in the given facet.
|
Protected Attributes |
std::string | filename |
int | fd |
Tagcoll::TDBFile | db |
char * | vocdata |
off_t | vocdata_len |