ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
StringTreeBase< T, TNodeMaintainer, TRecycling >::NodeKey Struct Reference

Description:

template<typename T, typename TNodeMaintainer, typename TRecycling>
struct alib::monomem::detail::StringTreeBase< T, TNodeMaintainer, TRecycling >::NodeKey

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 101 of file stringtreebase.inl.

Inheritance diagram for StringTreeBase< T, TNodeMaintainer, TRecycling >::NodeKey:
[legend]
Collaboration diagram for StringTreeBase< T, TNodeMaintainer, TRecycling >::NodeKey:
[legend]

Inner Type Index:

struct  Access
 
struct  EqualTo
 
struct  Hash
 
union  NodeNameUnion
 

Public Field Index:

NodeNameUnion name
 
NodeBaseparent
 

Public Method Index:

 NodeKey (NodeBase *pParent, const NameType &pName)
 

Field Details:

◆ name

template<typename T , typename TNodeMaintainer , typename TRecycling >
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 134 of file stringtreebase.inl.

◆ parent

template<typename T , typename TNodeMaintainer , typename TRecycling >
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 105 of file stringtreebase.inl.

Constructor(s) / Destructor Details::

◆ NodeKey()

template<typename T , typename TNodeMaintainer , typename TRecycling >
NodeKey ( NodeBase * pParent,
const NameType & pName )
inline

Constructor

Parameters
pParentParent node to search a child for.
pNameChild name to search

Definition at line 141 of file stringtreebase.inl.


The documentation for this struct was generated from the following file: