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

TreeItem.h File Reference

#include <string>

Go to the source code of this file.

Classes

class  TreeItem
 Template class for tree items that can handle tree children in a generic way - firstChild(), next() and parent(). Each item stores one value of type 'PAYLOAD'.

class  SortedTreeItem
 Template class for tree items that maintain sort order.


Functions

template<class ITEM, class PAYLOAD> ITEM * findDirectChild (ITEM *item, PAYLOAD searchVal)


Function Documentation

template<class ITEM, class PAYLOAD>
ITEM* findDirectChild ITEM *  item,
PAYLOAD  searchVal
[inline]
 

Find a direct child ( i.e., non-recursive ) with value "searchVal". Returns 0 if there is no such child.


Generated on Fri Nov 9 18:15:23 2007 for yast2-core by doxygen 1.3.6