Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Short_AvlNode< Key > Class Template Reference
Inheritance diagram for Short_AvlNode< Key >:
[legend]
Collaboration diagram for Short_AvlNode< 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_AvlNode *& getL () noexcept
 
Short_AvlNode *& getR () noexcept
 
const Short_AvlNode * getL () const noexcept
 
const Short_AvlNode * getR () const noexcept
 
 Short_AvlNode (const Key &k)
 
 Short_AvlNode (Key &&k) noexcept(std::is_nothrow_move_constructible_v< Key > and std::is_nothrow_default_constructible_v< AvlNode_Data >)
 
 Short_AvlNode (const AvlNode_Data &control_data, const Key &k)
 
 Short_AvlNode (const Short_AvlNode &node)
 
 Short_AvlNode (Short_AvlNode &&node)
 
 Short_AvlNode (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_AvlNode () noexcept(Aleph::bin_node_detail::nothrow_default_key_v< Key > and std::is_nothrow_default_constructible_v< AvlNode_Data >)
 
void reset () noexcept
 
- 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_AvlNode * key_to_node (Key &__key) noexcept
 

Static Public Attributes

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

Private Attributes

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

Detailed Description

template<typename Key>
class Short_AvlNode< Key >

Definition at line 57 of file tree_path_capacity_test.cc.

Member Typedef Documentation

◆ key_type

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ Key_Type

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

Definition at line 57 of file tree_path_capacity_test.cc.

Constructor & Destructor Documentation

◆ Short_AvlNode() [1/7]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ Short_AvlNode() [2/7]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ Short_AvlNode() [3/7]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ Short_AvlNode() [4/7]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ Short_AvlNode() [5/7]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ Short_AvlNode() [6/7]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ Short_AvlNode() [7/7]

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

Definition at line 57 of file tree_path_capacity_test.cc.

Member Function Documentation

◆ get_key() [1/2]

template<typename Key >
const Key & Short_AvlNode< 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_AvlNode< Key >::get_key ( )
inlinenoexcept

Definition at line 57 of file tree_path_capacity_test.cc.

◆ getL() [1/2]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ getL() [2/2]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ getR() [1/2]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ getR() [2/2]

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ key_to_node()

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ reset()

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

Definition at line 57 of file tree_path_capacity_test.cc.

Member Data Documentation

◆ key

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ lLink

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ MaxHeight

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ NullPtr

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

Definition at line 57 of file tree_path_capacity_test.cc.

◆ rLink

template<typename Key >
Short_AvlNode* Short_AvlNode< 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: