WvStreams
|
Classes | |
struct | Accessor |
class | Iter |
Public Member Functions | |
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) | |
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) |
static void | _recursive_unsorted_visit (const UniHashTreeBase *a, const UniHashTreeBaseVisitor &visitor, void *userdata, bool preorder, bool postorder) |
Protected Attributes | |
UniHashTreeBase * | xparent |
Container * | xchildren |
Friends | |
class | Iter |
Definition at line 23 of file unihashtree.h.
|
protected |
Definition at line 32 of file unihashtree.h.
|
protected |
Definition at line 33 of file unihashtree.h.
|
protected |
Definition at line 34 of file unihashtree.h.
UniHashTreeBase::~UniHashTreeBase | ( | ) |
Definition at line 23 of file unihashtree.cc.
|
protected |
Definition at line 11 of file unihashtree.cc.
|
inline |
Returns the key field.
Definition at line 40 of file unihashtree.h.
Referenced by UniConfTree< Sub >::find(), UniConfTree< Sub >::findchild(), UniConfTree< Sub >::remove(), and UniTransactionGen::setv().
bool UniHashTreeBase::haschildren | ( | ) | const |
Returns true if the node has children.
Definition at line 114 of file unihashtree.cc.
References xchildren.
Referenced by UniTempGen::haschildren(), and UniWatchInfoTree::isessential().
|
protected |
Definition at line 63 of file unihashtree.cc.
|
protected |
Definition at line 90 of file unihashtree.cc.
|
protected |
Definition at line 105 of file unihashtree.cc.
|
staticprotected |
Definition at line 163 of file unihashtree.cc.
|
staticprotected |
Definition at line 148 of file unihashtree.cc.
|
friend |
Definition at line 83 of file unihashtree.h.
|
protected |
the parent of this subtree
Definition at line 62 of file unihashtree.h.
Referenced by UniConfTree< Sub >::parent().
|
protected |
the hash table of children
Definition at line 63 of file unihashtree.h.
Referenced by haschildren(), and UniConfTree< Sub >::zap().