7 #ifndef __UNIHASHTREE_H 8 #define __UNIHASHTREE_H 10 #include "uniconfkey.h" 12 #include "wvscatterhash.h" 18 void*)> UniHashTreeBaseVisitor;
29 {
return &obj->
key(); }
33 typedef UniHashTreeBaseVisitor BaseVisitor;
34 typedef UniHashTreeBaseComparator BaseComparator;
53 static bool _recursivecompare(
55 const UniHashTreeBaseComparator &comparator);
57 static void _recursive_unsorted_visit(
59 const UniHashTreeBaseVisitor &visitor,
void *userdata,
60 bool preorder,
bool postorder);
86 #endif //__UNIHASHTREE_H UniHashTreeBase * xparent
Represents a UniConf key which is a path in a hierarchy structured much like the traditional Unix fil...
const UniConfKey & key() const
Returns the key field.
bool haschildren() const
Returns true if the node has children.