Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Short_RbNodeVtl< Key > Class Template Reference
Inheritance diagram for Short_RbNodeVtl< Key >:
[legend]
Collaboration diagram for Short_RbNodeVtl< Key >:
[legend]

Public Types

typedef Key key_type
 
typedef Key Key_Type
 

Public Member Functions

Key & get_key () noexcept
 
const Key & get_key () const noexcept
 
Short_RbNodeVtl *& getL () noexcept
 
Short_RbNodeVtl *& getR () noexcept
 
const Short_RbNodeVtl * getL () const noexcept
 
const Short_RbNodeVtl * getR () const noexcept
 
 Short_RbNodeVtl (const Key &k)
 
 Short_RbNodeVtl (Key &&k) noexcept(std::is_nothrow_move_constructible_v< Key > and std::is_nothrow_default_constructible_v< RbNode_Data >)
 
 Short_RbNodeVtl (const RbNode_Data &control_data, const Key &k)
 
 Short_RbNodeVtl (const Short_RbNodeVtl &node)
 
 Short_RbNodeVtl (Short_RbNodeVtl &&node)
 
 Short_RbNodeVtl (const RbNode_Data &control_data) noexcept(Aleph::bin_node_detail::nothrow_default_key_v< Key > and std::is_nothrow_copy_constructible_v< RbNode_Data >)
 
 Short_RbNodeVtl () noexcept(Aleph::bin_node_detail::nothrow_default_key_v< Key > and std::is_nothrow_default_constructible_v< RbNode_Data >)
 
void reset () noexcept
 
virtual ~Short_RbNodeVtl ()
 
 Short_RbNodeVtl (SentinelCtor)
 
- Public Member Functions inherited from RbNode_Data
 RbNode_Data () noexcept
 Default constructor creates a red node.
 
 RbNode_Data (SentinelCtor) noexcept
 Sentinel constructor creates a black node.
 
Color & getColor ()
 Get reference to node color.
 
Color getColor () const
 Get node color.
 
void reset ()
 Reset node to red (for reinsertion)
 
 RbNode_Data () noexcept
 
 RbNode_Data (SentinelCtor) noexcept
 
unsigned char & getColor () noexcept
 
void reset () noexcept
 

Static Public Member Functions

static Short_RbNodeVtl * key_to_node (Key &__key) noexcept
 

Static Public Attributes

static const size_t MaxHeight = 4
 
static Short_RbNodeVtl *const NullPtr = & Short_RbNodeVtl<Key>::sentinel_node
 
static Short_RbNodeVtl sentinel_node
 

Private Attributes

Key key = Key()
 
Short_RbNodeVtl * lLink
 
Short_RbNodeVtl * rLink
 

Detailed Description

template<typename Key>
class Short_RbNodeVtl< Key >

Definition at line 58 of file tree_path_capacity_test.cc.

Member Typedef Documentation

◆ key_type

template<typename Key >
typedef Key Short_RbNodeVtl< Key >::key_type

Definition at line 58 of file tree_path_capacity_test.cc.

◆ Key_Type

template<typename Key >
typedef Key Short_RbNodeVtl< Key >::Key_Type

Definition at line 58 of file tree_path_capacity_test.cc.

Constructor & Destructor Documentation

◆ Short_RbNodeVtl() [1/8]

template<typename Key >
Short_RbNodeVtl< Key >::Short_RbNodeVtl ( const Key &  k)
inline

Definition at line 58 of file tree_path_capacity_test.cc.

◆ Short_RbNodeVtl() [2/8]

template<typename Key >
Short_RbNodeVtl< Key >::Short_RbNodeVtl ( Key &&  k)
inlinenoexcept

Definition at line 58 of file tree_path_capacity_test.cc.

◆ Short_RbNodeVtl() [3/8]

template<typename Key >
Short_RbNodeVtl< Key >::Short_RbNodeVtl ( const RbNode_Data &  control_data,
const Key &  k 
)
inline

Definition at line 58 of file tree_path_capacity_test.cc.

◆ Short_RbNodeVtl() [4/8]

template<typename Key >
Short_RbNodeVtl< Key >::Short_RbNodeVtl ( const Short_RbNodeVtl< Key > &  node)
inline

Definition at line 58 of file tree_path_capacity_test.cc.

