Falcon::LinkedList< _T > Class Template Reference

Linked list class. More...

#include <llist.h>

List of all members.

Public Member Functions

_T * back ()
bool empty () const
_T * front ()
 LinkedList ()
_T * pop_back ()
_T * pop_front ()
void push_back (_T *e)
void push_front (_T *e)
void remove (_T *e)
uint32 size () const


Detailed Description

template<class _T>
class Falcon::LinkedList< _T >

Linked list class.

This class is quite similar to a STL linked list; the main difference is that the elements that are in the list have the linked list pointers inside them; this is useful when is not advisable to have external pointers holding the items, and the control of allocated memory must be inside the linked item themselves.

Class _T must be a subclass of Falcon::LinkableElement or the compilation of this module will fail.


Constructor & Destructor Documentation

template<class _T>
Falcon::LinkedList< _T >::LinkedList (  )  [inline]


Member Function Documentation

template<class _T>
_T* Falcon::LinkedList< _T >::back (  )  [inline]

template<class _T>
bool Falcon::LinkedList< _T >::empty (  )  const [inline]

template<class _T>
_T* Falcon::LinkedList< _T >::front (  )  [inline]

template<class _T>
_T* Falcon::LinkedList< _T >::pop_back (  )  [inline]

template<class _T>
_T* Falcon::LinkedList< _T >::pop_front (  )  [inline]

template<class _T>
void Falcon::LinkedList< _T >::push_back ( _T *  e  )  [inline]

template<class _T>
void Falcon::LinkedList< _T >::push_front ( _T *  e  )  [inline]

template<class _T>
void Falcon::LinkedList< _T >::remove ( _T *  e  )  [inline]

template<class _T>
uint32 Falcon::LinkedList< _T >::size (  )  const [inline]


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

Generated on Mon Oct 19 10:11:37 2009 for Falcon_Core by  doxygen 1.5.8