Definition at line 23 of file unihashtree.h.
Public Member Functions | |
~UniHashTreeBase () | |
const UniConfKey & | key () const |
Returns the key field. | |
bool | haschildren () const |
Returns true if the node has children. | |
Protected Types | |
typedef WvScatterHash< UniHashTreeBase, UniConfKey, Accessor > | Container |
typedef UniHashTreeBaseVisitor | BaseVisitor |
typedef UniHashTreeBaseComparator | BaseComparator |
Protected Member Functions | |
UniHashTreeBase (UniHashTreeBase *parent, const UniConfKey &key) | |
void | _setparent (UniHashTreeBase *parent) |
UniHashTreeBase * | _root () const |
UniConfKey | _fullkey (const UniHashTreeBase *ancestor=NULL) const |
UniHashTreeBase * | _find (const UniConfKey &key) const |
UniHashTreeBase * | _findchild (const UniConfKey &key) const |
Static Protected Member Functions | |
static bool | _recursivecompare (const UniHashTreeBase *a, const UniHashTreeBase *b, const UniHashTreeBaseComparator &comparator, void *userdata) |
static void | _recursive_unsorted_visit (const UniHashTreeBase *a, const UniHashTreeBaseVisitor &visitor, void *userdata, bool preorder, bool postorder) |
Protected Attributes | |
UniConfKey | xkey |
UniHashTreeBase * | xparent |
Container * | xchildren |
Friends | |
class | Iter |
Classes | |
struct | Accessor |
class | Iter |
UniConfKey UniHashTreeBase::xkey [protected] |
UniHashTreeBase* UniHashTreeBase::xparent [protected] |
the parent of this subtree
Definition at line 27 of file unihashtree.h.
Referenced by _fullkey(), _root(), _setparent(), UniHashTreeBase(), and ~UniHashTreeBase().
Container* UniHashTreeBase::xchildren [protected] |
the hash table of children
Definition at line 38 of file unihashtree.h.
Referenced by _findchild(), _recursivecompare(), haschildren(), UniHashTreeBase(), and ~UniHashTreeBase().