◆ Short_RbNodeVtl() [5/8]

template<typename Key >
Short_RbNodeVtl< Key >::Short_RbNodeVtl ( Short_RbNodeVtl< Key > &&  node)
inline

Definition at line 58 of file tree_path_capacity_test.cc.

◆ Short_RbNodeVtl() [6/8]

template<typename Key >
Short_RbNodeVtl< Key >::Short_RbNodeVtl ( const RbNode_Data &  control_data)
inlinenoexcept

Definition at line 58 of file tree_path_capacity_test.cc.

◆ Short_RbNodeVtl() [7/8]

template<typename Key >
Short_RbNodeVtl< Key >::Short_RbNodeVtl ( )
inlinenoexcept

Definition at line 58 of file tree_path_capacity_test.cc.

◆ ~Short_RbNodeVtl()

template<typename Key >
virtual Short_RbNodeVtl< Key >::~Short_RbNodeVtl ( )
inlinevirtual

Definition at line 58 of file tree_path_capacity_test.cc.

◆ Short_RbNodeVtl() [8/8]

template<typename Key >
Short_RbNodeVtl< Key >::Short_RbNodeVtl ( SentinelCtor  )
inline

Definition at line 58 of file tree_path_capacity_test.cc.

Member Function Documentation

◆ get_key() [1/2]

template<typename Key >
const Key & Short_RbNodeVtl< Key >::get_key ( ) const
inlinenoexcept

Definition at line 58 of file tree_path_capacity_test.cc.

◆ get_key() [2/2]

template<typename Key >
Key & Short_RbNodeVtl< Key >::get_key ( )
inlinenoexcept

Definition at line 58 of file tree_path_capacity_test.cc.

◆ getL() [1/2]

template<typename Key >
const Short_RbNodeVtl * Short_RbNodeVtl< Key >::getL ( ) const
inlinenoexcept

Definition at line 58 of file tree_path_capacity_test.cc.

◆ getL() [2/2]

template<typename Key >
Short_RbNodeVtl *& Short_RbNodeVtl< Key >::getL ( )
inlinenoexcept

Definition at line 58 of file tree_path_capacity_test.cc.

◆ getR() [1/2]

template<typename Key >
const Short_RbNodeVtl * Short_RbNodeVtl< Key >::getR ( ) const
inlinenoexcept

Definition at line 58 of file tree_path_capacity_test.cc.

◆ getR() [2/2]

template<typename Key >
Short_RbNodeVtl *& Short_RbNodeVtl< Key >::getR ( )
inlinenoexcept

Definition at line 58 of file tree_path_capacity_test.cc.

◆ key_to_node()

template<typename Key >
static Short_RbNodeVtl * Short_RbNodeVtl< Key >::key_to_node ( Key &  __key)
inlinestaticnoexcept

Definition at line 58 of file tree_path_capacity_test.cc.

◆ reset()

template<typename Key >
void Short_RbNodeVtl< Key >::reset ( )
inlinenoexcept

Definition at line 58 of file tree_path_capacity_test.cc.

Member Data Documentation

◆ key

template<typename Key >
Key Short_RbNodeVtl< Key >::key = Key()
private

Definition at line 58 of file tree_path_capacity_test.cc.

◆ lLink

template<typename Key >
Short_RbNodeVtl* Short_RbNodeVtl< Key >::lLink
private

Definition at line 58 of file tree_path_capacity_test.cc.

◆ MaxHeight

template<typename Key >
const size_t Short_RbNodeVtl< Key >::MaxHeight = 4
static

Definition at line 58 of file tree_path_capacity_test.cc.

◆ NullPtr

template<typename Key >
Short_RbNodeVtl< Key > *const Short_RbNodeVtl< Key >::NullPtr = & Short_RbNodeVtl<Key>::sentinel_node
static

Definition at line 58 of file tree_path_capacity_test.cc.

◆ rLink

template<typename Key >
Short_RbNodeVtl* Short_RbNodeVtl< Key >::rLink
private

Definition at line 58 of file tree_path_capacity_test.cc.

◆ sentinel_node

template<typename Key >
Short_RbNodeVtl< Key > Short_RbNodeVtl< Key >::sentinel_node
static

Definition at line 58 of file tree_path_capacity_test.cc.


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