DLListBase::link Struct Reference

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

Collaboration diagram for DLListBase::link:

Public Member Functions

 link () noexcept=default
 Default construct. More...
 
bool registered () const noexcept
 Node registered (linked) in a 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 64 of file DLListBase.H.

Constructor & Destructor Documentation

◆ link()

link ( )
defaultnoexcept

Default construct.

Member Function Documentation

◆ registered()

bool registered ( ) const
inlinenoexcept

Node registered (linked) in a list?

Definition at line 84 of file DLListBase.H.

References DLListBase::link::next_, and DLListBase::link::prev_.

◆ deregister()

void deregister ( )
inlinenoexcept

Deregister the node (after removal)

Definition at line 89 of file DLListBase.H.

References DLListBase::link::next_, and DLListBase::link::prev_.

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

Here is the caller graph for this function:

Member Data Documentation

◆ prev_

◆ next_


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