DLListBase::link Struct Reference

The structure for a doubly-linked storage node. More...

Collaboration diagram for DLListBase::link:
[legend]

Public Member Functions

 link ()=default
 Default construct. More...
 
bool registered () const noexcept
 Check if the node is registered with the list. More...
 
void deregister () noexcept
 Deregister the node after removal. More...
 

Public Attributes

linkprev_ = nullptr
 Pointer to prev entry in list. More...
 
linknext_ = nullptr
 Pointer to next entry in list. More...
 

Detailed Description

The structure for a doubly-linked storage node.

Definition at line 66 of file DLListBase.H.

Constructor & Destructor Documentation

◆ link()

link ( )
default

Default construct.

Member Function Documentation

◆ registered()

bool registered ( ) const
inlinenoexcept

Check if the node is registered with the list.

Definition at line 102 of file DLListBaseI.H.

◆ deregister()

void deregister ( )
inlinenoexcept

Deregister the node after removal.

Definition at line 108 of file DLListBaseI.H.

Referenced by DLListBase::remove(), DLListBase::removeHead(), and DLListBase::replace().

Here is the caller graph for this function:

Member Data Documentation

◆ prev_

link* prev_ = nullptr

Pointer to prev entry in list.

Definition at line 69 of file DLListBase.H.

Referenced by DLListBase::append(), DLListBase::prepend(), DLListBase::remove(), DLListBase::replace(), DLListBase::swapDown(), and DLListBase::swapUp().

◆ next_

link* next_ = nullptr

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