Open
Graph Drawing
Framework

 v.2012.07
 

ogdf::EdgeArrayBase Class Reference

Abstract base class for edge arrays. More...

#include <ogdf/basic/EdgeArray.h>

+ Inheritance diagram for ogdf::EdgeArrayBase:

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 disconnect ()=0
 Virtual function called when array is disconnected from the graph.
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.
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 62 of file EdgeArray.h.


Constructor & Destructor Documentation

ogdf::EdgeArrayBase::EdgeArrayBase ( )
inline

Initializes an edge array not associated with a graph.

Definition at line 73 of file EdgeArray.h.

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

Initializes an edge array associated with pG.

Definition at line 75 of file EdgeArray.h.

virtual ogdf::EdgeArrayBase::~EdgeArrayBase ( )
inlinevirtual

Definition at line 80 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 93 of file EdgeArray.h.


Member Data Documentation

ListIterator<EdgeArrayBase*> ogdf::EdgeArrayBase::m_it
private

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

Definition at line 67 of file EdgeArray.h.

const Graph* ogdf::EdgeArrayBase::m_pGraph

The associated graph.

Definition at line 70 of file EdgeArray.h.


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