Elements for IdLists.IdElements are derived from the template parameter class T and can hence be used as such. The additional methods next() and prev() provide access to the links for the list. They may freely be used by the programmer as long as an IdElement is not member of a IdList. In this case, the IdList controls members next() and prev(). However, IdList should provide enough functionality for the user not to require any modification to these members. More...
#include <idlist.h>
Public Member Functions | |
Successors and predecessors | |
IdElement< T > *& | next () |
returns the next element in the IdList (writeable). More... | |
IdElement< T > *const & | next () const |
returns the next element in the IdList. More... | |
IdElement< T > *& | prev () |
returns the previous element in the IdList (writeable). More... | |
IdElement< T > *const & | prev () const |
returns the previous element in the IdList. More... | |
Construction / destruction | |
IdElement () | |
default constructor. More... | |
IdElement (const T &old) | |
copy constructor. More... | |
Private Attributes | |
Data | |
IdElement< T > * | theprev |
pointer to previous element in the IdList More... | |
IdElement< T > * | thenext |
pointer to next element in the IdList More... | |
Elements for IdLists.
IdElements are derived from the template parameter class T and can hence be used as such. The additional methods next() and prev() provide access to the links for the list. They may freely be used by the programmer as long as an IdElement is not member of a IdList. In this case, the IdList controls members next() and prev(). However, IdList should provide enough functionality for the user not to require any modification to these members.
IdElement | ( | const T & | old | ) |
IdElement<T>*& next | ( | ) |
returns the next element in the IdList (writeable).
Definition at line 67 of file idlist.h.
References IdElement< T >::thenext.
Referenced by IdList< soplex::SVSetBase::DLPSV >::isConsistent(), IdList< soplex::SVSetBase::DLPSV >::remove(), and IdList< soplex::SVSetBase::DLPSV >::remove_next().
IdElement<T>* const& next | ( | ) | const |
returns the next element in the IdList.
Definition at line 72 of file idlist.h.
References IdElement< T >::thenext.
IdElement<T>*& prev | ( | ) |
returns the previous element in the IdList (writeable).
Definition at line 78 of file idlist.h.
References IdElement< T >::theprev.
Referenced by IdList< soplex::SVSetBase::DLPSV >::move().
IdElement<T>* const& prev | ( | ) | const |
returns the previous element in the IdList.
Definition at line 83 of file idlist.h.
References IdElement< T >::theprev.
|
private |
pointer to next element in the IdList
Definition at line 58 of file idlist.h.
Referenced by IdElement< T >::next().
|
private |
pointer to previous element in the IdList
Definition at line 57 of file idlist.h.
Referenced by IdElement< T >::prev().