The storage of T with linked nodes. More...
#include <LList.H>


Public Member Functions | |
| link (const T &elem) | |
| Copy construct from given object. | |
| link (T &&elem) | |
| Move construct from given object. | |
Static Public Member Functions | |
| static T | remove (typename LListBase::link *node) |
| Delete linked item and return the element value. | |
| static constexpr T * | ptr (typename LListBase::link *node) |
| Dereference LListBase::link to obtain address of stored object. | |
| static constexpr const T * | ptr (const typename LListBase::link *node) |
| Dereference LListBase::link to obtain address of stored object. | |
| static constexpr T & | ref (typename LListBase::link *node) |
| Dereference LListBase::link to obtain the stored object. | |
| static constexpr const T & | ref (const typename LListBase::link *node) |
| Dereference LListBase::link to obtain the stored object. | |
Public Attributes | |
| T | val_ |
| Stored object. | |
The storage of T with linked nodes.
Delete linked item and return the element value.
Definition at line 153 of file LList.H.
References link(), p, and Foam::T().
Referenced by LList< LListBase, T * >::remove(), LList< LListBase, T * >::remove(), and LList< LListBase, T * >::removeHead().


|
inlinestaticconstexpr |
Dereference LListBase::link to obtain address of stored object.
Definition at line 164 of file LList.H.
References link(), and Foam::T().
Referenced by LList< LListBase, T >::const_iterator::operator->(), LList< LListBase, T >::const_reverse_iterator::operator->(), LList< LListBase, T >::iterator::operator->(), and LList< LListBase, T >::reverse_iterator::operator->().


|
inlinestaticconstexpr |
Dereference LListBase::link to obtain the stored object.
Definition at line 180 of file LList.H.
References link(), Foam::T(), and val_.
Referenced by LList< LListBase, T * >::back(), LList< LListBase, T * >::back(), LList< LListBase, T * >::front(), LList< LListBase, T * >::front(), LList< LListBase, T >::const_iterator::operator*(), LList< LListBase, T >::const_reverse_iterator::operator*(), LList< LListBase, T >::iterator::operator*(), and LList< LListBase, T >::reverse_iterator::operator*().

