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

#include <tpl_randNode.H>

Inheritance diagram for Aleph::RandNode< Key >:
[legend]
Collaboration diagram for Aleph::RandNode< 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
 
RandNode *& getL () noexcept
 
RandNode *& getR () noexcept
 
const RandNodegetL () const noexcept
 
const RandNodegetR () const noexcept
 
 RandNode (const Key &k)
 
 RandNode (Key &&k) noexcept
 
 RandNode (const BinNodeXt_Data &control_data, const Key &k)
 
 RandNode (const RandNode &node)
 
 RandNode (RandNode &&node)
 
 RandNode (const BinNodeXt_Data &control_data) noexcept
 
 RandNode ()
 
void reset () noexcept
 
 RandNode (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 RandNodekey_to_node (Key &__key) noexcept
 

Static Public Attributes

static const size_t MaxHeight = 80
 
static RandNode *const NullPtr = & RandNode <Key>::sentinel_node
 
static RandNode sentinel_node
 

Private Attributes

Key key = Key()
 
RandNodelLink
 
RandNoderLink
 

Detailed Description

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

Definition at line 47 of file tpl_randNode.H.

Member Typedef Documentation

◆ key_type

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

Definition at line 47 of file tpl_randNode.H.

◆ Key_Type

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

Definition at line 47 of file tpl_randNode.H.

Constructor & Destructor Documentation

◆ RandNode() [1/8]

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

Definition at line 47 of file tpl_randNode.H.

◆ RandNode() [2/8]

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

Definition at line 47 of file tpl_randNode.H.

◆ RandNode() [3/8]

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

Definition at line 47 of file tpl_randNode.H.

◆ RandNode() [4/8]

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

Definition at line 47 of file tpl_randNode.H.

◆ RandNode() [5/8]

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

Definition at line 47 of file tpl_randNode.H.

◆ RandNode() [6/8]

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

Definition at line 47 of file tpl_randNode.H.

◆ RandNode() [7/8]

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

Definition at line 47 of file tpl_randNode.H.

◆ RandNode() [8/8]

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

Definition at line 47 of file tpl_randNode.H.

Member Function Documentation

◆ get_key() [1/2]

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

Definition at line 47 of file tpl_randNode.H.

◆ get_key() [2/2]

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

Definition at line 47 of file tpl_randNode.H.

◆ getL() [1/2]

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

Definition at line 47 of file tpl_randNode.H.

◆ getL() [2/2]

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

Definition at line 47 of file tpl_randNode.H.

◆ getR() [1/2]

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

Definition at line 47 of file tpl_randNode.H.

◆ getR() [2/2]

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

Definition at line 47 of file tpl_randNode.H.

◆ key_to_node()

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

Definition at line 47 of file tpl_randNode.H.

◆ reset()

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

Definition at line 47 of file tpl_randNode.H.

Member Data Documentation

◆ key

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

Definition at line 47 of file tpl_randNode.H.

◆ lLink

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

Definition at line 47 of file tpl_randNode.H.

◆ MaxHeight

template<typename Key >
const size_t Aleph::RandNode< Key >::MaxHeight = 80
static

Definition at line 47 of file tpl_randNode.H.

◆ NullPtr

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

Definition at line 47 of file tpl_randNode.H.

◆ rLink

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

Definition at line 47 of file tpl_randNode.H.

◆ sentinel_node

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

Definition at line 47 of file tpl_randNode.H.


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