Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Short_AvlNodeVtl< Key > Class Template Reference
Inheritance diagram for Short_AvlNodeVtl< Key >:
[legend]
Collaboration diagram for Short_AvlNodeVtl< 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_AvlNodeVtl *& getL () noexcept
 
Short_AvlNodeVtl *& getR () noexcept
 
const Short_AvlNodeVtl * getL () const noexcept
 
const Short_AvlNodeVtl * getR () const noexcept
 
 Short_AvlNodeVtl (const Key &k)
 
 Short_AvlNodeVtl (Key &&k) noexcept(std::is_nothrow_move_constructible_v< Key > and std::is_nothrow_default_constructible_v< AvlNode_Data >)
 
 Short_AvlNodeVtl (const AvlNode_Data &control_data, const Key &k)
 
 Short_AvlNodeVtl (const Short_AvlNodeVtl &node)
 
 Short_AvlNodeVtl (Short_AvlNodeVtl &&node)
 
 Short_AvlNodeVtl (const AvlNode_Data &control_data) noexcept(Aleph::bin_node_detail::nothrow_default_key_v< Key > and std::is_nothrow_copy_constructible_v< AvlNode_Data >)
 
 Short_AvlNodeVtl () noexcept(Aleph::bin_node_detail::nothrow_default_key_v< Key > and std::is_nothrow_default_constructible_v< AvlNode_Data >)
 
void reset () noexcept
 
virtual ~Short_AvlNodeVtl ()
 
- Public Member Functions inherited from AvlNode_Data
 AvlNode_Data () noexcept
 Default constructor initializes balance to 0 (equal heights)
 
signed char & getDiff () noexcept
 Get reference to balance factor.
 
void reset () noexcept
 Reset balance factor to 0 (for reuse)
 

Static Public Member Functions

static Short_AvlNodeVtl * key_to_node (Key &__key) noexcept
 

Static Public Attributes

static const size_t MaxHeight = 4
 
static Short_AvlNodeVtl *const NullPtr = nullptr
 

Private Attributes

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

Detailed Description

template<typename Key>
class Short_AvlNodeVtl< Key >

Definition at line 57 of file tree_path_capacity_test.cc.

Member Typedef Documentation

◆ key_type

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ Key_Type

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

Definition at line 57 of file tree_path_capacity_test.cc.

Constructor & Destructor Documentation

◆ Short_AvlNodeVtl() [1/7]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ Short_AvlNodeVtl() [2/7]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ Short_AvlNodeVtl() [3/7]

template<typename Key >
Short_AvlNodeVtl< Key >::Short_AvlNodeVtl ( const AvlNode_Data &  control_data,
const Key &  k 
)
inline

Definition at line 57 of file tree_path_capacity_test.cc.

◆ Short_AvlNodeVtl() [4/7]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ Short_AvlNodeVtl() [5/7]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ Short_AvlNodeVtl() [6/7]

template<typename Key >
Short_AvlNodeVtl< Key >::Short_AvlNodeVtl ( const AvlNode_Data &  control_data)
inlinenoexcept

Definition at line 57 of file tree_path_capacity_test.cc.

◆ Short_AvlNodeVtl() [7/7]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ ~Short_AvlNodeVtl()

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

Definition at line 57 of file tree_path_capacity_test.cc.

Member Function Documentation

◆ get_key() [1/2]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ get_key() [2/2]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ getL() [1/2]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ getL() [2/2]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ getR() [1/2]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ getR() [2/2]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ key_to_node()

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ reset()

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

Definition at line 57 of file tree_path_capacity_test.cc.

Member Data Documentation

◆ key

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ lLink

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ MaxHeight

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ NullPtr

template<typename Key >
Short_AvlNodeVtl< Key > *const Short_AvlNodeVtl< Key >::NullPtr = nullptr
static

Definition at line 57 of file tree_path_capacity_test.cc.

◆ rLink

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

Definition at line 57 of file tree_path_capacity_test.cc.


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