Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::SkipList< Key, Type >::HeaderNode Class Reference
Inheritance diagram for Aleph::SkipList< Key, Type >::HeaderNode:
[legend]
Collaboration diagram for Aleph::SkipList< Key, Type >::HeaderNode:
[legend]

Public Member Functions

 HeaderNode ()
 
Node *& getForward (int i)
 
- Public Member Functions inherited from Aleph::SkipList< Key, Type >::Node
 Node (const Key &_key, const Type &_data, int n)
 
 Node (const Key &_key, int n)
 
 Node (const int n)
 
 Node ()
 
 ~Node ()=default
 
Nodeget_next () const noexcept
 
Node *& getForward (int i)
 
Node ** getForward ()
 
const Key & get_key () const noexcept
 
Key & get_key () noexcept
 
const Typeget_data () const noexcept
 
Typeget_data () noexcept
 
int getLevel () const noexcept
 

Private Attributes

SkipList< Key, Type >::Nodeforward [maxLevel]
 

Friends

class SkipList< Key, Type >
 

Additional Inherited Members

- Static Public Member Functions inherited from Aleph::SkipList< Key, Type >::Node
static Key computeMaxKey () noexcept
 Compute the maximum possible key value (used for sentinel).
 
- Protected Attributes inherited from Aleph::SkipList< Key, Type >::Node
int level
 
Nodeforward [0]
 
- Static Protected Attributes inherited from Aleph::SkipList< Key, Type >::Node
static Node nodeSentinel
 
static NodeNullPtr
 

Detailed Description

template<class Key, class Type>
class Aleph::SkipList< Key, Type >::HeaderNode

Definition at line 210 of file tpl_skipList.H.

Constructor & Destructor Documentation

◆ HeaderNode()

template<class Key , class Type >
Aleph::SkipList< Key, Type >::HeaderNode::HeaderNode ( )
inline

Member Function Documentation

◆ getForward()

template<class Key , class Type >
Node *& Aleph::SkipList< Key, Type >::HeaderNode::getForward ( int  i)
inline

Friends And Related Symbol Documentation

◆ SkipList< Key, Type >

template<class Key , class Type >
friend class SkipList< Key, Type >
friend

Definition at line 213 of file tpl_skipList.H.

Member Data Documentation

◆ forward


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