Template class for non-intrusive linked lists. More...
Classes | |
class | const_iterator |
class | const_reverse_iterator |
class | iterator |
struct | link |
class | reverse_iterator |
Public Types | |
typedef T | value_type |
typedef T * | pointer |
typedef T & | reference |
typedef label | size_type |
typedef label | difference_type |
using | base_iterator = typename LListBase::iterator |
using | const_base_iterator = typename LListBase::const_iterator |
Public Member Functions | |
LList ()=default | |
LList (const T &item) | |
LList (T &&item) | |
LList (Istream &is) | |
LList (const LList< LListBase, T > &lst) | |
LList (LList< LListBase, T > &&lst) | |
LList (std::initializer_list< T > lst) | |
~LList () | |
reference | first () |
const_reference | first () const |
reference | last () |
const_reference | last () const |
void | insert (const T &item) |
void | insert (T &&item) |
void | append (const T &item) |
void | append (T &&item) |
T | removeHead () |
T | remove (link *item) |
T | remove (iterator &iter) |
void | clear () |
void | transfer (LList< LListBase, T > &lst) |
void | operator= (const LList< LListBase, T > &lst) |
void | operator= (LList< LListBase, T > &&lst) |
void | operator= (std::initializer_list< T > lst) |
Istream & | readList (Istream &is) |
Ostream & | writeList (Ostream &os, const label shortLen=0) const |
iterator | begin () |
const_iterator | cbegin () const |
reverse_iterator | rbegin () |
const_reverse_iterator | crbegin () const |
const_iterator | begin () const |
const_reverse_iterator | rbegin () const |
const iterator & | end () |
const const_iterator & | cend () const |
const reverse_iterator & | rend () |
const const_reverse_iterator & | crend () const |
const const_iterator & | end () const |
const const_reverse_iterator & | rend () const |
Public Attributes | |
const typedef T * | const_pointer |
const typedef T & | const_reference |
Friends | |
Istream & | operator>> (Istream &, LList< LListBase, T > &lst) |
Ostream & | operator (Ostream &os, const LList< LListBase, T > &lst) |
Template class for non-intrusive linked lists.
typedef T value_type |
typedef label difference_type |
using base_iterator = typename LListBase::iterator |
using const_base_iterator = typename LListBase::const_iterator |
|
default |
|
inline |
Definition at line 195 of file LList.H.
Referenced by FIFOStack< writeData * >::bottom(), LPtrList::first(), Foam::polyMeshZipUpCells(), and LIFOStack< T >::top().
|
inline |
|
inline |
Definition at line 207 of file LList.H.
Referenced by LIFOStack< T >::bottom(), LPtrList::last(), Foam::polyMeshZipUpCells(), and FIFOStack< writeData * >::top().
|
inline |
|
inline |
Definition at line 220 of file LList.H.
Referenced by LList< Foam::chemPointISAT< CompType, ThermoType > * >::LList(), Foam::polyMeshZipUpCells(), and LIFOStack< T >::push().
|
inline |
Definition at line 233 of file LList.H.
Referenced by Foam::bandCompression(), Foam::polyMeshZipUpCells(), FIFOStack< writeData * >::push(), Foam::blockMeshTools::read(), PtrList< transferModel >::readIstream(), and LList< Foam::chemPointISAT< CompType, ThermoType > * >::readList().
|
inline |
Definition at line 246 of file LList.H.
Referenced by Foam::bandCompression(), Foam::polyMeshZipUpCells(), FIFOStack< writeData * >::pop(), LIFOStack< T >::pop(), and UList< Foam::wordRe >::readList().
void clear | ( | ) |
Definition at line 70 of file LList.C.
Referenced by LList< Foam::chemPointISAT< CompType, ThermoType > * >::readList().
Foam::Istream & readList | ( | Istream & | is | ) |
Foam::Ostream & writeList | ( | Ostream & | os, |
const label | shortLen = 0 |
||
) | const |
|
inline |
Definition at line 493 of file LList.H.
Referenced by FixedList< Type, 3 >::FixedList(), and FixedList< Type, 3 >::operator=().
|
inline |
Definition at line 499 of file LList.H.
Referenced by averageCondition::calc().
|
inline |
|
inline |
Definition at line 511 of file LList.H.
Referenced by LList< Foam::chemPointISAT< CompType, ThermoType > * >::rbegin().
|
inline |
|
inline |
|
inline |
Definition at line 530 of file LList.H.
Referenced by namesList< solutionEntry >::find().
|
inline |
Definition at line 536 of file LList.H.
Referenced by LList< Foam::chemPointISAT< CompType, ThermoType > * >::end().
|
inline |
|
inline |
Definition at line 548 of file LList.H.
Referenced by LList< Foam::chemPointISAT< CompType, ThermoType > * >::rend().
|
inline |
|
inline |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.