List< Node > Class Template Reference
[Kernel Module]

#include <list.h>

Inheritance diagram for List< Node >:

Pool< Node > TreeNode< Node >

List of all members.


Detailed Description

template<class Node>
class List< Node >

Implements double linked list.

Node has to be only ListNode derived class!

Public Member Functions

 List ()
virtual ~List ()
bool IsEmpty () const
Node * GetFront () const
Node * GetBack () const
void PushFront (Node *node)
void PushBack (Node *node)
Node * PopFront ()
Node * PopBack ()

Private Attributes

ListNode< Node > * front
ListNode< Node > * back


Constructor & Destructor Documentation

template<class Node>
List< Node >::List (  )  [inline]

template<class Node>
List< Node >::~List (  )  [inline, virtual]


Member Function Documentation

template<class Node>
bool List< Node >::IsEmpty (  )  const [inline]

template<class Node>
Node * List< Node >::GetFront (  )  const [inline]

Returns first child object, or NULL if no child objects exist.

template<class Node>
Node * List< Node >::GetBack (  )  const [inline]

Returns last child object, or NULL if no child objects exist.

template<class Node>
void List< Node >::PushFront ( Node *  node  )  [inline]

Reimplemented in HashList.

template<class Node>
void List< Node >::PushBack ( Node *  node  )  [inline]

Reimplemented in HashList.

template<class Node>
Node * List< Node >::PopFront (  )  [inline]

Reimplemented in HashList.

template<class Node>
Node * List< Node >::PopBack (  )  [inline]

Reimplemented in HashList.


Member Data Documentation

template<class Node>
ListNode<Node>* List< Node >::front [private]

template<class Node>
ListNode<Node>* List< Node >::back [private]


The documentation for this class was generated from the following file:
Generated on Sat Oct 20 14:47:32 2007 for Dark Oberon by  doxygen 1.5.3