25 #ifndef YRpmGroupsTree_h
26 #define YRpmGroupsTree_h
29 #include "YStringTree.h"
63 {
return origPath( node,
'/',
false ); }
79 #endif // YRpmGroupsTree_h
YRpmGroupsTree()
Constructor.
void addFallbackRpmGroups()
Add a predefined set of RPM groups.
std::string rpmGroup(const YStringTreeItem *node)
Returns the complete (untranslated) RPM group tag string for 'node'.
virtual ~YRpmGroupsTree()
Destructor.
Abstract base class for filter views with hierarchical filter criteria - e.g., RPM group tags,...
std::string translatedRpmGroup(const YStringTreeItem *node)
Returns the complete translated RPM group tag string for 'node'.
Efficient storage for RPM group tags.
std::string translatedPath(const YStringTreeItem *item, char delimiter, bool startWithDelimiter=true)
Construct a complete original path for the specified tree item.
YStringTreeItem * addRpmGroup(const std::string &rpmGroup)
Insert an RPM group into this tree if not already present.
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 paren...
Template class for tree items that maintain sort order.
std::string origPath(const YStringTreeItem *item, char delimiter, bool startWithDelimiter=true)
Construct a complete original path for the specified tree item.