Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

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

Public Attributes

const Graphm_pGraph
 The associated graph. More...
 

Private Attributes

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

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 45 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 56 of file EdgeArray.h.

◆ EdgeArrayBase() [2/3]

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

Initializes an edge array associated with pG.

Definition at line 59 of file EdgeArray.h.

◆ EdgeArrayBase() [3/3]

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

Moves edge array base to this edge array.

Definition at line 64 of file EdgeArray.h.

◆ ~EdgeArrayBase()

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

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

◆ enlargeTable()

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

Virtual function called when table size has to be enlarged.

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

◆ moveRegister()

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

Moves array registration from base to this array.

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

◆ reregister()

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

Associates the array with a new graph.

Definition at line 84 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 50 of file EdgeArray.h.

◆ m_pGraph

const Graph* ogdf::EdgeArrayBase::m_pGraph

The associated graph.

Definition at line 53 of file EdgeArray.h.


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