Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::AvlNodeRk< Key > Class Template Reference

Extended AVL node with subtree counter. More...

#include <avlNodeRk.H>

Inheritance diagram for Aleph::AvlNodeRk< Key >:
[legend]
Collaboration diagram for Aleph::AvlNodeRk< 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
 
AvlNodeRk *& getL () noexcept
 
AvlNodeRk *& getR () noexcept
 
const AvlNodeRkgetL () const noexcept
 
const AvlNodeRkgetR () const noexcept
 
 AvlNodeRk (const Key &k)
 
 AvlNodeRk (Key &&k) noexcept
 
 AvlNodeRk (const AvlNodeRk_Data &control_data, const Key &k)
 
 AvlNodeRk (const AvlNodeRk &node)
 
 AvlNodeRk (AvlNodeRk &&node)
 
 AvlNodeRk (const AvlNodeRk_Data &control_data) noexcept
 
 AvlNodeRk ()
 
void reset () noexcept
 
 AvlNodeRk (SentinelCtor)
 
- Public Member Functions inherited from Aleph::AvlNodeRk_Data
 AvlNodeRk_Data () noexcept
 
 AvlNodeRk_Data (SentinelCtor) noexcept
 
signed chargetDiff () noexcept
 
size_tgetCount () noexcept
 
void reset () noexcept
 

Static Public Member Functions

static AvlNodeRkkey_to_node (Key &__key) noexcept
 

Static Public Attributes

static const size_t MaxHeight = 40
 
static AvlNodeRk *const NullPtr = & AvlNodeRk <Key>::sentinel_node
 
static AvlNodeRk sentinel_node
 

Private Attributes

Key key = Key()
 
AvlNodeRklLink
 
AvlNodeRkrLink
 

Detailed Description

template<typename Key>
class Aleph::AvlNodeRk< Key >

Extended AVL node with subtree counter.

Definition at line 79 of file avlNodeRk.H.

Member Typedef Documentation

◆ key_type

template<typename Key >
typedef Key Aleph::AvlNodeRk< Key >::key_type

Definition at line 79 of file avlNodeRk.H.

◆ Key_Type

template<typename Key >
typedef Key Aleph::AvlNodeRk< Key >::Key_Type

Definition at line 79 of file avlNodeRk.H.

Constructor & Destructor Documentation

◆ AvlNodeRk() [1/8]

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

Definition at line 79 of file avlNodeRk.H.

◆ AvlNodeRk() [2/8]

template<typename Key >
Aleph::AvlNodeRk< Key >::AvlNodeRk ( Key &&  k)
inlinenoexcept

Definition at line 79 of file avlNodeRk.H.

◆ AvlNodeRk() [3/8]

template<typename Key >
Aleph::AvlNodeRk< Key >::AvlNodeRk ( const AvlNodeRk_Data control_data,
const Key &  k 
)
inline

Definition at line 79 of file avlNodeRk.H.

◆ AvlNodeRk() [4/8]

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

Definition at line 79 of file avlNodeRk.H.

◆ AvlNodeRk() [5/8]

template<typename Key >
Aleph::AvlNodeRk< Key >::AvlNodeRk ( AvlNodeRk< Key > &&  node)
inline

Definition at line 79 of file avlNodeRk.H.

◆ AvlNodeRk() [6/8]

template<typename Key >
Aleph::AvlNodeRk< Key >::AvlNodeRk ( const AvlNodeRk_Data control_data)
inlinenoexcept

Definition at line 79 of file avlNodeRk.H.

◆ AvlNodeRk() [7/8]

template<typename Key >
Aleph::AvlNodeRk< Key >::AvlNodeRk ( )
inline

Definition at line 79 of file avlNodeRk.H.

◆ AvlNodeRk() [8/8]

template<typename Key >
Aleph::AvlNodeRk< Key >::AvlNodeRk ( SentinelCtor  )
inline

Definition at line 79 of file avlNodeRk.H.

Member Function Documentation

◆ get_key() [1/2]

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

Definition at line 79 of file avlNodeRk.H.

◆ get_key() [2/2]

template<typename Key >
Key & Aleph::AvlNodeRk< Key >::get_key ( )
inlinenoexcept

Definition at line 79 of file avlNodeRk.H.

◆ getL() [1/2]

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

Definition at line 79 of file avlNodeRk.H.

◆ getL() [2/2]

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

Definition at line 79 of file avlNodeRk.H.

◆ getR() [1/2]

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

Definition at line 79 of file avlNodeRk.H.

◆ getR() [2/2]

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

Definition at line 79 of file avlNodeRk.H.

◆ key_to_node()

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

Definition at line 79 of file avlNodeRk.H.

◆ reset()

template<typename Key >
void Aleph::AvlNodeRk< Key >::reset ( )
inlinenoexcept

Definition at line 79 of file avlNodeRk.H.

Member Data Documentation

◆ key

template<typename Key >
Key Aleph::AvlNodeRk< Key >::key = Key()
private

Definition at line 79 of file avlNodeRk.H.

◆ lLink

template<typename Key >
AvlNodeRk* Aleph::AvlNodeRk< Key >::lLink
private

Definition at line 79 of file avlNodeRk.H.

◆ MaxHeight

template<typename Key >
const size_t Aleph::AvlNodeRk< Key >::MaxHeight = 40
static

Definition at line 79 of file avlNodeRk.H.

◆ NullPtr

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

Definition at line 79 of file avlNodeRk.H.

◆ rLink

template<typename Key >
AvlNodeRk* Aleph::AvlNodeRk< Key >::rLink
private

Definition at line 79 of file avlNodeRk.H.

◆ sentinel_node

template<typename Key >
AvlNodeRk< Key > Aleph::AvlNodeRk< Key >::sentinel_node
static

Definition at line 79 of file avlNodeRk.H.


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