Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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

Abstract base class for hypergraph arrays. More...

#include <ogdf/hypergraph/HypergraphArray.h>

+ Inheritance diagram for ogdf::HypergraphArrayBase:

Public Member Functions

 HypergraphArrayBase ()
 Initializes an array not associated with a hypergraph.
 
 HypergraphArrayBase (const Hypergraph *pH)
 Initializes an array associated with pH.
 
virtual ~HypergraphArrayBase ()
 Destructor, unregisters the array.
 
virtual void disconnect ()=0
 Disconnetion from the hypergraph.
 
virtual void enlargeTable (int newTableSize)=0
 Table size enlargement.
 
const HypergraphhypergraphOf () const
 Returns a pointer to the associated hypergraph.
 
virtual void reinit (int initTableSize)=0
 Table re-initialization.
 
virtual void reregister (const Hypergraph *H)=0
 Associates the array with a new hypergraph.
 

Public Attributes

const Hypergraphm_hypergraph
 The associated hypergraph.
 
ListIterator< HypergraphArrayBase * > m_it
 Pointer to list element in the list of all registered hypergraph arrays which references this array.
 

Detailed Description

Abstract base class for hypergraph arrays.

Definition at line 41 of file HypergraphArray.h.

Constructor & Destructor Documentation

◆ HypergraphArrayBase() [1/2]

ogdf::HypergraphArrayBase::HypergraphArrayBase ( )
inline

Initializes an array not associated with a hypergraph.

Definition at line 53 of file HypergraphArray.h.

◆ HypergraphArrayBase() [2/2]

ogdf::HypergraphArrayBase::HypergraphArrayBase ( const Hypergraph pH)
inlineexplicit

Initializes an array associated with pH.

Definition at line 56 of file HypergraphArray.h.

◆ ~HypergraphArrayBase()

virtual ogdf::HypergraphArrayBase::~HypergraphArrayBase ( )
inlinevirtual

Destructor, unregisters the array.

Definition at line 59 of file HypergraphArray.h.

Member Function Documentation

◆ disconnect()

◆ enlargeTable()

◆ hypergraphOf()

const Hypergraph * ogdf::HypergraphArrayBase::hypergraphOf ( ) const
inline

Returns a pointer to the associated hypergraph.

Definition at line 62 of file HypergraphArray.h.

◆ reinit()

◆ reregister()

Member Data Documentation

◆ m_hypergraph

const Hypergraph* ogdf::HypergraphArrayBase::m_hypergraph

The associated hypergraph.

Definition at line 50 of file HypergraphArray.h.

◆ m_it

ListIterator<HypergraphArrayBase*> ogdf::HypergraphArrayBase::m_it

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

Definition at line 47 of file HypergraphArray.h.


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