ALib C++ Library
Library Version: 2412 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
StringTreeBase< TAllocator, T, TNodeHandler, TRecycling >::NodeKey::NodeNameUnion Union Reference

Description:

template<typename TAllocator, typename T, typename TNodeHandler, Recycling TRecycling>
union alib::containers::detail::StringTreeBase< TAllocator, T, TNodeHandler, TRecycling >::NodeKey::NodeNameUnion

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

Definition at line 76 of file stringtreebase.inl.

Collaboration diagram for StringTreeBase< TAllocator, T, TNodeHandler, 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)
 Constructor taking a key string.
 
 NodeNameUnion (const NodeNameUnion &n)
 Copy constructor.
 
 ~NodeNameUnion ()
 Destructor.
 

Field Details:

◆ key

template<typename TAllocator , typename T , typename TNodeHandler , Recycling TRecycling>
NameType key

The name to compare when just keys are used.

Definition at line 87 of file stringtreebase.inl.

◆ storage

template<typename TAllocator , typename T , typename TNodeHandler , Recycling TRecycling>
NameStorageType storage

The name when stored in the hashtable.

Definition at line 88 of file stringtreebase.inl.

Constructor(s) / Destructor Details:

◆ NodeNameUnion() [1/2]

template<typename TAllocator , typename T , typename TNodeHandler , Recycling TRecycling>
NodeNameUnion ( const NameType & n)
inlineexplicit

Constructor taking a key string.

Parameters
nThe name of the node.

Definition at line 79 of file stringtreebase.inl.

◆ NodeNameUnion() [2/2]

template<typename TAllocator , typename T , typename TNodeHandler , Recycling TRecycling>
NodeNameUnion ( const NodeNameUnion & n)
inlineexplicit

Copy constructor.

Parameters
nThe union to copy.

Definition at line 82 of file stringtreebase.inl.

◆ ~NodeNameUnion()

template<typename TAllocator , typename T , typename TNodeHandler , Recycling TRecycling>
~NodeNameUnion ( )
inline

Destructor.

Definition at line 85 of file stringtreebase.inl.


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