torque Torque Game Engine Documentation
TGE Version 1.5.2

LList< T > Class Template Reference

#include <llist.h>

Inheritance diagram for LList< T >:

Inheritance graph
[legend]


template<class T> class LList< T >


Public Member Functions

 LList ()
void reset (void)
int size (void) const
T * first (void) const
T * last (void) const
T * next (T *current)
T * prev (T *current)
T * link (T *entry, T *next=NULL)
T * link (T &entry, T *next=NULL)
void unlink (T *entry)
T * alloc (T *next=NULL)
void free (T *entry)
void free (void)
LListNode< T > * findNode (T *entry)
LListNode< T > * iterate (LListNode< T > *entry=NULL)

Protected Attributes

LListNode< T > * first_entry
LListNode< T > * last_entry
int cnt

Constructor & Destructor Documentation

template<class T>
LList< T >::LList (  )  [inline]


Member Function Documentation

template<class T>
void LList< T >::reset ( void   )  [inline]

template<class T>
int LList< T >::size ( void   )  const [inline]

template<class T>
T* LList< T >::first ( void   )  const [inline]

template<class T>
T* LList< T >::last ( void   )  const [inline]

template<class T>
T* LList< T >::next ( T *  current  )  [inline]

template<class T>
T* LList< T >::prev ( T *  current  )  [inline]

template<class T>
T* LList< T >::link ( T *  entry,
T *  next = NULL 
) [inline]

template<class T>
T* LList< T >::link ( T &  entry,
T *  next = NULL 
) [inline]

template<class T>
void LList< T >::unlink ( T *  entry  )  [inline]

template<class T>
T* LList< T >::alloc ( T *  next = NULL  )  [inline]

template<class T>
void LList< T >::free ( T *  entry  )  [inline]

template<class T>
void LList< T >::free ( void   )  [inline]

template<class T>
LListNode<T>* LList< T >::findNode ( T *  entry  )  [inline]

template<class T>
LListNode<T>* LList< T >::iterate ( LListNode< T > *  entry = NULL  )  [inline]


Field Documentation

template<class T>
LListNode< T >* LList< T >::first_entry [protected]

template<class T>
LListNode< T >* LList< T >::last_entry [protected]

template<class T>
int LList< T >::cnt [protected]




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen