FreeNOS
Public Member Functions | Data Fields
List< T >::Node Class Reference

Represents an item on the List. More...

#include <List.h>

Public Member Functions

 Node (T t)
 Constructor.
 

Data Fields

data
 Item of this node.
 
Nodeprev
 Previous node.
 
Nodenext
 Next node.
 

Detailed Description

template<class T>
class List< T >::Node

Represents an item on the List.

Definition at line 43 of file List.h.

Constructor & Destructor Documentation

◆ Node()

template<class T >
List< T >::Node::Node ( t)
inline

Constructor.

Definition at line 50 of file List.h.

References List< T >::Node::next, List< T >::Node::prev, and ZERO.

Field Documentation

◆ data

template<class T >
T List< T >::Node::data

◆ next

template<class T >
Node* List< T >::Node::next

◆ prev

template<class T >
Node* List< T >::Node::prev

Previous node.

Definition at line 60 of file List.h.

Referenced by List< T >::append(), List< T >::Node::Node(), List< T >::prepend(), and List< T >::remove().


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