Torque2D Reference
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
LList< T > Class Template Reference

#include <linkedList.h>

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

LList ( )
inline

Member Function Documentation

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

Member Data Documentation

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

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