Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::FaceArrayBase Class Referenceabstract

Abstract base class for face arrays. More...

#include <ogdf/basic/FaceArray.h>

+ Inheritance diagram for ogdf::FaceArrayBase:

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.
 
 FaceArrayBase (FaceArrayBase &base)
 Moves face array base to this face array.
 
virtual ~FaceArrayBase ()
 
virtual void enlargeTable (int newTableSize)=0
 Virtual function called when table size has to be enlarged.
 
void moveRegister (FaceArrayBase &base)
 Moves array registration from base to this array.
 
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
 Pointer to list element in the list of all registered face arrays which references this array.
 

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

◆ FaceArrayBase() [2/3]

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

Initializes a face array associated with pE.

Definition at line 60 of file FaceArray.h.

◆ FaceArrayBase() [3/3]

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

Moves face array base to this face array.

Definition at line 67 of file FaceArray.h.

◆ ~FaceArrayBase()

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

Definition at line 76 of file FaceArray.h.

Member Function Documentation

◆ enlargeTable()

◆ moveRegister()

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

Moves array registration from base to this array.

Definition at line 99 of file FaceArray.h.

◆ reinit()

◆ reregister()

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

Associates the array with a new combinatorial embedding.

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

◆ m_pEmbedding

const ConstCombinatorialEmbedding* ogdf::FaceArrayBase::m_pEmbedding

The associated combinatorial embedding.

Definition at line 54 of file FaceArray.h.


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