Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

DoubleLinkedList< T > Class Template Reference

#include <DoubleLinkedList.h>


Public Member Functions

 DoubleLinkedList ()
 ~DoubleLinkedList ()
bool add (T data)
T get (int ind)
void remove (int ind)
void remove (T data)
void clear ()
int size ()
int indexOf (T data)

Private Attributes

CriticalSection cs
_ListItem * firstItem

template<typename T>
class DoubleLinkedList< T >


Constructor & Destructor Documentation

template<typename T>
DoubleLinkedList< T >::DoubleLinkedList (   )  [inline]
 

Definition at line 27 of file DoubleLinkedList.h.

template<typename T>
DoubleLinkedList< T >::~DoubleLinkedList (   )  [inline]
 

Definition at line 31 of file DoubleLinkedList.h.


Member Function Documentation

template<typename T>
bool DoubleLinkedList< T >::add (  T  data  )  [inline]
 

Definition at line 35 of file DoubleLinkedList.h.

template<typename T>
void DoubleLinkedList< T >::clear (   )  [inline]
 

Definition at line 132 of file DoubleLinkedList.h.

template<typename T>
T DoubleLinkedList< T >::get (  int  ind  )  [inline]
 

Definition at line 56 of file DoubleLinkedList.h.

Referenced by SocketHandler::Handle().

template<typename T>
int DoubleLinkedList< T >::indexOf (  T  data  )  [inline]
 

Definition at line 161 of file DoubleLinkedList.h.

template<typename T>
void DoubleLinkedList< T >::remove (  T  data  )  [inline]
 

Definition at line 104 of file DoubleLinkedList.h.

template<typename T>
void DoubleLinkedList< T >::remove (  int  ind  )  [inline]
 

Definition at line 74 of file DoubleLinkedList.h.

template<typename T>
int DoubleLinkedList< T >::size (   )  [inline]
 

Definition at line 147 of file DoubleLinkedList.h.

Referenced by SocketHandler::Handle().


Field Documentation

template<typename T>
CriticalSection DoubleLinkedList< T >::cs [private]
 

Definition at line 187 of file DoubleLinkedList.h.

template<typename T>
struct _ListItem* DoubleLinkedList< T >::firstItem [private]
 

Definition at line 188 of file DoubleLinkedList.h.


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