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. | |
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 ConstCombinatorialEmbedding * | m_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. | |
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.
|
inline |
Initializes a face array not associated with a combinatorial embedding.
Definition at line 57 of file FaceArray.h.
|
inlineexplicit |
Initializes a face array associated with pE
.
Definition at line 60 of file FaceArray.h.
|
inline |
Moves face array base
to this face array.
Definition at line 67 of file FaceArray.h.
|
inlinevirtual |
Definition at line 76 of file FaceArray.h.
Virtual function called when table size has to be enlarged.
Implemented in ogdf::FaceArray< bool >, ogdf::FaceArray< int >, ogdf::FaceArray< ogdf::FaceElement >, ogdf::FaceArray< ogdf::List< ogdf::NodeElement > >, ogdf::FaceArray< ogdf::ListIteratorBase< ogdf::FaceElement > >, ogdf::FaceArray< ogdf::NodeElement >, and ogdf::FaceArray< T >.
|
inline |
Moves array registration from base
to this array.
Definition at line 99 of file FaceArray.h.
Virtual function called when table has to be reinitialized.
Implemented in ogdf::FaceArray< bool >, ogdf::FaceArray< int >, ogdf::FaceArray< ogdf::FaceElement >, ogdf::FaceArray< ogdf::List< ogdf::NodeElement > >, ogdf::FaceArray< ogdf::ListIteratorBase< ogdf::FaceElement > >, ogdf::FaceArray< ogdf::NodeElement >, and ogdf::FaceArray< T >.
|
inline |
Associates the array with a new combinatorial embedding.
Definition at line 89 of file FaceArray.h.
|
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.
const ConstCombinatorialEmbedding* ogdf::FaceArrayBase::m_pEmbedding |
The associated combinatorial embedding.
Definition at line 54 of file FaceArray.h.