csList< T >::csListElement Struct Reference
Template which describs the data stored in the linked list For example a list of ints uses csListElement<int>. More...
#include <list.h>
Public Methods | |
csListElement (const T &d, csListElement *newnext, csListElement *newprev) | |
Use specified data. | |
Public Attributes | |
csListElement * | next |
Next element in list. If this is the last one, then next is 0. | |
csListElement * | prev |
Previous element in list. If this is the first one, prev is 0. | |
T | data |
Accual data. |
Detailed Description
template<class T>
struct csList< T >::csListElement
Template which describs the data stored in the linked list For example a list of ints uses csListElement<int>.
Definition at line 36 of file list.h.
Constructor & Destructor Documentation
|
Use specified data.
Definition at line 39 of file list.h. References csList< T >::csListElement::data, csList< T >::csListElement::next, and csList< T >::csListElement::prev. |
Member Data Documentation
|
Accual data.
Definition at line 51 of file list.h. Referenced by csList< T >::csList(), csList< T >::csListElement::csListElement(), csList< T >::Front(), csList< T >::Last(), csList< T >::Iterator::operator *(), csList< T >::Iterator::operator T *(), csList< T >::Iterator::operator->(), and csList< T >::operator=(). |
|
Next element in list. If this is the last one, then next is 0.
Definition at line 45 of file list.h. Referenced by csList< T >::csList(), csList< T >::csListElement::csListElement(), csList< T >::Delete(), csList< T >::DeleteAll(), csList< T >::Iterator::HasNext(), csList< T >::InsertAfter(), csList< T >::InsertBefore(), csList< T >::Iterator::IsLast(), csList< T >::Iterator::Next(), csList< T >::Iterator::operator++(), csList< T >::operator=(), and csList< T >::PushBack(). |
|
Previous element in list. If this is the first one, prev is 0.
Definition at line 48 of file list.h. Referenced by csList< T >::csListElement::csListElement(), csList< T >::Delete(), csList< T >::Iterator::HasPrevious(), csList< T >::InsertAfter(), csList< T >::InsertBefore(), csList< T >::Iterator::IsFirst(), csList< T >::Iterator::operator--(), csList< T >::Iterator::Prev(), and csList< T >::PushFront(). |
The documentation for this struct was generated from the following file:
- csutil/list.h
Generated for Crystal Space by doxygen 1.2.18