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

Node for extended binary search tree. More...

#include <tpl_binNodeXt.H>

Inheritance diagram for Aleph::BinNodeXt< Key >:
[legend]
Collaboration diagram for Aleph::BinNodeXt< 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
 
BinNodeXt *& getL () noexcept
 
BinNodeXt *& getR () noexcept
 
const BinNodeXtgetL () const noexcept
 
const BinNodeXtgetR () const noexcept
 
 BinNodeXt (const Key &k)
 
 BinNodeXt (Key &&k) noexcept
 
 BinNodeXt (const BinNodeXt_Data &control_data, const Key &k)
 
 BinNodeXt (const BinNodeXt &node)
 
 BinNodeXt (BinNodeXt &&node)
 
 BinNodeXt (const BinNodeXt_Data &control_data) noexcept
 
 BinNodeXt ()
 
void reset () noexcept
 
 BinNodeXt (SentinelCtor)
 
- Public Member Functions inherited from Aleph::BinNodeXt_Data
 BinNodeXt_Data () noexcept
 
 BinNodeXt_Data (SentinelCtor) noexcept
 
size_tgetCount () noexcept
 
size_t size () const noexcept
 
void reset () noexcept
 

Static Public Member Functions

static BinNodeXtkey_to_node (Key &__key) noexcept
 

Static Public Attributes

static const size_t MaxHeight = 255
 
static BinNodeXt *const NullPtr = & BinNodeXt <Key>::sentinel_node
 
static BinNodeXt sentinel_node
 

Private Attributes

Key key = Key()
 
BinNodeXtlLink
 
BinNodeXtrLink
 

Detailed Description

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

Node for extended binary search tree.

Definition at line 74 of file tpl_binNodeXt.H.

Member Typedef Documentation

◆ key_type

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

Definition at line 74 of file tpl_binNodeXt.H.

◆ Key_Type

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

Definition at line 74 of file tpl_binNodeXt.H.

Constructor & Destructor Documentation

◆ BinNodeXt() [1/8]

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

Definition at line 74 of file tpl_binNodeXt.H.

◆ BinNodeXt() [2/8]

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

Definition at line 74 of file tpl_binNodeXt.H.

◆ BinNodeXt() [3/8]

template<typename Key >
Aleph::BinNodeXt< Key >::BinNodeXt ( const BinNodeXt_Data control_data,
const Key &  k 
)
inline

Definition at line 74 of file tpl_binNodeXt.H.

◆ BinNodeXt() [4/8]

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

Definition at line 74 of file tpl_binNodeXt.H.

◆ BinNodeXt() [5/8]

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

Definition at line 74 of file tpl_binNodeXt.H.

◆ BinNodeXt() [6/8]

template<typename Key >
Aleph::BinNodeXt< Key >::BinNodeXt ( const BinNodeXt_Data control_data)
inlinenoexcept

Definition at line 74 of file tpl_binNodeXt.H.

◆ BinNodeXt() [7/8]

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

Definition at line 74 of file tpl_binNodeXt.H.

◆ BinNodeXt() [8/8]

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

Definition at line 74 of file tpl_binNodeXt.H.

Member Function Documentation

◆ get_key() [1/2]

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

Definition at line 74 of file tpl_binNodeXt.H.

◆ get_key() [2/2]

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

Definition at line 74 of file tpl_binNodeXt.H.

Referenced by print_key(), and print_keyb().

◆ getL() [1/2]

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

Definition at line 74 of file tpl_binNodeXt.H.

◆ getL() [2/2]

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

Definition at line 74 of file tpl_binNodeXt.H.

◆ getR() [1/2]

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

Definition at line 74 of file tpl_binNodeXt.H.

◆ getR() [2/2]

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

Definition at line 74 of file tpl_binNodeXt.H.

◆ key_to_node()

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

Definition at line 74 of file tpl_binNodeXt.H.

◆ reset()

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

Definition at line 74 of file tpl_binNodeXt.H.

Member Data Documentation

◆ key

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

Definition at line 74 of file tpl_binNodeXt.H.

◆ lLink

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

Definition at line 74 of file tpl_binNodeXt.H.

◆ MaxHeight

template<typename Key >
const size_t Aleph::BinNodeXt< Key >::MaxHeight = 255
static

Definition at line 74 of file tpl_binNodeXt.H.

◆ NullPtr

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

Definition at line 74 of file tpl_binNodeXt.H.

Referenced by main().

◆ rLink

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

Definition at line 74 of file tpl_binNodeXt.H.

◆ sentinel_node

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

Definition at line 74 of file tpl_binNodeXt.H.


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