#include <vocabularymerger.h>
|
| | VocabularyMerger () |
| |
| bool | empty () const |
| | Check if there is any data in the merged vocabulary. More...
|
| |
| void | read (tagcoll::input::Input &input) |
| | Parse and import the vocabulary from `input', merging the data with the previously imported ones. More...
|
| |
| void | write (const std::string &fname) |
| | Write the vocabulary data to the given file. More...
|
| |
| void | write (FILE *out) |
| | Write the vocabulary data to the given output stream. More...
|
| |
const
tagcoll::diskindex::MMapIndexer & | facetIndexer () const |
| | Get the facet indexer. More...
|
| |
const
tagcoll::diskindex::MMapIndexer & | tagIndexer () const |
| | Get the tag indexer. More...
|
| |
| bool | hasFacet (const std::string &name) const |
| | Check if the vocabulary contains the facet `name'. More...
|
| |
| bool | hasTag (const std::string &fullname) const |
| | Check if the vocabulary contains the tag `fullname'. More...
|
| |
| int | tagID (const std::string &fullname) const |
| | Return the ID for the given tag (or -1 if not found) More...
|
| |
| std::set< std::string > | tagNames () const |
| | Return a set with all tag names. More...
|
| |
| ept::debtags::VocabularyMerger::VocabularyMerger |
( |
| ) |
|
|
inline |
| bool ept::debtags::VocabularyMerger::empty |
( |
| ) |
const |
|
inline |
Check if there is any data in the merged vocabulary.
References facets.
| const tagcoll::diskindex::MMapIndexer& ept::debtags::VocabularyMerger::facetIndexer |
( |
| ) |
const |
|
inline |
| bool ept::debtags::VocabularyMerger::hasFacet |
( |
const std::string & |
name | ) |
const |
|
inline |
Check if the vocabulary contains the facet `name'.
References facets.
| bool ept::debtags::VocabularyMerger::hasTag |
( |
const std::string & |
fullname | ) |
const |
Check if the vocabulary contains the tag `fullname'.
| void ept::debtags::VocabularyMerger::read |
( |
tagcoll::input::Input & |
input | ) |
|
| int ept::debtags::VocabularyMerger::tagID |
( |
const std::string & |
fullname | ) |
const |
| const tagcoll::diskindex::MMapIndexer& ept::debtags::VocabularyMerger::tagIndexer |
( |
| ) |
const |
|
inline |
| std::set< std::string > ept::debtags::VocabularyMerger::tagNames |
( |
| ) |
const |
| void ept::debtags::VocabularyMerger::write |
( |
const std::string & |
fname | ) |
|
| void ept::debtags::VocabularyMerger::write |
( |
FILE * |
out | ) |
|
Write the vocabulary data to the given output stream.
| std::map<std::string, FacetData> ept::debtags::VocabularyMerger::facets |
|
protected |
| int ept::debtags::VocabularyMerger::tagCount |
|
protected |
| TagIndexer ept::debtags::VocabularyMerger::tindexer |
|
protected |
The documentation for this class was generated from the following files: