#include <islist.h>
| Public Member Functions | |
| Successor | |
| IsElement< T > *& | next () | 
| IsElement< T > * | next () const | 
| returns the next element in the IsList.  More... | |
| Constructors / destructors | |
| IsElement () | |
| default constructor.  More... | |
| IsElement (const T &old) | |
| IsElement (const IsElement< T > &old) | |
| copy constructor.  More... | |
| Protected Attributes | |
| Data | |
| IsElement< T > * | the_next | 
| pointer to next element in the IsList.  More... | |
Elements for IsLists.
Class IsElement allows to easily construct list elements for an intrusive single linked list IsList out of a template class T. It adds a next pointer to each element. An instance of IdElement<T> a can be used just like an instance of T itself, except that method next() has been added (thereby overriding any method next() defined in T).
| IsElement< T > *& next | ( | ) | 
Definition at line 69 of file islist.h.
References IsElement< T >::the_next.
| IsElement< T > * next | ( | ) | const | 
returns the next element in the IsList.
Definition at line 74 of file islist.h.
References IsElement< T >::the_next.
| 
 | protected | 
pointer to next element in the IsList.
Definition at line 60 of file islist.h.
Referenced by IsElement< T >::next().