Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::SListElement< E > Class Template Reference

Structure for elements of singly linked lists. More...

#include <ogdf/basic/SList.h>

Private Member Functions

 SListElement ()
 Constructs an SListElement.
 
 SListElement (SListPure< E > *list, const E &x)
 Constructs an SListElement.
 
 SListElement (SListPure< E > *list, const E &x, SListElement< E > *next)
 Constructs an SListElement.
 
template<class... Args>
 SListElement (SListPure< E > *list, SListElement< E > *next, Args &&... args)
 Constructs an SListElement with given arguments args for constructor of element type.
 

Private Attributes

SListElement< E > * m_next
 Pointer to successor element.
 
m_x
 Stores the content.
 

Friends

class SListIteratorBase< E, false >
 
class SListIteratorBase< E, true >
 
class SListPure< E >
 

Detailed Description

template<class E>
class ogdf::SListElement< E >

Structure for elements of singly linked lists.

Definition at line 49 of file SList.h.

Constructor & Destructor Documentation

◆ SListElement() [1/4]

template<class E >
ogdf::SListElement< E >::SListElement ( SListPure< E > *  list,
const E &  x,
SListElement< E > *  next 
)
inlineprivate

Constructs an SListElement.

Definition at line 61 of file SList.h.

◆ SListElement() [2/4]

template<class E >
ogdf::SListElement< E >::SListElement ( SListPure< E > *  list,
const E &  x 
)
inlineprivate

Constructs an SListElement.

Definition at line 68 of file SList.h.

◆ SListElement() [3/4]

template<class E >
ogdf::SListElement< E >::SListElement ( )
inlineprivate

Constructs an SListElement.

Definition at line 71 of file SList.h.

◆ SListElement() [4/4]

template<class E >
template<class... Args>
ogdf::SListElement< E >::SListElement ( SListPure< E > *  list,
SListElement< E > *  next,
Args &&...  args 
)
inlineprivate

Constructs an SListElement with given arguments args for constructor of element type.

Definition at line 75 of file SList.h.

Friends And Related Symbol Documentation

◆ SListIteratorBase< E, false >

template<class E >
friend class SListIteratorBase< E, false >
friend

Definition at line 1154 of file SList.h.

◆ SListIteratorBase< E, true >

template<class E >
friend class SListIteratorBase< E, true >
friend

Definition at line 1154 of file SList.h.

◆ SListPure< E >

template<class E >
friend class SListPure< E >
friend

Definition at line 1154 of file SList.h.

Member Data Documentation

◆ m_next

template<class E >
SListElement<E>* ogdf::SListElement< E >::m_next
private

Pointer to successor element.

Definition at line 54 of file SList.h.

◆ m_x

template<class E >
E ogdf::SListElement< E >::m_x
private

Stores the content.

Definition at line 55 of file SList.h.


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