|
libyui
2.42.6
|
#include <YRpmGroupsTree.h>


Public Member Functions | |
| YRpmGroupsTree () | |
| virtual | ~YRpmGroupsTree () |
| YStringTreeItem * | addRpmGroup (const std::string &rpmGroup) |
| std::string | rpmGroup (const YStringTreeItem *node) |
| std::string | translatedRpmGroup (const YStringTreeItem *node) |
| void | addFallbackRpmGroups () |
Public Member Functions inherited from YStringTree | |
| YStringTree (const char *textdomain) | |
| virtual | ~YStringTree () |
| YStringTreeItem * | addBranch (const std::string &content, char delimiter=0, YStringTreeItem *parent=0) |
| std::string | origPath (const YStringTreeItem *item, char delimiter, bool startWithDelimiter=true) |
| std::string | translatedPath (const YStringTreeItem *item, char delimiter, bool startWithDelimiter=true) |
| YTransText | path (const YStringTreeItem *item, char delimiter, bool startWithDelimiter=true) |
| void | logTree () |
| YStringTreeItem * | root () const |
| const char * | textdomain () const |
| void | setTextdomain (const char *domain) |
| std::string | translate (const std::string &orig) |
Additional Inherited Members | |
Protected Member Functions inherited from YStringTree | |
| std::string | completePath (const YStringTreeItem *item, bool translated, char delimiter, bool startWithDelimiter) |
| void | logBranch (YStringTreeItem *branch, std::string indentation) |
Protected Attributes inherited from YStringTree | |
| YStringTreeItem * | _root |
| std::string | _textdomain |
Efficient storage for RPM group tags
Definition at line 35 of file YRpmGroupsTree.h.
| YRpmGroupsTree::YRpmGroupsTree | ( | ) |
Constructor.
Definition at line 33 of file YRpmGroupsTree.cc.
|
virtual |
Destructor.
Definition at line 41 of file YRpmGroupsTree.cc.
| void YRpmGroupsTree::addFallbackRpmGroups | ( | ) |
Add a predefined set of RPM groups
Definition at line 273 of file YRpmGroupsTree.cc.

|
inline |
Insert an RPM group into this tree if not already present. Splits the RPM group string ("abc/def/ghi") and creates tree items for each level as required. Returns the tree entry for this RPM group.
Definition at line 56 of file YRpmGroupsTree.h.

|
inline |
Returns the complete (untranslated) RPM group tag string for 'node'.
Definition at line 62 of file YRpmGroupsTree.h.

|
inline |
Returns the complete translated RPM group tag string for 'node'.
Definition at line 68 of file YRpmGroupsTree.h.
