|
Public Member Functions |
| Tags (Converter< ITEM, std::string > &fromitem, Converter< std::string, ITEM > &toitem, bool editable=false) |
| Create a new accessor for the Debtags database.
|
| ~Tags () |
void | savePatch () |
| Save in the state storage directory a patch that can be used to turn the system database into the collection given.
|
void | savePatch (const PatchList< ITEM, Tag > &patch) |
| Save in the state storage directory a patch to turn the system database into the collection given.
|
void | sendPatch () |
| Send to the central archive a patch that can be used to turn the system database into the collection given.
|
void | sendPatch (const PatchList< ITEM, Tag > &patch) |
| Send the given patch to the central archive.
|
void | outputSystem (Tagcoll::Consumer< std::string, std::string > &cons) |
| Output the current Debian tags database to a TagcollConsumer.
|
void | outputSystem (Tagcoll::Consumer< ITEM, Tag > &cons) |
| Output the current Debian tags database to a TagcollConsumer.
|
void | outputPatched (Tagcoll::Consumer< std::string, std::string > &cons) |
| Output the current Debian tags database, patched with local patch, to a TagcollConsumer.
|
void | outputPatched (Tagcoll::Consumer< ITEM, Tag > &cons) |
| Output the current Debian tags database, patched with local patch, to a TagcollConsumer.
|
|
const Vocabulary & | vocabulary () const |
| Access the vocabulary.
|
Vocabulary & | vocabulary () |
| Access the vocabulary.
|
Static Public Member Functions |
static bool | hasTagDatabase () |
| Check if the tag database has been created (i.e.
|
Protected Attributes |
Vocabulary | voc |
Converter< ITEM, std::string > & | fromitem |
Converter< Tag, std::string > | fromtag |
Converter< std::string, ITEM > & | toitem |
Converter< std::string, Tag > | totag |