CrystalSpace

Public API Reference

csList< T >::csListElement Struct Reference

Template which describes the data stored in the linked list For example a list of ints uses csListElement<int>. More...

#include <csutil/list.h>

List of all members.

Public Member Functions

 csListElement (const T &d, csListElement *newnext, csListElement *newprev)
 Use specified data.

Public Attributes

T data
 Stored data.
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.


Detailed Description

template<class T>
struct csList< T >::csListElement

Template which describes the data stored in the linked list For example a list of ints uses csListElement<int>.

Definition at line 41 of file list.h.


Constructor & Destructor Documentation

template<class T>
csList< T >::csListElement::csListElement ( const T &  d,
csListElement *  newnext,
csListElement *  newprev 
) [inline]

Use specified data.

Definition at line 44 of file list.h.


Member Data Documentation

template<class T>
T csList< T >::csListElement::data

template<class T>
csListElement* csList< T >::csListElement::next

template<class T>
csListElement* csList< T >::csListElement::prev


The documentation for this struct was generated from the following file:
Generated for Crystal Space 1.2.1 by doxygen 1.5.3