Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::PatriciaSet< UInt >::Node Struct Reference
Collaboration diagram for Aleph::PatriciaSet< UInt >::Node:
[legend]

Public Member Functions

 Node (const Key k) noexcept
 
 Node (const size_t bit) noexcept
 

Public Attributes

bool leaf = true
 
Key key = 0
 
size_t bit_index = 0
 
std::array< std::unique_ptr< Node >, 2 > child {}
 

Detailed Description

template<typename UInt>
struct Aleph::PatriciaSet< UInt >::Node

Definition at line 334 of file tpl_patricia_trie.H.

Constructor & Destructor Documentation

◆ Node() [1/2]

template<typename UInt >
Aleph::PatriciaSet< UInt >::Node::Node ( const Key  k)
inlineexplicitnoexcept

Definition at line 341 of file tpl_patricia_trie.H.

◆ Node() [2/2]

template<typename UInt >
Aleph::PatriciaSet< UInt >::Node::Node ( const size_t  bit)
inlineexplicitnoexcept

Definition at line 342 of file tpl_patricia_trie.H.

Member Data Documentation

◆ bit_index

template<typename UInt >
size_t Aleph::PatriciaSet< UInt >::Node::bit_index = 0

Definition at line 338 of file tpl_patricia_trie.H.

Referenced by Aleph::PatriciaSet< UInt >::clone_node().

◆ child

template<typename UInt >
std::array<std::unique_ptr<Node>, 2> Aleph::PatriciaSet< UInt >::Node::child {}

Definition at line 339 of file tpl_patricia_trie.H.

Referenced by Aleph::PatriciaSet< UInt >::clone_node().

◆ key

◆ leaf

template<typename UInt >
bool Aleph::PatriciaSet< UInt >::Node::leaf = true

Definition at line 336 of file tpl_patricia_trie.H.

Referenced by Aleph::PatriciaSet< UInt >::clone_node().


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