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

#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
 
Type data
 data at current node
 
node< Type > * next
 pointer to the next node instance
 
nodelink
 

Detailed Description

template<class Kind>
class node< Kind >

Definition of the node

Definition of the node as a linked-list

Template Parameters
Typetype 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 }

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