Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::internal::EdgeArrayBase2< edge, WithDefault > Class Template Reference

#include <ogdf/basic/Graph_d.h>

+ Inheritance diagram for ogdf::internal::EdgeArrayBase2< edge, WithDefault >:

Public Member Functions

adjEntry mapEndpoint (adjEntry adj) const
 Map a source/target adjEntry to the source/target adjEntry of the corresponding edges. More...
 
- Public Member Functions inherited from ogdf::internal::EdgeArrayBase1< edge, WithDefault >
edgeoperator() (adjEntry adj)
 Returns a reference to the element associated with the edge corresponding to adj. More...
 
const edgeoperator() (adjEntry adj) const
 Returns a const reference to the element associated with the edge corresponding to adj. More...
 
edgeoperator[] (adjEntry adj)
 Returns a reference to the element associated with the edge corresponding to adj. More...
 
const edgeoperator[] (adjEntry adj) const
 Returns a const reference to the element associated with the edge corresponding to adj. More...
 
- Public Member Functions inherited from ogdf::internal::GraphRegisteredArray< EdgeElement, edge, WithDefault >
GraphgraphOf () const
 Returns a pointer to the associated graph. More...
 
- Public Member Functions inherited from ogdf::RegisteredArray< GraphRegistry< EdgeElement >, edge, WithDefault, Graph >
 RegisteredArray ()
 Creates a new registered array associated with no registry. More...
 
 RegisteredArray (const Graph &base)
 Creates a new registered array associated with the matching registry of base. More...
 
 RegisteredArray (const Graph &base, const edge &def)
 Creates a new registered array associated with the matching registry of base and initializes all values with def. More...
 
 RegisteredArray (const Graph *base)
 Creates a new registered array associated with the matching registry of base. More...
 
 RegisteredArray (const Graph *base, const edge &def)
 Creates a new registered array associated with the matching registry of base and initializes all values with def. More...
 
void init (const Graph &base)
 Reinitializes the array. Associates the array with the matching registry of base. More...
 
void init (const Graph &base, const edge &new_default)
 Reinitializes the array with default value new_default. More...
 
void init (const Graph *base, const edge &new_default)
 
void init (const Graph *base=nullptr)
 Reinitializes the array. Associates the array with the matching registry of base. More...
 

Private Types

using EA = EdgeArrayBase1< edge, WithDefault >
 

Detailed Description

template<bool WithDefault>
class ogdf::internal::EdgeArrayBase2< edge, WithDefault >

Definition at line 722 of file Graph_d.h.

Member Typedef Documentation

◆ EA

template<bool WithDefault>
using ogdf::internal::EdgeArrayBase2< edge, WithDefault >::EA = EdgeArrayBase1<edge, WithDefault>
private

Definition at line 723 of file Graph_d.h.

Member Function Documentation

◆ mapEndpoint()

template<bool WithDefault>
adjEntry ogdf::internal::EdgeArrayBase2< edge, WithDefault >::mapEndpoint ( adjEntry  adj) const
inline

Map a source/target adjEntry to the source/target adjEntry of the corresponding edges.

Definition at line 729 of file Graph_d.h.


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