![]() |
Public API Reference |
![]() |
Template which describes the data stored in the linked list For example a list of ints uses ListElement<int>. More...
#include <csutil/list.h>
Public Member Functions | |
ListElement (const T &d, ListElement *newnext, ListElement *newprev) | |
Use specified data. | |
Public Attributes | |
T | data |
Stored data. | |
ListElement * | next |
Next element in list. If this is the last one, then next is 0. | |
ListElement * | prev |
Previous element in list. If this is the first one, prev is 0. |
Template which describes the data stored in the linked list For example a list of ints uses ListElement<int>.
csList< T, MemoryAllocator >::ListElement::ListElement | ( | const T & | d, |
ListElement * | newnext, | ||
ListElement * | newprev | ||
) | [inline] |
T csList< T, MemoryAllocator >::ListElement::data |
ListElement* csList< T, MemoryAllocator >::ListElement::next |
ListElement* csList< T, MemoryAllocator >::ListElement::prev |