Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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

Abstract base class for edge arrays. More...

#include <ogdf/basic/EdgeArray.h>

+ Inheritance diagram for ogdf::EdgeArrayBase:

Public Member Functions

 EdgeArrayBase ()
 Initializes an edge array not associated with a graph.
 
 EdgeArrayBase (const Graph *pG)
 Initializes an edge array associated with pG.
 
 EdgeArrayBase (EdgeArrayBase &base)
 Moves edge array base to this edge array.
 
virtual ~EdgeArrayBase ()
 
virtual void disconnect ()=0
 Virtual function called when array is disconnected from the graph.
 
virtual void enlargeTable (int newTableSize)=0
 Virtual function called when table size has to be enlarged.
 
void moveRegister (EdgeArrayBase &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 Graph *pG)
 Associates the array with a new graph.
 

Public Attributes

const Graphm_pGraph
 The associated graph.
 

Private Attributes

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

Detailed Description

Abstract base class for edge arrays.

Defines the interface for event handling used by the Graph class. Use the parameterized class EdgeArray for creating edge arrays.

Definition at line 44 of file EdgeArray.h.

Constructor & Destructor Documentation

◆ EdgeArrayBase() [1/3]

ogdf::EdgeArrayBase::EdgeArrayBase ( )
inline

Initializes an edge array not associated with a graph.

Definition at line 55 of file EdgeArray.h.

◆ EdgeArrayBase() [2/3]

ogdf::EdgeArrayBase::EdgeArrayBase ( const Graph pG)
inlineexplicit

Initializes an edge array associated with pG.

Definition at line 58 of file EdgeArray.h.

◆ EdgeArrayBase() [3/3]

ogdf::EdgeArrayBase::EdgeArrayBase ( EdgeArrayBase base)
inline

Moves edge array base to this edge array.

Definition at line 65 of file EdgeArray.h.

◆ ~EdgeArrayBase()

virtual ogdf::EdgeArrayBase::~EdgeArrayBase ( )
inlinevirtual

Definition at line 74 of file EdgeArray.h.

Member Function Documentation

◆ disconnect()

virtual void ogdf::EdgeArrayBase::disconnect ( )
pure virtual

Virtual function called when array is disconnected from the graph.

Implemented in ogdf::EdgeArray< ATYPE >, ogdf::EdgeArray< bool >, ogdf::EdgeArray< BoyerMyrvoldEdgeType >, ogdf::EdgeArray< ConstraintEdgeType >, ogdf::EdgeArray< double >, ogdf::EdgeArray< EdgeArrow >, ogdf::EdgeArray< EdgeType >, ogdf::EdgeArray< edgeType >, ogdf::EdgeArray< float >, ogdf::EdgeArray< Graph::EdgeType >, ogdf::EdgeArray< int >, ogdf::EdgeArray< ogdf::AdjElement >, ogdf::EdgeArray< ogdf::ArrayBuffer< ogdf::EdgeElement > * >, ogdf::EdgeArray< ogdf::Block * >, ogdf::EdgeArray< ogdf::booth_lueker::PlanarLeafKey >, ogdf::EdgeArray< ogdf::ClusterElement >, ogdf::EdgeArray< ogdf::EdgeArray< ogdf::EdgeElement > * >, ogdf::EdgeArray< ogdf::EdgeElement >, ogdf::EdgeArray< ogdf::EdgeLabel< coordType > >, ogdf::EdgeArray< ogdf::embedder::MDMFLengthAttribute >, ogdf::EdgeArray< ogdf::fast_multipole_embedder::GalaxyMultilevel::LevelEdgeInfo >, ogdf::EdgeArray< ogdf::GenericPolyline >, ogdf::EdgeArray< ogdf::Graph * >, ogdf::EdgeArray< ogdf::HyperedgeElement >, ogdf::EdgeArray< ogdf::List< GenericPoint< int > > >, ogdf::EdgeArray< ogdf::List< ogdf::EdgeElement > >, ogdf::EdgeArray< ogdf::List< ogdf::NonPlanarCore::CutEdge > >, ogdf::EdgeArray< ogdf::List< ogdf::topology_module::EdgeLeg * > >, ogdf::EdgeArray< ogdf::ListIteratorBase< int > >, ogdf::EdgeArray< ogdf::ListIteratorBase< ogdf::EdgeElement > >, ogdf::EdgeArray< ogdf::ListPure< ogdf::EdgeElement > >, ogdf::EdgeArray< ogdf::MinSteinerTreeDirectedCut::EdgeVariable * >, ogdf::EdgeArray< ogdf::NodeArray< ogdf::NodeElement > * >, ogdf::EdgeArray< ogdf::NodeElement >, ogdf::EdgeArray< ogdf::PlanRepExpansion::NodeSplit * >, ogdf::EdgeArray< ogdf::SListPure< int > >, ogdf::EdgeArray< ogdf::StaticSkeleton * >, ogdf::EdgeArray< ogdf::Stroke >, ogdf::EdgeArray< ogdf::UMLGraph::AssociationClass * >, ogdf::EdgeArray< ogdf::VisibilityLayout::EdgeSegment >, ogdf::EdgeArray< PrioritizedQueue< edge, P, C, Impl >::Handle >, ogdf::EdgeArray< string >, ogdf::EdgeArray< TCap >, ogdf::EdgeArray< TCost >, ogdf::EdgeArray< TWeight >, ogdf::EdgeArray< uint32_t >, and ogdf::EdgeArray< T >.

