Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
Loading...
Searching...
No Matches
node< Kind > Class Template Reference

for std::vector More...

#include <queue.h>

Collaboration diagram for node< Kind >:
[legend]

Public Member Functions

 node (int d)
 

Public Attributes

int data
 
int height
 
struct nodeleft
 
struct noderight
 
int val
 
nodeleft
 
noderight
 
struct nodenext
 
nodenext
 
nodeprev
 
Kind data
 
node< Kind > * next
 
int key
 
nodeparent
 
char color
 
ValueType data = {}
 data at current node
 
std::shared_ptr< node< ValueType > > next
 pointer to the next node instance
 
nodelink
 

Detailed Description

template<class Kind>
class node< Kind >

for std::vector

Definition of the node

for IO operations for std::shared_ptr for std::invalid_argument Definition of the node as a linked-list

Template Parameters
ValueTypetype of data nodes of the linked list should contain

Constructor & Destructor Documentation

◆ node()

template<class Kind >
node< Kind >::node ( int  d)
inline
9 {
10 data = d;
11 link = NULL;
12 }

Member Data Documentation

◆ next

template<class Kind >
std::shared_ptr<node<ValueType> > node< Kind >::next
Initial value:
=
{}

pointer to the next node instance


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