A FIFO stack based on a singly-linked list. More...
Public Member Functions | |
T | top () const |
T | bottom () const |
void | push (const T &element) |
void | push (T &&element) |
T | pop () |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
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 |
![]() | |
const typedef T * | const_pointer |
const typedef T & | const_reference |
A FIFO stack based on a singly-linked list.
Stack operations are push(), pop(), top(), bottom().
Definition at line 45 of file FIFOStack.H.
|
inline |
Definition at line 60 of file FIFOStack.H.
|
inline |
Definition at line 66 of file FIFOStack.H.
|
inline |
Definition at line 72 of file FIFOStack.H.
Referenced by averageCondition::calc(), PFA< CompType, ThermoType >::reduceMechanism(), DRG< CompType, ThermoType >::reduceMechanism(), DAC< CompType, ThermoType >::reduceMechanism(), and DRGEP< CompType, ThermoType >::reduceMechanism().
|
inline |
Definition at line 78 of file FIFOStack.H.
|
inline |
Definition at line 84 of file FIFOStack.H.
Referenced by averageCondition::calc(), PFA< CompType, ThermoType >::reduceMechanism(), DRG< CompType, ThermoType >::reduceMechanism(), DAC< CompType, ThermoType >::reduceMechanism(), and DRGEP< CompType, ThermoType >::reduceMechanism().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.