alternative Standard Libary  0.29.8
std::internal::list_base_node Strukturreferenz

#include <list.hpp>

+ Zusammengehörigkeiten von std::internal::list_base_node:

Öffentliche Methoden

 list_base_node ()
 
void reset ()
 
bool in_list () const
 
void link_before (list_base_node *nextNode)
 
void unlink ()
 

Öffentliche Attribute

list_base_nodeprev
 
list_base_nodenext
 

Ausführliche Beschreibung

Beschreibung der Konstruktoren und Destruktoren

◆ list_base_node()

std::internal::list_base_node::list_base_node ( )
inline
46  {
47  reset();
48  }
void reset()
Definition: list.hpp:49

Dokumentation der Elementfunktionen

◆ in_list()

bool std::internal::list_base_node::in_list ( ) const
inline
53 { return this != next; }
list_base_node * next
Definition: list.hpp:59

◆ link_before()

void std::internal::list_base_node::link_before ( list_base_node nextNode)
32  {
33  assert(!in_list());
34  prev = nextNode->prev;
35  prev->next = this;
36  nextNode->prev = this;
37  next = nextNode;
38  }
list_base_node * next
Definition: list.hpp:59
bool in_list() const
Definition: list.hpp:53
list_base_node * prev
Definition: list.hpp:58

◆ reset()

void std::internal::list_base_node::reset ( )
inline
50  {
51  next = prev = this;
52  }
list_base_node * next
Definition: list.hpp:59
list_base_node * prev
Definition: list.hpp:58

◆ unlink()

void std::internal::list_base_node::unlink ( )
40  {
41  assert(in_list());
42  prev->next = next;
43  next->prev = prev;
44  next = prev = this;
45  }
list_base_node * next
Definition: list.hpp:59
bool in_list() const
Definition: list.hpp:53
list_base_node * prev
Definition: list.hpp:58

Dokumentation der Datenelemente

◆ next

list_base_node* std::internal::list_base_node::next

◆ prev

list_base_node* std::internal::list_base_node::prev

Die Dokumentation für diese Struktur wurde erzeugt aufgrund der Dateien: