Open
Graph Drawing
Framework

 v.2010.10
 

Public Member Functions | Public Attributes | Private Attributes

ogdf::AdjEntryArrayBase Class Reference

Abstract base class for adjacency entry arrays. More...

#include <ogdf/basic/AdjEntryArray.h>

Inheritance diagram for ogdf::AdjEntryArrayBase:
ogdf::AdjEntryArray< T >

List of all members.

Public Member Functions

 AdjEntryArrayBase ()
 Initializes an adjacency entry array not associated with a graph.
 AdjEntryArrayBase (const Graph *pG)
 Initializes an adjacency entry array associated with pG.
virtual ~AdjEntryArrayBase ()
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.
virtual void resetIndex (int newIndex, int oldIndex)=0
 Virtual function called when the index of an adjacency entry is changed.
void reregister (const Graph *pG)
 Associates the array with a new graph.

Public Attributes

const Graphm_pGraph
 The associated graph.

Private Attributes

ListIterator< AdjEntryArrayBase * > m_it

Detailed Description

Abstract base class for adjacency entry arrays.

Defines the interface for event handling used by the Graph class. Use the parameterized class AdjEntryArray for creating adjacency arrays.

Definition at line 72 of file AdjEntryArray.h.


Constructor & Destructor Documentation

ogdf::AdjEntryArrayBase::AdjEntryArrayBase (  )  [inline]

Initializes an adjacency entry array not associated with a graph.

Definition at line 83 of file AdjEntryArray.h.

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

Initializes an adjacency entry array associated with pG.

Definition at line 85 of file AdjEntryArray.h.

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

Definition at line 90 of file AdjEntryArray.h.


Member Function Documentation

virtual void ogdf::AdjEntryArrayBase::disconnect (  )  [pure virtual]
virtual void ogdf::AdjEntryArrayBase::enlargeTable ( int  newTableSize  )  [pure virtual]
virtual void ogdf::AdjEntryArrayBase::reinit ( int  initTableSize  )  [pure virtual]
void ogdf::AdjEntryArrayBase::reregister ( const Graph pG  )  [inline]

Associates the array with a new graph.

Definition at line 105 of file AdjEntryArray.h.

virtual void ogdf::AdjEntryArrayBase::resetIndex ( int  newIndex,
int  oldIndex 
) [pure virtual]

Member Data Documentation

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

Definition at line 77 of file AdjEntryArray.h.

The associated graph.

Definition at line 80 of file AdjEntryArray.h.


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