Open
Graph Drawing
Framework

 v.2007.11
 

ogdf::FaceArrayBase Class Reference

Abstract base class for face arrays. More...

#include <FaceArray.h>

Inheritance diagram for ogdf::FaceArrayBase:

ogdf::FaceArray< T >

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 72 of file FaceArray.h.


Constructor & Destructor Documentation

ogdf::FaceArrayBase::FaceArrayBase (  )  [inline]

Initializes a face array not associated with a combinatorial embedding.

Definition at line 83 of file FaceArray.h.

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

Initializes a face array associated with pE.

Definition at line 85 of file FaceArray.h.

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

Definition at line 90 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< ogdf::ListIterator< ogdf::FaceElement > >, ogdf::FaceArray< ogdf::NodeElement >, 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< ogdf::ListIterator< ogdf::FaceElement > >, ogdf::FaceArray< ogdf::NodeElement >, and ogdf::FaceArray< bool >.

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

Associates the array with a new combinatorial embedding.

Definition at line 101 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 77 of file FaceArray.h.

const ConstCombinatorialEmbedding* ogdf::FaceArrayBase::m_pEmbedding

The associated combinatorial embedding.

Definition at line 80 of file FaceArray.h.


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

© 1999-2007 by oreas GmbH, © 2005-2007 by University Dortmund and University Cologne.

Generated on Thu Nov 22 19:40:07 2007 by doxygen 1.5.4.