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

Description:

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

A union of base string and the derived (or same) final storage type. Only the node maintainer will finalize the name into the second field.

Definition at line 109 of file stringtreebase.inl.

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

Public Field Index:

NameType key
 The name to compare when just keys are used.
 
NameStorageType storage
 The name when stored in the hashtable.
 

Public Method Index:

 NodeNameUnion (const NameType &n)
 
 NodeNameUnion (const NodeNameUnion &n)
 
 ~NodeNameUnion ()
 

Field Details:

◆ key

template<typename T , typename TNodeMaintainer , typename TRecycling >
NameType key

The name to compare when just keys are used.

Definition at line 120 of file stringtreebase.inl.

◆ storage

template<typename T , typename TNodeMaintainer , typename TRecycling >
NameStorageType storage

The name when stored in the hashtable.

Definition at line 121 of file stringtreebase.inl.

Constructor(s) / Destructor Details::

◆ NodeNameUnion() [1/2]

template<typename T , typename TNodeMaintainer , typename TRecycling >
NodeNameUnion ( const NameType & n)
inlineexplicit

Constructor taking a key string.

Parameters
nThe name of the node.

Definition at line 112 of file stringtreebase.inl.

◆ NodeNameUnion() [2/2]

template<typename T , typename TNodeMaintainer , typename TRecycling >
NodeNameUnion ( const NodeNameUnion & n)
inlineexplicit

Copy constructor.

Parameters
nThe union to copy.

Definition at line 115 of file stringtreebase.inl.

◆ ~NodeNameUnion()

template<typename T , typename TNodeMaintainer , typename TRecycling >
~NodeNameUnion ( )
inline

Destructor.

Definition at line 118 of file stringtreebase.inl.


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