◆ enlargeTable()

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

Virtual function called when table size has to be enlarged.

Implemented in ogdf::EdgeArray< ATYPE >, ogdf::EdgeArray< bool >, ogdf::EdgeArray< BoyerMyrvoldEdgeType >, ogdf::EdgeArray< ConstraintEdgeType >, ogdf::EdgeArray< double >, ogdf::EdgeArray< EdgeArrow >, ogdf::EdgeArray< EdgeType >, ogdf::EdgeArray< edgeType >, ogdf::EdgeArray< float >, ogdf::EdgeArray< Graph::EdgeType >, ogdf::EdgeArray< int >, ogdf::EdgeArray< ogdf::AdjElement >, ogdf::EdgeArray< ogdf::ArrayBuffer< ogdf::EdgeElement > * >, ogdf::EdgeArray< ogdf::Block * >, ogdf::EdgeArray< ogdf::booth_lueker::PlanarLeafKey >, ogdf::EdgeArray< ogdf::ClusterElement >, ogdf::EdgeArray< ogdf::EdgeArray< ogdf::EdgeElement > * >, ogdf::EdgeArray< ogdf::EdgeElement >, ogdf::EdgeArray< ogdf::EdgeLabel< coordType > >, ogdf::EdgeArray< ogdf::embedder::MDMFLengthAttribute >, ogdf::EdgeArray< ogdf::fast_multipole_embedder::GalaxyMultilevel::LevelEdgeInfo >, ogdf::EdgeArray< ogdf::GenericPolyline >, ogdf::EdgeArray< ogdf::Graph * >, ogdf::EdgeArray< ogdf::HyperedgeElement >, ogdf::EdgeArray< ogdf::List< GenericPoint< int > > >, ogdf::EdgeArray< ogdf::List< ogdf::EdgeElement > >, ogdf::EdgeArray< ogdf::List< ogdf::NonPlanarCore::CutEdge > >, ogdf::EdgeArray< ogdf::List< ogdf::topology_module::EdgeLeg * > >, ogdf::EdgeArray< ogdf::ListIteratorBase< int > >, ogdf::EdgeArray< ogdf::ListIteratorBase< ogdf::EdgeElement > >, ogdf::EdgeArray< ogdf::ListPure< ogdf::EdgeElement > >, ogdf::EdgeArray< ogdf::MinSteinerTreeDirectedCut::EdgeVariable * >, ogdf::EdgeArray< ogdf::NodeArray< ogdf::NodeElement > * >, ogdf::EdgeArray< ogdf::NodeElement >, ogdf::EdgeArray< ogdf::PlanRepExpansion::NodeSplit * >, ogdf::EdgeArray< ogdf::SListPure< int > >, ogdf::EdgeArray< ogdf::StaticSkeleton * >, ogdf::EdgeArray< ogdf::Stroke >, ogdf::EdgeArray< ogdf::UMLGraph::AssociationClass * >, ogdf::EdgeArray< ogdf::VisibilityLayout::EdgeSegment >, ogdf::EdgeArray< PrioritizedQueue< edge, P, C, Impl >::Handle >, ogdf::EdgeArray< string >, ogdf::EdgeArray< TCap >, ogdf::EdgeArray< TCost >, ogdf::EdgeArray< TWeight >, ogdf::EdgeArray< uint32_t >, and ogdf::EdgeArray< T >.

