Loading...
Searching...
No Matches
IdList< T > Class Template Reference Generic Real linked list. More...
Inheritance diagram for IdList< T >:
![]()
Detailed Descriptiontemplate<class T> class soplex::IdList< T > Generic Real linked list. Class IdList implements an intrusive Real linked list as a template class. As such, the list elements must provide the links themselfs. For conveniance, we also provide class IdElement that adds both links to an arbitrary class as template parameter. Constructor & Destructor Documentation◆ IdList()
template<class T>
default constructor. The default constructor may also be used to construct a sublist, by providing a Definition at line 365 of file idlist.h. References isConsistent(), and IsList< T >::IsList(). Member Function Documentation◆ append() [1/2]
template<class T>
◆ append() [2/2]
template<class T>
appends Definition at line 169 of file idlist.h. References last(), IsList< T >::the_first, and IsList< T >::the_last. ◆ first()
template<class T>
◆ insert() [1/2]
template<class T>
inserts Definition at line 232 of file idlist.h. References IsList< T >::find(), first(), IdList(), last(), and IsList< T >::the_last. ◆ insert() [2/2]
template<class T>
inserts Definition at line 197 of file idlist.h. References append(), IsList< T >::find(), and last(). ◆ isConsistent()
template<class T>
consistency check. Definition at line 334 of file idlist.h. References first(), IsList< T >::isConsistent(), last(), next(), and SPX_MSG_INCONSISTENT. Referenced by IdList(). ◆ last()
template<class T>
◆ move()
template<class T>
adjusts list pointers to a new memory address. When all elements have been moved in memory (e.g. because of reallocation) with a fixed offset Definition at line 319 of file idlist.h. References first(), last(), IsList< T >::move(), prev(), and IsList< T >::the_first. ◆ next()
template<class T>
returns successor of Definition at line 152 of file idlist.h. References last(). Referenced by isConsistent(), remove(), and remove_next(). ◆ prepend() [1/2]
template<class T>
◆ prepend() [2/2]
template<class T>
prepends Definition at line 183 of file idlist.h. References first(), IsList< T >::the_first, and IsList< T >::the_last. Referenced by prepend(). ◆ prev()
template<class T>
◆ remove() [1/2]
template<class T>
removes sublist Definition at line 279 of file idlist.h. References IsList< T >::find(), first(), IdList(), last(), IsList< T >::the_first, and IsList< T >::the_last. ◆ remove() [2/2]
template<class T>
removes Definition at line 260 of file idlist.h. References first(), last(), next(), IsList< T >::the_first, and IsList< T >::the_last. Referenced by remove_next(). ◆ remove_next()
|