Scippy

SoPlex

Sequential object-oriented simPlex

islist.h File Reference

Generic single linked list. More...

#include <assert.h>
#include <stddef.h>
#include <iostream>

Go to the source code of this file.

Classes

class  IsElement< T >
 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). More...
 
class  IsList< T >
 Generic single linked list.Class IsList implements an intrusive single linked list of elements of a template class T. As an intrusive list, the objects of type T must provide methods next() for setting and inquiring a pointer to the next element in a list. The user is responsible for not modifying the next() pointer of elements currently residing in a list, which may destroy the lists integrity. For this, class IsList provides enough methods for modifying a list in a save way. See the method list for a description. More...
 

Namespaces

 soplex
 Everything should be within this namespace.
 

Detailed Description

Generic single linked list.

Definition in file islist.h.