Template class for intrusive linked lists. More...
#include <OpenFOAM/ILList.H>
Template class for intrusive linked lists.
Definition at line 65 of file ILList.H.
Inheritance diagram for ILList< LListBase, T >:
Collaboration diagram for ILList< LListBase, T >:Public Member Functions | |
| ILList () | |
| Null construct.
| |
| ILList (T *a) | |
| Construct given initial T.
| |
| ILList (Istream &) | |
| Construct from Istream.
| |
| ILList (const ILList< LListBase, T > &) | |
| Construct as copy.
| |
| template<class CloneArg > | |
| ILList (const ILList< LListBase, T > &lst, const CloneArg &cloneArg) | |
| Copy constructor with additional argument for clone.
| |
| template<class INew > | |
| ILList (Istream &, const INew &) | |
| Construct from Istream using given Istream constructor class.
| |
| ~ILList () | |
| bool | eraseHead () |
| Remove the head element specified from the list and delete it.
| |
| bool | erase (T *p) |
| Remove the specified element from the list and delete it.
| |
| void | clear () |
| Clear the contents of the list.
| |
| void | transfer (ILList< LListBase, T > &) |
| Transfer the contents of the argument into this List.
| |
| void | operator= (const ILList< LListBase, T > &) |
Friends | |
| Istream & | operator>> (Istream &, ILList< LListBase, T > &) |
| Read List from Istream, discarding contents of existing List.
| |
Construct from Istream.
Definition at line 141 of file ILListIO.C.
Construct from Istream using given Istream constructor class.
Definition at line 134 of file ILListIO.C.
| bool eraseHead | ( | ) |
| bool erase | ( | T * | p ) |
| void clear | ( | ) |
Clear the contents of the list.
Reimplemented in Cloud< ParticleType >, DsmcCloud< ParcelType >, dictionary, Cloud< BasicReactingMultiphaseParcel< ThermoType > >, Cloud< basicThermoParcel >, Cloud< indexedParticle >, Cloud< trackedParticle >, Cloud< ParcelType >, Cloud< parcel >, Cloud< basicKinematicParcel >, Cloud< solidParticle >, Cloud< CoalParcel< ThermoType > >, Cloud< molecule >, Cloud< passiveParticle >, Cloud< dsmcParcel >, Cloud< BasicReactingParcel< ThermoType > >, and DictionaryBase< IDLList< T >, T >.
Definition at line 114 of file ILList.C.
References clear().
Referenced by Foam::operator>>().