Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
Loading...
Searching...
No Matches
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 node * left
 
struct node * right
 
int val
 
node * left
 
node * right
 
struct node * next
 
node * next
 
node * prev
 
Kind data
 
node< Kind > * next
 
int key
 
node * parent
 
char color
 
Type data
 data at current node
 
node< Type > * next
 pointer to the next node instance
 
node * link
 

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: