DeSiGNAR  0.5a
Data Structures General Library
Classes | Public Member Functions | List of all members
Designar::HeapNode< Key > Class Template Reference

#include <heap.H>

Inheritance diagram for Designar::HeapNode< Key >:
Inheritance graph
[legend]
Collaboration diagram for Designar::HeapNode< Key >:
Collaboration graph
[legend]

Public Member Functions

 HeapNode ()
 
 HeapNode (const Key &k)
 
 HeapNode (Key &&k)
 
 HeapNode (BinTreeNodeCtor ctor)
 
HeapNode *& get_parent ()
 
HeapNodeBits & get_bits ()
 
unsigned int is_leaf () const
 
void set_leaf (unsigned int value)
 
unsigned int is_left () const
 
void set_left (unsigned int value)
 
void reset ()
 
- Public Member Functions inherited from Designar::BaseBinTreeNode< Key, HeapNode< Key >, BinTreeNodeNullValue::NULLPTR >
 BaseBinTreeNode ()
 
 BaseBinTreeNode (const Key &k)
 
 BaseBinTreeNode (Key &&k)
 
 BaseBinTreeNode (BinTreeNodeCtor)
 
 BaseBinTreeNode (const BaseBinTreeNode &)=delete
 
BaseBinTreeNodeoperator= (const BaseBinTreeNode &)=delete
 
Key & get_key ()
 
const Key & get_key () const
 
HeapNode< Key > *& get_lchild ()
 
HeapNode< Key > *& get_rchild ()
 
void reset ()
 

Additional Inherited Members

- Public Types inherited from Designar::BaseBinTreeNode< Key, HeapNode< Key >, BinTreeNodeNullValue::NULLPTR >
using KeyType = Key
 
- Static Public Attributes inherited from Designar::BaseBinTreeNode< Key, HeapNode< Key >, BinTreeNodeNullValue::NULLPTR >
static HeapNode< Key > *const null
 

Constructor & Destructor Documentation

template<typename Key>
Designar::HeapNode< Key >::HeapNode ( )
inline
template<typename Key>
Designar::HeapNode< Key >::HeapNode ( const Key &  k)
inline
template<typename Key>
Designar::HeapNode< Key >::HeapNode ( Key &&  k)
inline
template<typename Key>
Designar::HeapNode< Key >::HeapNode ( BinTreeNodeCtor  ctor)
inline

Member Function Documentation

template<typename Key>
HeapNodeBits& Designar::HeapNode< Key >::get_bits ( )
inline
template<typename Key>
HeapNode*& Designar::HeapNode< Key >::get_parent ( )
inline
template<typename Key>
unsigned int Designar::HeapNode< Key >::is_leaf ( ) const
inline
template<typename Key>
unsigned int Designar::HeapNode< Key >::is_left ( ) const
inline
template<typename Key>
void Designar::HeapNode< Key >::reset ( )
inline
template<typename Key>
void Designar::HeapNode< Key >::set_leaf ( unsigned int  value)
inline
template<typename Key>
void Designar::HeapNode< Key >::set_left ( unsigned int  value)
inline

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