Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

ogdf::HyperGraph::AdjElement Class Reference

Representation of adjacency elements. More...

#include <ogdf/basic/HyperGraph.h>

Public Member Functions

 AdjElement ()
 
int index () const
 Returns the index of this adjacency entry. More...
 
EdgeElement * theEdge ()
 Returns the hyper edge associated with this adjacency entry. More...
 
NodeElement * theNode ()
 Returns the node whose adjacency list contains this adjacency entry. More...
 

Private Member Functions

 AdjElement (NodeElement *pNode, EdgeElement *pEdge)
 

Private Attributes

int m_index
 
EdgeElement * m_pEdge
 
AdjElement * m_pNext_edgeAdj
 
AdjElement * m_pNext_nodeAdj
 
NodeElement * m_pNode
 
AdjElement * m_pPrev_edgeAdj
 
AdjElement * m_pPrev_nodeAdj
 

Friends

class HyperGraph
 
class HyperGraphTypes
 

Detailed Description

Representation of adjacency elements.

Definition at line 93 of file HyperGraph.h.

Constructor & Destructor Documentation

◆ AdjElement() [1/2]

ogdf::HyperGraph::AdjElement::AdjElement ( )
inline

Definition at line 98 of file HyperGraph.h.

◆ AdjElement() [2/2]

ogdf::HyperGraph::AdjElement::AdjElement ( NodeElement *  pNode,
EdgeElement *  pEdge 
)
inlineprivate

Definition at line 110 of file HyperGraph.h.

Member Function Documentation

◆ index()

int ogdf::HyperGraph::AdjElement::index ( ) const
inline

Returns the index of this adjacency entry.

Definition at line 107 of file HyperGraph.h.

◆ theEdge()

EdgeElement* ogdf::HyperGraph::AdjElement::theEdge ( )
inline

Returns the hyper edge associated with this adjacency entry.

Definition at line 104 of file HyperGraph.h.

◆ theNode()

NodeElement* ogdf::HyperGraph::AdjElement::theNode ( )
inline

Returns the node whose adjacency list contains this adjacency entry.

Definition at line 101 of file HyperGraph.h.

Friends And Related Function Documentation

◆ HyperGraph

friend class HyperGraph
friend

Definition at line 95 of file HyperGraph.h.

◆ HyperGraphTypes

friend class HyperGraphTypes
friend

Definition at line 96 of file HyperGraph.h.

Member Data Documentation

◆ m_index

int ogdf::HyperGraph::AdjElement::m_index
private

Definition at line 127 of file HyperGraph.h.

◆ m_pEdge

EdgeElement* ogdf::HyperGraph::AdjElement::m_pEdge
private

Definition at line 120 of file HyperGraph.h.

◆ m_pNext_edgeAdj

AdjElement* ogdf::HyperGraph::AdjElement::m_pNext_edgeAdj
private

Definition at line 126 of file HyperGraph.h.

◆ m_pNext_nodeAdj

AdjElement* ogdf::HyperGraph::AdjElement::m_pNext_nodeAdj
private

Definition at line 123 of file HyperGraph.h.

◆ m_pNode

NodeElement* ogdf::HyperGraph::AdjElement::m_pNode
private

Definition at line 119 of file HyperGraph.h.

◆ m_pPrev_edgeAdj

AdjElement* ogdf::HyperGraph::AdjElement::m_pPrev_edgeAdj
private

Definition at line 125 of file HyperGraph.h.

◆ m_pPrev_nodeAdj

AdjElement* ogdf::HyperGraph::AdjElement::m_pPrev_nodeAdj
private

Definition at line 122 of file HyperGraph.h.


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