Template class for intrusive linked lists. More...
Public Member Functions | |
| ILList ()=default | |
| Null construct. More... | |
| ILList (T *item) | |
| Construct and insert the initial T item pointer. More... | |
| ILList (Istream &is) | |
| Construct from Istream. More... | |
| ILList (const ILList< LListBase, T > &lst) | |
| Copy construct using the 'clone()' method for each element. More... | |
| ILList (ILList< LListBase, T > &&lst) | |
| Move construct. More... | |
| template<class CloneArg > | |
| ILList (const ILList< LListBase, T > &lst, const CloneArg &cloneArg) | |
| Copy constructor with additional argument for clone 'clone()'. More... | |
| template<class INew > | |
| ILList (Istream &is, const INew &inew) | |
| Construct from Istream using given Istream constructor class. More... | |
| ~ILList () | |
| Destructor. More... | |
| bool | eraseHead () |
| Remove the head element specified from the list and delete it. More... | |
| bool | erase (T *item) |
| Remove the specified element from the list and delete it. More... | |
| void | clear () |
| Clear the contents of the list. More... | |
| void | transfer (ILList< LListBase, T > &lst) |
| void | operator= (const ILList< LListBase, T > &lst) |
| Copy assignment using the 'clone()' method for each element. More... | |
| void | operator= (ILList< LListBase, T > &&lst) |
| Move assignment. More... | |
Friends | |
| Istream & | operator>> (Istream &is, ILList< LListBase, T > &list) |
| Read from Istream, discarding existing contents. More... | |
Template class for intrusive linked lists.
|
default |
Null construct.
Construct from Istream.
Definition at line 143 of file ILListIO.C.
Construct from Istream using given Istream constructor class.
Definition at line 136 of file ILListIO.C.
| ~ILList | ( | ) |
| bool eraseHead | ( | ) |
Remove the specified element from the list and delete it.
Definition at line 97 of file ILList.C.
Referenced by refinementSurfaces::refinementSurfaces(), and shellSurfaces::shellSurfaces().
| void clear | ( | ) |
Clear the contents of the list.
Definition at line 112 of file ILList.C.
References clear().
Referenced by DSMCCloud< ParcelType >::clear().
Read from Istream, discarding existing contents.