The unique key to any element stored in this container. By being a (second) base type for of type Node, any node includes this key.
Definition at line 68 of file stringtreebase.inl.
Inner Type Index: | |
struct | EqualTo |
Equality functor for nodes in field nodeTable. More... | |
struct | Hash |
Hash functor for nodes hashed in field nodeTable. More... | |
union | NodeNameUnion |
struct | ValueDescriptor |
ValueDescriptor for hash table nodeTable. More... | |
Public Field Index: | |
NodeNameUnion | name |
NodeBase * | parent |
Public Method Index: | |
NodeKey (NodeBase *pParent, const NameType &pName) | |
NodeNameUnion name |
A string object containing the pointer to this node's name. Node names constitute path strings and, together with the pointer to their parent, form the key of the hash set found with field nodeTable.
Node names must not contain the separator character and must not equal to "."
or ".."
.
The name of the root node is nulled.
Definition at line 99 of file stringtreebase.inl.
NodeBase* parent |
The parent node. A value of nullptr
indicates that this is the root node of the tree, which is always existing.
Definition at line 72 of file stringtreebase.inl.
|
inline |
Constructor
pParent | Parent node to search a child for. |
pName | Child name to search |
Definition at line 104 of file stringtreebase.inl.