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. More...
 

Data Fields

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

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

Item of this node.

Definition at line 57 of file List.h.

Referenced by List< ATADrive * >::at(), List< ATADrive * >::first(), and List< ATADrive * >::last().

◆ 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 >::Node::Node(), List< ATADrive * >::prepend(), and List< ATADrive * >::remove().


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