Open
Graph Drawing
Framework

 v.2010.10
 

Public Member Functions | Public Attributes | Private Attributes

ogdf::EdgeArrayBase Class Reference

Abstract base class for edge arrays. More...

#include <ogdf/basic/EdgeArray.h>

Inheritance diagram for ogdf::EdgeArrayBase:
ogdf::EdgeArray< T >

List of all members.

Public Member Functions

 EdgeArrayBase ()
 Initializes an edge array not associated with a graph.
 EdgeArrayBase (const Graph *pG)
 Initializes an edge array associated with pG.
virtual ~EdgeArrayBase ()
virtual void enlargeTable (int newTableSize)=0
 Virtual function called when table size has to be enlarged.
virtual void reinit (int initTableSize)=0
 Virtual function called when table has to be reinitialized.
virtual void disconnect ()=0
 Virtual function called when array is disconnected from the graph.
void reregister (const Graph *pG)
 Associates the array with a new graph.

Public Attributes

const Graphm_pGraph
 The associated graph.

Private Attributes

ListIterator< EdgeArrayBase * > m_it

Detailed Description

Abstract base class for edge arrays.

Defines the interface for event handling used by the Graph class. Use the parameterized class EdgeArray for creating edge arrays.

Definition at line 71 of file EdgeArray.h.


Constructor & Destructor Documentation

ogdf::EdgeArrayBase::EdgeArrayBase (  )  [inline]

Initializes an edge array not associated with a graph.

Definition at line 82 of file EdgeArray.h.

ogdf::EdgeArrayBase::EdgeArrayBase ( const Graph pG  )  [inline]

Initializes an edge array associated with pG.

Definition at line 84 of file EdgeArray.h.

virtual ogdf::EdgeArrayBase::~EdgeArrayBase (  )  [inline, virtual]

Definition at line 89 of file EdgeArray.h.


Member Function Documentation

void ogdf::EdgeArrayBase::reregister ( const Graph pG  )  [inline]

Associates the array with a new graph.

Definition at line 102 of file EdgeArray.h.


Member Data Documentation

Pointer to list element in the list of all registered edge arrays which references this array.

Definition at line 76 of file EdgeArray.h.

The associated graph.

Definition at line 79 of file EdgeArray.h.


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