ALib C++ Framework
by
Library Version: 2605 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::containers::detail::ListElement< T > Struct Template Reference

Description:

template<typename T>
struct alib::containers::detail::ListElement< T >

Extents BidiNodeBase by an value of type T.

Definition at line 14 of file list.hpp.

#include <list.hpp>

Inheritance diagram for alib::containers::detail::ListElement< T >:
[legend]
Collaboration diagram for alib::containers::detail::ListElement< T >:
[legend]

Public Field Index:

T data
 The custom data object.
Public Field Index: inherited from alib::lang::BidiNodeBase< ListElement< T > >
ListElement< T > * p
Public Field Index: inherited from alib::lang::SidiNodeBase< ListElement< T > >
ListElement< T > * n

Additional Inherited Members

Public Type Index: inherited from alib::lang::BidiNodeBase< ListElement< T > >
using FWDNode
 Alias name for an instantiation of the base template.
Public Method Index: inherited from alib::lang::BidiNodeBase< ListElement< T > >
 BidiNodeBase () noexcept=default
 Default constructor. (Does not initialize the pointer!).
void addBefore (ListElement< T > *elem) noexcept
void addBehind (ListElement< T > *elem) noexcept
BidiNodeBase & operator= (const BidiNodeBase &)=delete
ListElement< T > * prev () const noexcept
void remove () noexcept
 Unhooks this node from a list.
Public Method Index: inherited from alib::lang::SidiNodeBase< ListElement< T > >
 SidiNodeBase () noexcept=default
 Default constructor. (Does not initialize the pointer.).
ListElement< T > * addBehind (ListElement< T > *elem) noexcept
integer count (SidiNodeBase *end=nullptr) const noexcept
bool hasNext () const
void next (SidiNodeBase *p)
SidiNodeBase & operator= (const SidiNodeBase &)=delete
bool pointsTo (const SidiNodeBase *elem) const
ListElement< T > * removeNext () noexcept
ListElement< T > * removeRangeBehind (ListElement< T > *last) noexcept

Field Details:

◆ data

template<typename T>
T alib::containers::detail::ListElement< T >::data

The custom data object.

Definition at line 15 of file list.hpp.


The documentation for this struct was generated from the following file: