Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::Prefix_Tree_Map< T >::Node::Pending_Path_Guard Class Reference

Own standalone insertion nodes until a new path is committed. More...

Collaboration diagram for Aleph::Prefix_Tree_Map< T >::Node::Pending_Path_Guard:
[legend]

Public Member Functions

 Pending_Path_Guard (const size_t count)
 
 ~Pending_Path_Guard ()
 
Node * operator[] (const size_t i) const noexcept
 
void set (const size_t i, Node *node) const noexcept
 
void release_nodes () noexcept
 

Private Attributes

Node ** nodes_ = nullptr
 
size_t count_ = 0
 
bool owns_nodes_ = true
 

Detailed Description

template<typename T>
class Aleph::Prefix_Tree_Map< T >::Node::Pending_Path_Guard

Own standalone insertion nodes until a new path is committed.

Definition at line 1121 of file prefix-tree.H.

Constructor & Destructor Documentation

◆ Pending_Path_Guard()

template<typename T >
Aleph::Prefix_Tree_Map< T >::Node::Pending_Path_Guard::Pending_Path_Guard ( const size_t  count)
inlineexplicit

Definition at line 1128 of file prefix-tree.H.

◆ ~Pending_Path_Guard()

template<typename T >
Aleph::Prefix_Tree_Map< T >::Node::Pending_Path_Guard::~Pending_Path_Guard ( )
inline

Definition at line 1135 of file prefix-tree.H.

Member Function Documentation

◆ operator[]()

template<typename T >
Node * Aleph::Prefix_Tree_Map< T >::Node::Pending_Path_Guard::operator[] ( const size_t  i) const
inlinenoexcept

Definition at line 1143 of file prefix-tree.H.

◆ release_nodes()

template<typename T >
void Aleph::Prefix_Tree_Map< T >::Node::Pending_Path_Guard::release_nodes ( )
inlinenoexcept

Definition at line 1153 of file prefix-tree.H.

Referenced by Aleph::Prefix_Tree_Map< T >::Node::insert_suffix().

◆ set()

template<typename T >
void Aleph::Prefix_Tree_Map< T >::Node::Pending_Path_Guard::set ( const size_t  i,
Node *  node 
) const
inlinenoexcept

Definition at line 1148 of file prefix-tree.H.

Referenced by Aleph::Prefix_Tree_Map< T >::Node::insert_suffix().

Member Data Documentation

◆ count_

template<typename T >
size_t Aleph::Prefix_Tree_Map< T >::Node::Pending_Path_Guard::count_ = 0
private

Definition at line 1124 of file prefix-tree.H.

◆ nodes_

template<typename T >
Node** Aleph::Prefix_Tree_Map< T >::Node::Pending_Path_Guard::nodes_ = nullptr
private

Definition at line 1123 of file prefix-tree.H.

◆ owns_nodes_

template<typename T >
bool Aleph::Prefix_Tree_Map< T >::Node::Pending_Path_Guard::owns_nodes_ = true
private

Definition at line 1125 of file prefix-tree.H.


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