Extents BidiNodeBase by an value of type T.
#include <list.hpp>
Public Field Index: | |
T | data |
The custom data object. | |
Public Field Index: inherited from BidiNodeBase< ListElement< T > > | |
ListElement< T > * | p |
Public Field Index: inherited from SidiNodeBase< ListElement< T > > | |
ListElement< T > * | n |
Additional Inherited Members | |
Public Type Index: inherited from BidiNodeBase< ListElement< T > > | |
using | FWDNode |
Alias name for an instantiation of the base template. | |
Public Method Index: inherited from BidiNodeBase< ListElement< T > > | |
BidiNodeBase () noexcept=default | |
Default constructor. (Does not initialize the pointer!) | |
BidiNodeBase (BidiNodeBase &&) noexcept=default | |
Defaulted move constructor. | |
BidiNodeBase (const BidiNodeBase &)=delete | |
BidiNodeBase (ListElement< T > *next, ListElement< T > *prev) noexcept | |
void | addBefore (ListElement< T > *elem) noexcept |
void | addBehind (ListElement< T > *elem) noexcept |
BidiNodeBase & | operator= (BidiNodeBase &&) noexcept=default |
BidiNodeBase & | operator= (const BidiNodeBase &)=delete |
ListElement< T > * | prev () const noexcept |
void | prev (BidiNodeBase *previous) noexcept |
void | remove () noexcept |
Unhooks this node from a list. | |
void | remove (ListElement< T > *last) noexcept |
Public Method Index: inherited from SidiNodeBase< ListElement< T > > | |
SidiNodeBase () noexcept=default | |
Default constructor. (Does not initialize the pointer.) | |
SidiNodeBase (const SidiNodeBase &)=delete | |
SidiNodeBase (ListElement< T > *next) noexcept | |
SidiNodeBase (SidiNodeBase &&) noexcept=default | |
Defaulted move constructor. | |
ListElement< T > * | addBehind (ListElement< T > *elem) noexcept |
integer | count (SidiNodeBase *end=nullptr) const noexcept |
bool | hasNext () const |
ListElement< T > * | next () const |
void | next (SidiNodeBase *p) |
SidiNodeBase & | operator= (const SidiNodeBase &)=delete |
SidiNodeBase & | operator= (SidiNodeBase &&) noexcept=default |
bool | pointsTo (const SidiNodeBase *elem) const |
ListElement< T > * | removeNext () noexcept |
ListElement< T > * | removeRangeBehind (ListElement< T > *last) noexcept |