|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Own standalone nodes until an insertion path is committed. More...
Public Member Functions | |
| Pending_Path_Guard (const size_t count) | |
| ~Pending_Path_Guard () | |
| Cnode * | operator[] (const size_t i) const noexcept |
| void | set (const size_t i, Cnode *node) const noexcept |
| void | release_nodes () noexcept |
Private Attributes | |
| Cnode ** | nodes_ = nullptr |
| size_t | count_ = 0 |
| bool | owns_nodes_ = true |
Own standalone nodes until an insertion path is committed.
Definition at line 243 of file prefix-tree.H.
|
inlineexplicit |
Definition at line 250 of file prefix-tree.H.
|
inline |
Definition at line 256 of file prefix-tree.H.
References count_, nodes_, and owns_nodes_.
Definition at line 264 of file prefix-tree.H.
References nodes_.
|
inlinenoexcept |
Definition at line 274 of file prefix-tree.H.
References owns_nodes_.
Referenced by Aleph::Cnode::insert_word().
Definition at line 269 of file prefix-tree.H.
References nodes_.
Referenced by Aleph::Cnode::insert_word().
|
private |
Definition at line 246 of file prefix-tree.H.
Referenced by Pending_Path_Guard(), and ~Pending_Path_Guard().
|
private |
Definition at line 245 of file prefix-tree.H.
Referenced by Pending_Path_Guard(), ~Pending_Path_Guard(), operator[](), and set().
Definition at line 247 of file prefix-tree.H.
Referenced by ~Pending_Path_Guard(), and release_nodes().