Open
Graph Drawing
Framework

 v.2012.07
 

ogdf::ListElement< E > Class Template Reference

The parameterized class ListElement<E> represents the structure for elements of doubly linked lists. More...

#include <ogdf/basic/List.h>

List of all members.

Private Member Functions

 ListElement ()
 Constructs a ListElement.
 ListElement (const E &x)
 Constructs a ListElement.
 ListElement (const E &x, ListElement< E > *next, ListElement< E > *prev)
 Constructs a ListElement.

Private Attributes

ListElement< E > * m_next
 Pointer to successor element.
ListElement< E > * m_prev
 Pointer to predecessor element.
m_x
 Stores the content.

Friends

class List< E >
class ListConstIterator< E >
class ListIterator< E >
class ListPure< E >

Detailed Description

template<class E>
class ogdf::ListElement< E >

The parameterized class ListElement<E> represents the structure for elements of doubly linked lists.

Definition at line 65 of file List.h.


Constructor & Destructor Documentation

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

Constructs a ListElement.

Definition at line 76 of file List.h.

template<class E>
ogdf::ListElement< E >::ListElement ( const E &  x)
inlineprivate

Constructs a ListElement.

Definition at line 78 of file List.h.

template<class E>
ogdf::ListElement< E >::ListElement ( const E &  x,
ListElement< E > *  next,
ListElement< E > *  prev 
)
inlineprivate

Constructs a ListElement.

Definition at line 80 of file List.h.


Friends And Related Function Documentation

template<class E>
friend class List< E >
friend

Definition at line 67 of file List.h.

template<class E>
friend class ListConstIterator< E >
friend

Definition at line 69 of file List.h.

template<class E>
friend class ListIterator< E >
friend

Definition at line 68 of file List.h.

template<class E>
friend class ListPure< E >
friend

Definition at line 66 of file List.h.


Member Data Documentation

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

Pointer to successor element.

Definition at line 71 of file List.h.

template<class E>
ListElement<E>* ogdf::ListElement< E >::m_prev
private

Pointer to predecessor element.

Definition at line 72 of file List.h.

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

Stores the content.

Definition at line 73 of file List.h.


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