ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::containers::detail::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 61 of file stringtreebase.inl.

Collaboration diagram for alib::containers::detail::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 alib::containers::detail::StringTreeBase< TAllocator, T, TNodeHandler, TRecycling >::NodeKey::NodeNameUnion::key

The name to compare when just keys are used.

Definition at line 72 of file stringtreebase.inl.

◆ storage

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

The name when stored in the hashtable.

Definition at line 73 of file stringtreebase.inl.

Constructor(s) / Destructor Details:

◆ NodeNameUnion() [1/2]

template<typename TAllocator, typename T, typename TNodeHandler, Recycling TRecycling>
alib::containers::detail::StringTreeBase< TAllocator, T, TNodeHandler, TRecycling >::NodeKey::NodeNameUnion::NodeNameUnion ( const NameType & n)
inlineexplicit

Constructor taking a key string.

Parameters
nThe name of the node.

Definition at line 64 of file stringtreebase.inl.

◆ NodeNameUnion() [2/2]

template<typename TAllocator, typename T, typename TNodeHandler, Recycling TRecycling>
alib::containers::detail::StringTreeBase< TAllocator, T, TNodeHandler, TRecycling >::NodeKey::NodeNameUnion::NodeNameUnion ( const NodeNameUnion & n)
inlineexplicit

Copy constructor.

Parameters
nThe union to copy.

Definition at line 67 of file stringtreebase.inl.

Here is the call graph for this function:

◆ ~NodeNameUnion()

template<typename TAllocator, typename T, typename TNodeHandler, Recycling TRecycling>
alib::containers::detail::StringTreeBase< TAllocator, T, TNodeHandler, TRecycling >::NodeKey::NodeNameUnion::~NodeNameUnion ( )
inline

Destructor.

Definition at line 70 of file stringtreebase.inl.


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