ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
ListElement< T > Struct Template Reference

Description:

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

Extents BidiNodeBase by an value of type T .

Definition at line 33 of file list.hpp.

#include <list.hpp>

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

Public Field Index:

data
 The custom data object.
 
- Public Field Index: inherited from BidiNodeBase< ListElement< T > >
ListElement< T > * pprev
 
- Public Field Index: inherited from SidiNodeBase< ListElement< T > >
ListElement< T > * pnext
 

Additional Inherited Members

- Public Type Index: inherited from BidiNodeBase< ListElement< T > >
using FWDNode
 
- Public Method Index: inherited from BidiNodeBase< ListElement< T > >
 BidiNodeBase () noexcept=default
 
 BidiNodeBase (BidiNodeBase &&) noexcept=default
 
 BidiNodeBase (const BidiNodeBase &)=delete
 
 BidiNodeBase (ListElement< T > *next, ListElement< T > *prev) noexcept
 
void addBefore (ListElement< T > *elem)
 
void addBehind (ListElement< T > *elem)
 
BidiNodeBaseoperator= (BidiNodeBase &&) noexcept=default
 
BidiNodeBaseoperator= (const BidiNodeBase &)=delete
 
ListElement< T > * prev () const
 
void prev (BidiNodeBase *newPrev)
 
void remove ()
 
void remove (ListElement< T > *last)
 
- Public Method Index: inherited from SidiNodeBase< ListElement< T > >
 SidiNodeBase () noexcept=default
 
 SidiNodeBase (const SidiNodeBase &)=delete
 
 SidiNodeBase (ListElement< T > *next) noexcept
 
 SidiNodeBase (SidiNodeBase &&) noexcept=default
 
ListElement< T > * addBehind (ListElement< T > *elem)
 
integer count (SidiNodeBase *end=nullptr) const
 
bool hasNext () const
 
ListElement< T > * next () const
 
void next (SidiNodeBase *p)
 
SidiNodeBaseoperator= (const SidiNodeBase &)=delete
 
SidiNodeBaseoperator= (SidiNodeBase &&) noexcept=default
 
bool pointsTo (const SidiNodeBase *elem) const
 
ListElement< T > * removeNext ()
 
ListElement< T > * removeRangeBehind (ListElement< T > *last)
 

Field Details:

◆ data

template<typename T >
T data

The custom data object.

Definition at line 35 of file list.hpp.


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