◆ moveRegister()

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

Moves array registration from base to this array.

Definition at line 99 of file EdgeArray.h.

◆ reinit()

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

Virtual function called when table has to be reinitialized.

Implemented in ogdf::EdgeArray< ATYPE >, ogdf::EdgeArray< bool >, ogdf::EdgeArray< BoyerMyrvoldEdgeType >, ogdf::EdgeArray< ConstraintEdgeType >, ogdf::EdgeArray< double >, ogdf::EdgeArray< EdgeArrow >, ogdf::EdgeArray< EdgeType >, ogdf::EdgeArray< edgeType >, ogdf::EdgeArray< float >, ogdf::EdgeArray< Graph::EdgeType >, ogdf::EdgeArray< int >, ogdf::EdgeArray< ogdf::AdjElement >, ogdf::EdgeArray< ogdf::ArrayBuffer< ogdf::EdgeElement > * >, ogdf::EdgeArray< ogdf::Block * >, ogdf::EdgeArray< ogdf::booth_lueker::PlanarLeafKey >, ogdf::EdgeArray< ogdf::ClusterElement >, ogdf::EdgeArray< ogdf::EdgeArray< ogdf::EdgeElement > * >, ogdf::EdgeArray< ogdf::EdgeElement >, ogdf::EdgeArray< ogdf::EdgeLabel< coordType > >, ogdf::EdgeArray< ogdf::embedder::MDMFLengthAttribute >, ogdf::EdgeArray< ogdf::fast_multipole_embedder::GalaxyMultilevel::LevelEdgeInfo >, ogdf::EdgeArray< ogdf::GenericPolyline >, ogdf::EdgeArray< ogdf::Graph * >, ogdf::EdgeArray< ogdf::HyperedgeElement >, ogdf::EdgeArray< ogdf::List< GenericPoint< int > > >, ogdf::EdgeArray< ogdf::List< ogdf::EdgeElement > >, ogdf::EdgeArray< ogdf::List< ogdf::NonPlanarCore::CutEdge > >, ogdf::EdgeArray< ogdf::List< ogdf::topology_module::EdgeLeg * > >, ogdf::EdgeArray< ogdf::ListIteratorBase< int > >, ogdf::EdgeArray< ogdf::ListIteratorBase< ogdf::EdgeElement > >, ogdf::EdgeArray< ogdf::ListPure< ogdf::EdgeElement > >, ogdf::EdgeArray< ogdf::MinSteinerTreeDirectedCut::EdgeVariable * >, ogdf::EdgeArray< ogdf::NodeArray< ogdf::NodeElement > * >, ogdf::EdgeArray< ogdf::NodeElement >, ogdf::EdgeArray< ogdf::PlanRepExpansion::NodeSplit * >, ogdf::EdgeArray< ogdf::SListPure< int > >, ogdf::EdgeArray< ogdf::StaticSkeleton * >, ogdf::EdgeArray< ogdf::Stroke >, ogdf::EdgeArray< ogdf::UMLGraph::AssociationClass * >, ogdf::EdgeArray< ogdf::VisibilityLayout::EdgeSegment >, ogdf::EdgeArray< PrioritizedQueue< edge, P, C, Impl >::Handle >, ogdf::EdgeArray< string >, ogdf::EdgeArray< TCap >, ogdf::EdgeArray< TCost >, ogdf::EdgeArray< TWeight >, ogdf::EdgeArray< uint32_t >, and ogdf::EdgeArray< T >.

◆ reregister()

void ogdf::EdgeArrayBase::reregister ( const Graph pG)
inline

Associates the array with a new graph.

Definition at line 89 of file EdgeArray.h.

Member Data Documentation

◆ m_it

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

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

Definition at line 49 of file EdgeArray.h.

◆ m_pGraph

const Graph* ogdf::EdgeArrayBase::m_pGraph

The associated graph.

Definition at line 52 of file EdgeArray.h.


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