ALib C++ Library
Library Version: 2312 R0
Documentation generated by doxygen
Inner Classes | Public Fields | Public Methods | List of all members
StringTreeBase< T, TNodeMaintainer, TRecycling >::NodeKey Struct Reference
Inheritance diagram for StringTreeBase< T, TNodeMaintainer, TRecycling >::NodeKey:
[legend]
Collaboration diagram for StringTreeBase< T, TNodeMaintainer, TRecycling >::NodeKey:
[legend]

Class Description

template<typename T, typename TNodeMaintainer, typename TRecycling>
struct aworx::lib::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.

Inner Classes

struct  Access
 
struct  EqualTo
 
struct  Hash
 

Public Fields

NameType name
 
Nodeparent
 

Public Methods

 NodeKey (Node *pParent, const NameType &pName)
 

Constructor & Destructor Documentation

◆ NodeKey()

NodeKey ( Node pParent,
const NameType pName 
)
inline

Constructor

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

Definition at line 124 of file stringtreebase.inl.

Member Data Documentation

◆ name

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

◆ parent

Node* 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.


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