Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

ogdf::FaceArrayBase Class Referenceabstract

Abstract base class for face arrays. More...

#include <ogdf/basic/FaceArray.h>

Public Member Functions

 FaceArrayBase ()
 Initializes a face array not associated with a combinatorial embedding. More...
 
 FaceArrayBase (const ConstCombinatorialEmbedding *pE)
 Initializes a face array associated with pE. More...
 
 FaceArrayBase (FaceArrayBase &base)
 Moves face array base to this face array. More...
 
virtual ~FaceArrayBase ()
 
virtual void enlargeTable (int newTableSize)=0
 Virtual function called when table size has to be enlarged. More...
 
void moveRegister (FaceArrayBase &base)
 Moves array registration from base to this array. More...
 
virtual void reinit (int initTableSize)=0
 Virtual function called when table has to be reinitialized. More...
 
void reregister (const ConstCombinatorialEmbedding *pE)
 Associates the array with a new combinatorial embedding. More...
 

Public Attributes

const ConstCombinatorialEmbeddingm_pEmbedding
 The associated combinatorial embedding. More...
 

Private Attributes

ListIterator< FaceArrayBase * > m_it
 Pointer to list element in the list of all registered face arrays which references this array. More...
 

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

Constructor & Destructor Documentation

◆ FaceArrayBase() [1/3]

ogdf::FaceArrayBase::FaceArrayBase ( )
inline

Initializes a face array not associated with a combinatorial embedding.

Definition at line 58 of file FaceArray.h.

◆ FaceArrayBase() [2/3]

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

Initializes a face array associated with pE.

Definition at line 61 of file FaceArray.h.

◆ FaceArrayBase() [3/3]

ogdf::FaceArrayBase::FaceArrayBase ( FaceArrayBase base)
inline

Moves face array base to this face array.

Definition at line 66 of file FaceArray.h.

◆ ~FaceArrayBase()

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

Definition at line 73 of file FaceArray.h.

Member Function Documentation

◆ enlargeTable()

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

Virtual function called when table size has to be enlarged.

◆ moveRegister()

void ogdf::FaceArrayBase::moveRegister ( FaceArrayBase base)
inline

Moves array registration from base to this array.

Definition at line 90 of file FaceArray.h.

◆ reinit()

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

Virtual function called when table has to be reinitialized.

◆ reregister()

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

Associates the array with a new combinatorial embedding.

Definition at line 84 of file FaceArray.h.

Member Data Documentation

◆ m_it

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

◆ m_pEmbedding

const ConstCombinatorialEmbedding* ogdf::FaceArrayBase::m_pEmbedding

The associated combinatorial embedding.

Definition at line 55 of file FaceArray.h.


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