libyui  3.0.10
YRpmGroupsTree Class Reference

#include <YRpmGroupsTree.h>

Inheritance diagram for YRpmGroupsTree:
Collaboration diagram for YRpmGroupsTree:

List of all members.

Public Member Functions

 YRpmGroupsTree ()
virtual ~YRpmGroupsTree ()
YStringTreeItemaddRpmGroup (const std::string &rpmGroup)
std::string rpmGroup (const YStringTreeItem *node)
std::string translatedRpmGroup (const YStringTreeItem *node)
void addFallbackRpmGroups ()

Detailed Description

Efficient storage for RPM group tags

Definition at line 35 of file YRpmGroupsTree.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 33 of file YRpmGroupsTree.cc.

Destructor.

Definition at line 41 of file YRpmGroupsTree.cc.


Member Function Documentation

Add a predefined set of RPM groups

Definition at line 273 of file YRpmGroupsTree.cc.

Here is the call graph for this function:

YStringTreeItem* YRpmGroupsTree::addRpmGroup ( const std::string &  rpmGroup) [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.

Here is the call graph for this function:

std::string YRpmGroupsTree::rpmGroup ( const YStringTreeItem node) [inline]

Returns the complete (untranslated) RPM group tag string for 'node'.

Definition at line 62 of file YRpmGroupsTree.h.

Here is the call graph for this function:

std::string YRpmGroupsTree::translatedRpmGroup ( const YStringTreeItem node) [inline]

Returns the complete translated RPM group tag string for 'node'.

Definition at line 68 of file YRpmGroupsTree.h.

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Friends