Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

YRpmGroupsTree Class Reference

Efficient storage for RPM group tags. More...

#include <YRpmGroupsTree.h>

Inheritance diagram for YRpmGroupsTree:

YStringTree 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.


Constructor & Destructor Documentation

YRpmGroupsTree::YRpmGroupsTree  ) 
 

Constructor.

YRpmGroupsTree::~YRpmGroupsTree  )  [virtual]
 

Destructor.


Member Function Documentation

void YRpmGroupsTree::addFallbackRpmGroups  ) 
 

Add a predefined set of RPM groups

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.

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

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

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

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


The documentation for this class was generated from the following files:
Generated on Thu Feb 23 23:56:11 2006 for liby2util by doxygen 1.3.6