|
libyui
3.4.2
|
Efficient storage for RPM group tags. More...
#include <YRpmGroupsTree.h>


Public Member Functions | |
| YRpmGroupsTree () | |
| Constructor. | |
| virtual | ~YRpmGroupsTree () |
| Destructor. | |
| YStringTreeItem * | addRpmGroup (const std::string &rpmGroup) |
| Insert an RPM group into this tree if not already present. More... | |
| std::string | rpmGroup (const YStringTreeItem *node) |
| Returns the complete (untranslated) RPM group tag string for 'node'. | |
| std::string | translatedRpmGroup (const YStringTreeItem *node) |
| Returns the complete translated RPM group tag string for 'node'. | |
| void | addFallbackRpmGroups () |
| Add a predefined set of RPM groups. | |
Public Member Functions inherited from YStringTree | |
| YStringTree (const char *textdomain) | |
| Constructor. More... | |
| virtual | ~YStringTree () |
| Destructor. | |
| YStringTreeItem * | addBranch (const std::string &content, char delimiter=0, YStringTreeItem *parent=0) |
| Add a unique new branch with text content 'content' to the tree, beginning at 'parent' (root if parent == 0). More... | |
| std::string | origPath (const YStringTreeItem *item, char delimiter, bool startWithDelimiter=true) |
| Construct a complete original path for the specified tree item. More... | |
| std::string | translatedPath (const YStringTreeItem *item, char delimiter, bool startWithDelimiter=true) |
| Construct a complete original path for the specified tree item. More... | |
| YTransText | path (const YStringTreeItem *item, char delimiter, bool startWithDelimiter=true) |
| Construct a complete path (both original and translated) for the specified tree item. More... | |
| void | logTree () |
| Debugging - dump the tree into the log file. | |
| YStringTreeItem * | root () const |
| Returns the root of the filter view tree. More... | |
| const char * | textdomain () const |
| Returns the textdomain used internally for translation of pathname components. | |
| void | setTextdomain (const char *domain) |
| Set the textdomain used internally for translation of pathname components. More... | |
| std::string | translate (const std::string &orig) |
| Translate message 'orig' using the internal textdomain. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from YStringTree | |
| std::string | completePath (const YStringTreeItem *item, bool translated, char delimiter, bool startWithDelimiter) |
| Construct a complete original or translated path for the specified tree item. More... | |
| void | logBranch (YStringTreeItem *branch, std::string indentation) |
| Debugging - dump one branch of the tree into the log file. | |
Protected Attributes inherited from YStringTree | |
| YStringTreeItem * | _root |
| std::string | _textdomain |
Efficient storage for RPM group tags.
Definition at line 35 of file YRpmGroupsTree.h.
|
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.
