Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

ogdf::HypergraphArrayBase Class Referenceabstract

Abstract base class for hypergraph arrays. More...

#include <ogdf/hypergraph/HypergraphArray.h>

Public Member Functions

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

Public Attributes

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

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 55 of file HypergraphArray.h.

◆ HypergraphArrayBase() [2/2]

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

Initializes an array associated with pH.

Definition at line 61 of file HypergraphArray.h.

◆ ~HypergraphArrayBase()

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

Destructor, unregisters the array.

Definition at line 67 of file HypergraphArray.h.

Member Function Documentation

◆ disconnect()

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

Disconnetion from the hypergraph.

◆ enlargeTable()

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

Table size enlargement.

◆ hypergraphOf()

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

Returns a pointer to the associated hypergraph.

Definition at line 72 of file HypergraphArray.h.

◆ reinit()

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

Table re-initialization.

◆ reregister()

virtual void ogdf::HypergraphArrayBase::reregister ( const Hypergraph H)
pure virtual

Associates the array with a new hypergraph.

Member Data Documentation

◆ m_hypergraph

const Hypergraph* ogdf::HypergraphArrayBase::m_hypergraph

The associated hypergraph.

Definition at line 52 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 49 of file HypergraphArray.h.


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