Open
Graph Drawing
Framework

 v.2012.07
 

ogdf::FaceArrayBase Class Reference

Abstract base class for face arrays. More...

#include <ogdf/basic/FaceArray.h>

+ Inheritance diagram for ogdf::FaceArrayBase:

List of all members.

Public Member Functions

 FaceArrayBase ()
 Initializes a face array not associated with a combinatorial embedding.
 FaceArrayBase (const ConstCombinatorialEmbedding *pE)
 Initializes a face array associated with pE.
virtual ~FaceArrayBase ()
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 ConstCombinatorialEmbedding *pE)
 Associates the array with a new combinatorial embedding.

Public Attributes

const ConstCombinatorialEmbeddingm_pEmbedding
 The associated combinatorial embedding.

Private Attributes

ListIterator< FaceArrayBase * > m_it

Detailed Description

Abstract base class for face arrays.

Defines the interface for event handling used by the CombinatorialEmbedding class. Use the parameterized class FaceArray for creating face arrays.

Definition at line 65 of file FaceArray.h.


Constructor & Destructor Documentation

ogdf::FaceArrayBase::FaceArrayBase ( )
inline

Initializes a face array not associated with a combinatorial embedding.

Definition at line 76 of file FaceArray.h.

ogdf::FaceArrayBase::FaceArrayBase ( const ConstCombinatorialEmbedding pE)
inline

Initializes a face array associated with pE.

Definition at line 78 of file FaceArray.h.

virtual ogdf::FaceArrayBase::~FaceArrayBase ( )
inlinevirtual

Definition at line 83 of file FaceArray.h.


Member Function Documentation

virtual void ogdf::FaceArrayBase::enlargeTable ( int  newTableSize)
pure virtual

Virtual function called when table size has to be enlarged.

Implemented in ogdf::FaceArray< T >, ogdf::FaceArray< node >, ogdf::FaceArray< ListIterator< face > >, and ogdf::FaceArray< bool >.

virtual void ogdf::FaceArrayBase::reinit ( int  initTableSize)
pure virtual

Virtual function called when table has to be reinitialized.

Implemented in ogdf::FaceArray< T >, ogdf::FaceArray< node >, ogdf::FaceArray< ListIterator< face > >, and ogdf::FaceArray< bool >.

void ogdf::FaceArrayBase::reregister ( const ConstCombinatorialEmbedding pE)
inline

Associates the array with a new combinatorial embedding.

Definition at line 94 of file FaceArray.h.


Member Data Documentation

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

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

Definition at line 70 of file FaceArray.h.

const ConstCombinatorialEmbedding* ogdf::FaceArrayBase::m_pEmbedding

The associated combinatorial embedding.

Definition at line 73 of file FaceArray.h.


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