Template class for non-intrusive linked lists. More...


Classes | |
| class | const_iterator |
| An STL-conforming const_iterator. More... | |
| class | iterator |
| An STL-conforming iterator. More... | |
| struct | link |
| Link structure. More... | |
Public Types | |
| typedef T | value_type |
| Type of values the LList contains. More... | |
| typedef T & | reference |
| Type that can be used for storing into value_type. More... | |
| typedef const T & | const_reference |
| Type that can be used for storing into constant. More... | |
| typedef label | size_type |
| The type that can represent the size of a LList. More... | |
| typedef LListBase::iterator | LListBase_iterator |
| typedef LListBase::const_iterator | LListBase_const_iterator |
Public Member Functions | |
| LList () | |
| Null construct. More... | |
| LList (T a) | |
| Construct given initial T. More... | |
| LList (Istream &) | |
| Construct from Istream. More... | |
| LList (const LList< LListBase, T > &) | |
| Construct as copy. More... | |
| LList (std::initializer_list< T >) | |
| Construct from an initializer list. More... | |
| ~LList () | |
| Destructor. More... | |
| T & | first () |
| Return the first entry added. More... | |
| const T & | first () const |
| Return const access to the first entry added. More... | |
| T & | last () |
| Return the last entry added. More... | |
| const T & | last () const |
| Return const access to the last entry added. More... | |
| void | insert (const T &a) |
| Add at head of list. More... | |
| void | append (const T &a) |
| Add at tail of list. More... | |
| T | removeHead () |
| Remove and return head. More... | |
| T | remove (link *l) |
| Remove and return element. More... | |
| T | remove (iterator &it) |
| Remove and return element specified by iterator. More... | |
| void | clear () |
| Delete contents of list. More... | |
| void | transfer (LList< LListBase, T > &) |
| Transfer the contents of the argument into this List. More... | |
| void | operator= (const LList< LListBase, T > &) |
| Assignment operator. More... | |
| void | operator= (std::initializer_list< T >) |
| Assignment to an initializer list. More... | |
| iterator | begin () |
| const iterator & | end () |
| const_iterator | cbegin () const |
| const const_iterator & | cend () const |
| const_iterator | begin () const |
| const const_iterator & | end () const |
Friends | |
| class | iterator |
| class | const_iterator |
| Istream & | operator>> (Istream &, LList< LListBase, T > &) |
| Ostream & | operator (Ostream &, const LList< LListBase, T > &) |
Template class for non-intrusive linked lists.
| typedef T value_type |
| typedef const T& const_reference |
Type that can be used for storing into constant.
LList::value_type objects.
| typedef LListBase::iterator LListBase_iterator |
| typedef LListBase::const_iterator LListBase_const_iterator |
|
inline |
Null construct.
Definition at line 108 of file LList.H.
Referenced by LList< Foam::chemPointISAT< CompType, ThermoType > *>::LList().

| ~LList | ( | ) |
Destructor.
Definition at line 55 of file LList.C.
Referenced by LList< Foam::chemPointISAT< CompType, ThermoType > *>::LList().

|
inline |
Return the first entry added.
Definition at line 136 of file LList.H.
Referenced by FIFOStack< writeData *>::bottom(), LPtrList< LListBase, T >::first(), Foam::polyMeshZipUpCells(), LIFOStack< label >::top(), and ISAT< CompType, ThermoType >::~ISAT().

|
inline |
|
inline |
Return the last entry added.
Definition at line 148 of file LList.H.
Referenced by LIFOStack< label >::bottom(), LPtrList< LListBase, T >::last(), Foam::polyMeshZipUpCells(), FIFOStack< writeData *>::top(), and ISAT< CompType, ThermoType >::~ISAT().

|
inline |
|
inline |
Add at head of list.
Definition at line 163 of file LList.H.
Referenced by Foam::polyMeshZipUpCells(), and LIFOStack< label >::push().

|
inline |
Add at tail of list.
Definition at line 169 of file LList.H.
Referenced by LList< Foam::chemPointISAT< CompType, ThermoType > *>::LList(), Foam::polyMeshZipUpCells(), FIFOStack< writeData *>::push(), Foam::blockMeshTools::read(), and PtrList< transferModel >::read().

|
inline |
Remove and return head.
Definition at line 175 of file LList.H.
Referenced by Foam::polyMeshZipUpCells(), LIFOStack< label >::pop(), and FIFOStack< writeData *>::pop().

| void clear | ( | ) |
Delete contents of list.
Definition at line 64 of file LList.C.
Referenced by LList< Foam::chemPointISAT< CompType, ThermoType > *>::LList(), and LList< Foam::chemPointISAT< CompType, ThermoType > *>::remove().

Transfer the contents of the argument into this List.
and annul the argument list.
Definition at line 77 of file LList.C.
Referenced by LList< Foam::chemPointISAT< CompType, ThermoType > *>::remove().

Assignment operator.
Definition at line 87 of file LList.C.
Referenced by LList< Foam::chemPointISAT< CompType, ThermoType > *>::remove().

|
inline |
Definition at line 275 of file LList.H.
Referenced by FixedList< Type, 3 >::FixedList(), FixedList< Type, 3 >::operator=(), List< Field< scalar > >::operator=(), PtrList< transferModel >::read(), UList< Foam::wordRe >::writeEntry(), and ISAT< CompType, ThermoType >::~ISAT().

|
inline |
Definition at line 280 of file LList.H.
Referenced by List< Field< scalar > >::operator=(), Foam::polyMeshZipUpCells(), PtrList< transferModel >::read(), UList< Foam::wordRe >::writeEntry(), and ISAT< CompType, ThermoType >::~ISAT().

|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
Definition at line 82 of file LList.H.
Referenced by LList< Foam::chemPointISAT< CompType, ThermoType > *>::end().
|
friend |
Definition at line 85 of file LList.H.
Referenced by LList< Foam::chemPointISAT< CompType, ThermoType > *>::cend(), and LList< Foam::chemPointISAT< CompType, ThermoType > *>::end().
1.8.13