Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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

Abstract base class for node arrays. More...

#include <ogdf/basic/NodeArray.h>

+ Inheritance diagram for ogdf::NodeArrayBase:

Public Member Functions

 NodeArrayBase ()
 Initializes an node array not associated with a graph.
 
 NodeArrayBase (const Graph *pG)
 Initializes an node array associated with pG.
 
 NodeArrayBase (NodeArrayBase &base)
 Moves node array base to this node array.
 
virtual ~NodeArrayBase ()
 
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 (NodeArrayBase &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< NodeArrayBase * > m_it
 Pointer to list element in the list of all registered node arrays which references this array.
 

Detailed Description

Abstract base class for node arrays.

Defines the interface for event handling used by the Graph class. Use the parameterized class NodeArray for creating node arrays.

Definition at line 44 of file NodeArray.h.

Constructor & Destructor Documentation

◆ NodeArrayBase() [1/3]

ogdf::NodeArrayBase::NodeArrayBase ( )
inline

Initializes an node array not associated with a graph.

Definition at line 55 of file NodeArray.h.

◆ NodeArrayBase() [2/3]

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

Initializes an node array associated with pG.

Definition at line 58 of file NodeArray.h.

◆ NodeArrayBase() [3/3]

ogdf::NodeArrayBase::NodeArrayBase ( NodeArrayBase base)
inline

Moves node array base to this node array.

Definition at line 65 of file NodeArray.h.

◆ ~NodeArrayBase()

virtual ogdf::NodeArrayBase::~NodeArrayBase ( )
inlinevirtual

Definition at line 74 of file NodeArray.h.

Member Function Documentation

◆ disconnect()

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

Virtual function called when array is disconnected from the graph.

Implemented in ogdf::NodeArray< ATYPE >, ogdf::NodeArray< BendType >, ogdf::NodeArray< BNodeType >, ogdf::NodeArray< bool >, ogdf::NodeArray< cutType >, ogdf::NodeArray< double >, ogdf::NodeArray< float >, ogdf::NodeArray< GenericPoint< double > >, ogdf::NodeArray< Graph::NodeType >, ogdf::NodeArray< int >, ogdf::NodeArray< nodeType >, ogdf::NodeArray< NodeType >, ogdf::NodeArray< ogdf::AdjElement >, ogdf::NodeArray< ogdf::Array< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::ArrayBuffer< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::BertaultLayout::BertaultSections >, ogdf::NodeArray< ogdf::Block * >, ogdf::NodeArray< ogdf::ClusterArray< int > * >, ogdf::NodeArray< ogdf::ClusterElement >, ogdf::NodeArray< ogdf::CoffmanGrahamRanking::_int_set >, ogdf::NodeArray< ogdf::DIntersectableRect >, ogdf::NodeArray< ogdf::DRect >, ogdf::NodeArray< ogdf::DynamicSkeleton * >, ogdf::NodeArray< ogdf::edge_router::NodeInfo >, ogdf::NodeArray< ogdf::EdgeArray< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::EdgeElement >, ogdf::NodeArray< ogdf::embedder::MDMFLengthAttribute >, ogdf::NodeArray< ogdf::energybased::dtree::DTreeEmbedder::NodeInfo >, ogdf::NodeArray< ogdf::FaceElement >, ogdf::NodeArray< ogdf::fast_multipole_embedder::GalaxyMultilevel::LevelNodeInfo >, ogdf::NodeArray< ogdf::fast_multipole_embedder::GalaxyMultilevelBuilder::LevelNodeState >, ogdf::NodeArray< ogdf::Fill >, ogdf::NodeArray< ogdf::Graph >, ogdf::NodeArray< ogdf::HypernodeElement >, ogdf::NodeArray< ogdf::List< int > >, ogdf::NodeArray< ogdf::List< ogdf::AdjElement > >, ogdf::NodeArray< ogdf::List< ogdf::EdgeElement > * >, ogdf::NodeArray< ogdf::List< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::List< ogdf::InOutPoint > >, ogdf::NodeArray< ogdf::List< ogdf::ListIteratorBase< ogdf::steiner_tree::LowerBoundDualAscent::TerminalData > > >, ogdf::NodeArray< ogdf::List< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::ListIteratorBase< ogdf::InOutPoint > >, ogdf::NodeArray< ogdf::ListIteratorBase< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::ListIteratorBase< ogdf::PALabel > >, ogdf::NodeArray< ogdf::ListPure< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::MinimumEdgeDistances::InfoType >, ogdf::NodeArray< ogdf::NodeArray< bool > >, ogdf::NodeArray< ogdf::NodeArray< double > >, ogdf::NodeArray< ogdf::NodeArray< int > >, ogdf::NodeArray< ogdf::NodeArray< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::NodeArray< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::NodeArray< T > >, ogdf::NodeArray< ogdf::NodeArray< TWeight > >, ogdf::NodeArray< ogdf::NodeElement >, ogdf::NodeArray< ogdf::OrthoRep::VertexInfoUML * >, ogdf::NodeArray< ogdf::PALabel >, ogdf::NodeArray< ogdf::RoutingChannel::vInfo >, ogdf::NodeArray< ogdf::SList< int > >, ogdf::NodeArray< ogdf::SList< ogdf::AdjElement > >, ogdf::NodeArray< ogdf::SList< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::SList< ogdf::MultiEdgeApproxInserter::VertexBlock > >, ogdf::NodeArray< ogdf::SListPure< ogdf::AdjElement > >, ogdf::NodeArray< ogdf::SListPure< ogdf::booth_lueker::PlanarLeafKey > >, ogdf::NodeArray< ogdf::SListPure< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::SListPure< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::SListPure< ogdf::Tuple2< ogdf::NodeElement, int > > >, ogdf::NodeArray< ogdf::StaticSkeleton * >, ogdf::NodeArray< ogdf::StaticSPQRTree * >, ogdf::NodeArray< ogdf::Stroke >, ogdf::NodeArray< ogdf::VisibilityLayout::NodeSegment >, ogdf::NodeArray< ogdf::WInfo * >, ogdf::NodeArray< OrthoDir >, ogdf::NodeArray< PrioritizedQueue< node, P, C, Impl >::Handle >, ogdf::NodeArray< ProcessType >, ogdf::NodeArray< Shape >, ogdf::NodeArray< short >, ogdf::NodeArray< std::vector< ogdf::SolarMerger::PathData > >, ogdf::NodeArray< string >, ogdf::NodeArray< TCap >, ogdf::NodeArray< TNodeType >, ogdf::NodeArray< TWeight >, ogdf::NodeArray< unsigned int >, and ogdf::NodeArray< T >.

◆ enlargeTable()

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

Virtual function called when table size has to be enlarged.

Implemented in ogdf::NodeArray< ATYPE >, ogdf::NodeArray< BendType >, ogdf::NodeArray< BNodeType >, ogdf::NodeArray< bool >, ogdf::NodeArray< cutType >, ogdf::NodeArray< double >, ogdf::NodeArray< float >, ogdf::NodeArray< GenericPoint< double > >, ogdf::NodeArray< Graph::NodeType >, ogdf::NodeArray< int >, ogdf::NodeArray< nodeType >, ogdf::NodeArray< NodeType >, ogdf::NodeArray< ogdf::AdjElement >, ogdf::NodeArray< ogdf::Array< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::ArrayBuffer< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::BertaultLayout::BertaultSections >, ogdf::NodeArray< ogdf::Block * >, ogdf::NodeArray< ogdf::ClusterArray< int > * >, ogdf::NodeArray< ogdf::ClusterElement >, ogdf::NodeArray< ogdf::CoffmanGrahamRanking::_int_set >, ogdf::NodeArray< ogdf::DIntersectableRect >, ogdf::NodeArray< ogdf::DRect >, ogdf::NodeArray< ogdf::DynamicSkeleton * >, ogdf::NodeArray< ogdf::edge_router::NodeInfo >, ogdf::NodeArray< ogdf::EdgeArray< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::EdgeElement >, ogdf::NodeArray< ogdf::embedder::MDMFLengthAttribute >, ogdf::NodeArray< ogdf::energybased::dtree::DTreeEmbedder::NodeInfo >, ogdf::NodeArray< ogdf::FaceElement >, ogdf::NodeArray< ogdf::fast_multipole_embedder::GalaxyMultilevel::LevelNodeInfo >, ogdf::NodeArray< ogdf::fast_multipole_embedder::GalaxyMultilevelBuilder::LevelNodeState >, ogdf::NodeArray< ogdf::Fill >, ogdf::NodeArray< ogdf::Graph >, ogdf::NodeArray< ogdf::HypernodeElement >, ogdf::NodeArray< ogdf::List< int > >, ogdf::NodeArray< ogdf::List< ogdf::AdjElement > >, ogdf::NodeArray< ogdf::List< ogdf::EdgeElement > * >, ogdf::NodeArray< ogdf::List< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::List< ogdf::InOutPoint > >, ogdf::NodeArray< ogdf::List< ogdf::ListIteratorBase< ogdf::steiner_tree::LowerBoundDualAscent::TerminalData > > >, ogdf::NodeArray< ogdf::List< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::ListIteratorBase< ogdf::InOutPoint > >, ogdf::NodeArray< ogdf::ListIteratorBase< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::ListIteratorBase< ogdf::PALabel > >, ogdf::NodeArray< ogdf::ListPure< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::MinimumEdgeDistances::InfoType >, ogdf::NodeArray< ogdf::NodeArray< bool > >, ogdf::NodeArray< ogdf::NodeArray< double > >, ogdf::NodeArray< ogdf::NodeArray< int > >, ogdf::NodeArray< ogdf::NodeArray< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::NodeArray< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::NodeArray< T > >, ogdf::NodeArray< ogdf::NodeArray< TWeight > >, ogdf::NodeArray< ogdf::NodeElement >, ogdf::NodeArray< ogdf::OrthoRep::VertexInfoUML * >, ogdf::NodeArray< ogdf::PALabel >, ogdf::NodeArray< ogdf::RoutingChannel::vInfo >, ogdf::NodeArray< ogdf::SList< int > >, ogdf::NodeArray< ogdf::SList< ogdf::AdjElement > >, ogdf::NodeArray< ogdf::SList< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::SList< ogdf::MultiEdgeApproxInserter::VertexBlock > >, ogdf::NodeArray< ogdf::SListPure< ogdf::AdjElement > >, ogdf::NodeArray< ogdf::SListPure< ogdf::booth_lueker::PlanarLeafKey > >, ogdf::NodeArray< ogdf::SListPure< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::SListPure< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::SListPure< ogdf::Tuple2< ogdf::NodeElement, int > > >, ogdf::NodeArray< ogdf::StaticSkeleton * >, ogdf::NodeArray< ogdf::StaticSPQRTree * >, ogdf::NodeArray< ogdf::Stroke >, ogdf::NodeArray< ogdf::VisibilityLayout::NodeSegment >, ogdf::NodeArray< ogdf::WInfo * >, ogdf::NodeArray< OrthoDir >, ogdf::NodeArray< PrioritizedQueue< node, P, C, Impl >::Handle >, ogdf::NodeArray< ProcessType >, ogdf::NodeArray< Shape >, ogdf::NodeArray< short >, ogdf::NodeArray< std::vector< ogdf::SolarMerger::PathData > >, ogdf::NodeArray< string >, ogdf::NodeArray< TCap >, ogdf::NodeArray< TNodeType >, ogdf::NodeArray< TWeight >, ogdf::NodeArray< unsigned int >, and ogdf::NodeArray< T >.

◆ moveRegister()

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

Moves array registration from base to this array.

Definition at line 99 of file NodeArray.h.

◆ reinit()

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

Virtual function called when table has to be reinitialized.

Implemented in ogdf::NodeArray< ATYPE >, ogdf::NodeArray< BendType >, ogdf::NodeArray< BNodeType >, ogdf::NodeArray< bool >, ogdf::NodeArray< cutType >, ogdf::NodeArray< double >, ogdf::NodeArray< float >, ogdf::NodeArray< GenericPoint< double > >, ogdf::NodeArray< Graph::NodeType >, ogdf::NodeArray< int >, ogdf::NodeArray< nodeType >, ogdf::NodeArray< NodeType >, ogdf::NodeArray< ogdf::AdjElement >, ogdf::NodeArray< ogdf::Array< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::ArrayBuffer< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::BertaultLayout::BertaultSections >, ogdf::NodeArray< ogdf::Block * >, ogdf::NodeArray< ogdf::ClusterArray< int > * >, ogdf::NodeArray< ogdf::ClusterElement >, ogdf::NodeArray< ogdf::CoffmanGrahamRanking::_int_set >, ogdf::NodeArray< ogdf::DIntersectableRect >, ogdf::NodeArray< ogdf::DRect >, ogdf::NodeArray< ogdf::DynamicSkeleton * >, ogdf::NodeArray< ogdf::edge_router::NodeInfo >, ogdf::NodeArray< ogdf::EdgeArray< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::EdgeElement >, ogdf::NodeArray< ogdf::embedder::MDMFLengthAttribute >, ogdf::NodeArray< ogdf::energybased::dtree::DTreeEmbedder::NodeInfo >, ogdf::NodeArray< ogdf::FaceElement >, ogdf::NodeArray< ogdf::fast_multipole_embedder::GalaxyMultilevel::LevelNodeInfo >, ogdf::NodeArray< ogdf::fast_multipole_embedder::GalaxyMultilevelBuilder::LevelNodeState >, ogdf::NodeArray< ogdf::Fill >, ogdf::NodeArray< ogdf::Graph >, ogdf::NodeArray< ogdf::HypernodeElement >, ogdf::NodeArray< ogdf::List< int > >, ogdf::NodeArray< ogdf::List< ogdf::AdjElement > >, ogdf::NodeArray< ogdf::List< ogdf::EdgeElement > * >, ogdf::NodeArray< ogdf::List< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::List< ogdf::InOutPoint > >, ogdf::NodeArray< ogdf::List< ogdf::ListIteratorBase< ogdf::steiner_tree::LowerBoundDualAscent::TerminalData > > >, ogdf::NodeArray< ogdf::List< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::ListIteratorBase< ogdf::InOutPoint > >, ogdf::NodeArray< ogdf::ListIteratorBase< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::ListIteratorBase< ogdf::PALabel > >, ogdf::NodeArray< ogdf::ListPure< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::MinimumEdgeDistances::InfoType >, ogdf::NodeArray< ogdf::NodeArray< bool > >, ogdf::NodeArray< ogdf::NodeArray< double > >, ogdf::NodeArray< ogdf::NodeArray< int > >, ogdf::NodeArray< ogdf::NodeArray< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::NodeArray< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::NodeArray< T > >, ogdf::NodeArray< ogdf::NodeArray< TWeight > >, ogdf::NodeArray< ogdf::NodeElement >, ogdf::NodeArray< ogdf::OrthoRep::VertexInfoUML * >, ogdf::NodeArray< ogdf::PALabel >, ogdf::NodeArray< ogdf::RoutingChannel::vInfo >, ogdf::NodeArray< ogdf::SList< int > >, ogdf::NodeArray< ogdf::SList< ogdf::AdjElement > >, ogdf::NodeArray< ogdf::SList< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::SList< ogdf::MultiEdgeApproxInserter::VertexBlock > >, ogdf::NodeArray< ogdf::SListPure< ogdf::AdjElement > >, ogdf::NodeArray< ogdf::SListPure< ogdf::booth_lueker::PlanarLeafKey > >, ogdf::NodeArray< ogdf::SListPure< ogdf::EdgeElement > >, ogdf::NodeArray< ogdf::SListPure< ogdf::NodeElement > >, ogdf::NodeArray< ogdf::SListPure< ogdf::Tuple2< ogdf::NodeElement, int > > >, ogdf::NodeArray< ogdf::StaticSkeleton * >, ogdf::NodeArray< ogdf::StaticSPQRTree * >, ogdf::NodeArray< ogdf::Stroke >, ogdf::NodeArray< ogdf::VisibilityLayout::NodeSegment >, ogdf::NodeArray< ogdf::WInfo * >, ogdf::NodeArray< OrthoDir >, ogdf::NodeArray< PrioritizedQueue< node, P, C, Impl >::Handle >, ogdf::NodeArray< ProcessType >, ogdf::NodeArray< Shape >, ogdf::NodeArray< short >, ogdf::NodeArray< std::vector< ogdf::SolarMerger::PathData > >, ogdf::NodeArray< string >, ogdf::NodeArray< TCap >, ogdf::NodeArray< TNodeType >, ogdf::NodeArray< TWeight >, ogdf::NodeArray< unsigned int >, and ogdf::NodeArray< T >.

◆ reregister()

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

Associates the array with a new graph.

Definition at line 89 of file NodeArray.h.

Member Data Documentation

◆ m_it

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

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

Definition at line 49 of file NodeArray.h.

◆ m_pGraph

const Graph* ogdf::NodeArrayBase::m_pGraph

The associated graph.

Definition at line 52 of file NodeArray.h.


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