Template class for intrusive linked lists. More...
Public Member Functions | |
ILList () | |
Null construct. More... | |
ILList (T *a) | |
Construct given initial T. More... | |
ILList (Istream &) | |
Construct from Istream. More... | |
ILList (const ILList< LListBase, T > &) | |
Construct as copy. More... | |
template<class CloneArg > | |
ILList (const ILList< LListBase, T > &lst, const CloneArg &cloneArg) | |
Copy constructor with additional argument for clone. More... | |
template<class INew > | |
ILList (Istream &, const 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 *p) |
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 > &) |
Transfer the contents of the argument into this List. More... | |
void | operator= (const ILList< LListBase, T > &) |
Private Member Functions | |
template<class INew > | |
void | read (Istream &, const INew &) |
Read from Istream using given Istream constructor class. More... | |
Friends | |
Istream & | operator>> (Istream &, ILList< LListBase, T > &) |
Read List from Istream, discarding contents of existing List. More... | |
Template class for intrusive linked lists.
Construct from Istream using given Istream constructor class.
Definition at line 131 of file ILListIO.C.
Read from Istream using given Istream constructor class.
Definition at line 34 of file ILListIO.C.
bool eraseHead | ( | ) |
bool erase | ( | T * | p | ) |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.