Nebula
Loading...
Searching...
No Matches
Util::List< TYPE >::Node Class Reference

Detailed Description

template<class TYPE>
class Util::List< TYPE >::Node

a node in the list

Private Member Functions

 Node (const TYPE &v)
 constructor
 
 ~Node ()
 destructor
 
void SetNext (Node *n)
 set pointer to next node
 
NodeGetNext () const
 get pointer to next node
 
void SetPrev (Node *p)
 set pointer to previous node
 
NodeGetPrev () const
 get pointer to previous node
 
TYPE & Value ()
 get value reference
 

Private Attributes

Nodenext
 
Nodeprev
 
TYPE value
 

Friends

class List
 
class Iterator
 

Constructor & Destructor Documentation

◆ Node()

template<class TYPE >
Util::List< TYPE >::Node::Node ( const TYPE & v)
private

constructor

◆ ~Node()

template<class TYPE >
Util::List< TYPE >::Node::~Node ( )
private

destructor

Member Function Documentation

◆ GetNext()

template<class TYPE >
List< TYPE >::Node * Util::List< TYPE >::Node::GetNext ( ) const
private

get pointer to next node

◆ GetPrev()

template<class TYPE >
List< TYPE >::Node * Util::List< TYPE >::Node::GetPrev ( ) const
private

get pointer to previous node

◆ SetNext()

template<class TYPE >
void Util::List< TYPE >::Node::SetNext ( Node * n)
private

set pointer to next node

◆ SetPrev()

template<class TYPE >
void Util::List< TYPE >::Node::SetPrev ( Node * p)
private

set pointer to previous node

◆ Value()

template<class TYPE >
TYPE & Util::List< TYPE >::Node::Value ( )
private

get value reference

Friends And Related Symbol Documentation

◆ Iterator

template<class TYPE >
friend class Iterator
friend

◆ List

template<class TYPE >
friend class List
friend

Member Data Documentation

◆ next

template<class TYPE >
Node* Util::List< TYPE >::Node::next
private

◆ prev

template<class TYPE >
Node* Util::List< TYPE >::Node::prev
private

◆ value

template<class TYPE >
TYPE Util::List< TYPE >::Node::value
private

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