#include <string>
Go to the source code of this file.
Classes | |
class | TreeItem< PAYLOAD > |
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'. More... | |
class | SortedTreeItem< PAYLOAD > |
Template class for tree items that maintain sort order. More... | |
Functions | |
template<class ITEM , class PAYLOAD > | |
ITEM * | findDirectChild (ITEM *item, PAYLOAD searchVal) |
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.
References TreeItem< PAYLOAD >::firstChild(), TreeItem< PAYLOAD >::next(), and TreeItem< PAYLOAD >::value().