The storage of T with linked nodes. More...
Public Member Functions | |
link (const T &elem) | |
Copy construct from given object. More... | |
link (T &&elem) | |
Move construct from given object. More... | |
Static Public Member Functions | |
static T | remove (typename LListBase::link *node) |
Delete linked item and return the element value. More... | |
static constexpr T * | ptr (typename LListBase::link *node) |
Dereference LListBase::link to obtain address of stored object. More... | |
static constexpr const T * | ptr (const typename LListBase::link *node) |
Dereference LListBase::link to obtain address of stored object. More... | |
static constexpr T & | ref (typename LListBase::link *node) |
Dereference LListBase::link to obtain the stored object. More... | |
static constexpr const T & | ref (const typename LListBase::link *node) |
Dereference LListBase::link to obtain the stored object. More... | |
Public Attributes | |
T | val_ |
Stored object. More... | |
The storage of T with linked nodes.
|
inlinestatic |
Delete linked item and return the element value.
Definition at line 153 of file LList.H.
Referenced by LList< Foam::chemPointISAT< CompType, ThermoType > *>::remove(), and LList< Foam::chemPointISAT< CompType, ThermoType > *>::removeHead().
|
inlinestatic |
Dereference LListBase::link to obtain address of stored object.
Definition at line 164 of file LList.H.
References LList< LListBase, T >::link::val_.
Referenced by LList< LListBase, T >::iterator::operator->(), LList< LListBase, T >::const_iterator::operator->(), LList< LListBase, T >::reverse_iterator::operator->(), and LList< LListBase, T >::const_reverse_iterator::operator->().
|
inlinestatic |
Dereference LListBase::link to obtain address of stored object.
Definition at line 172 of file LList.H.
References LList< LListBase, T >::link::val_.
|
inlinestatic |
Dereference LListBase::link to obtain the stored object.
Definition at line 180 of file LList.H.
References LList< LListBase, T >::link::val_.
Referenced by LList< Foam::chemPointISAT< CompType, ThermoType > *>::back(), LList< Foam::chemPointISAT< CompType, ThermoType > *>::front(), LList< LListBase, T >::iterator::operator*(), LList< LListBase, T >::const_iterator::operator*(), LList< LListBase, T >::reverse_iterator::operator*(), and LList< LListBase, T >::const_reverse_iterator::operator*().
|
inlinestatic |
Dereference LListBase::link to obtain the stored object.
Definition at line 188 of file LList.H.
References LList< LListBase, T >::link::val_.
T val_ |
Stored object.
Definition at line 131 of file LList.H.
Referenced by LList< LListBase, T >::link::ptr(), and LList< LListBase, T >::link::ref().