|
Public Member Functions |
void | read (Tagcoll::ParserInput &input) throw (Tagcoll::ParserException) |
| Parse and import the vocabulary from `input', merging the data with the previously imported ones.
|
void | write (const std::string &fname) throw (Tagcoll::SystemException) |
| Write the vocabulary data to the given file.
|
void | write (FILE *out) throw (Tagcoll::SystemException) |
| Write the vocabulary data to the given output stream.
|
void | writeIndex (const std::string &fname, long base_ofs=0) throw (Tagcoll::SystemException) |
| Write the vocabulary index to the given file.
|
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'.
|
Protected Member Functions |
FacetData & | obtainFacet (const std::string &name) throw () |
TagData & | obtainTag (const std::string &fullname) throw () |
Protected Attributes |
std::map< std::string, FacetData > | facets |
Classes |
class | FacetData |
class | TagData |