Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::pq_internal::PairTemplate< E, P > Class Template Reference

Pair for storing an element and a priority. More...

#include <ogdf/basic/PriorityQueue.h>

Public Member Functions

 PairTemplate ()
 
 PairTemplate (const E &element, const P &priority)
 
const E & element () const
 
const P & priority () const
 

Private Attributes

m_element
 
m_priority
 

Detailed Description

template<typename E, typename P>
class ogdf::pq_internal::PairTemplate< E, P >

Pair for storing an element and a priority.

Definition at line 250 of file PriorityQueue.h.

Constructor & Destructor Documentation

◆ PairTemplate() [1/2]

template<typename E , typename P >
ogdf::pq_internal::PairTemplate< E, P >::PairTemplate ( )
inline

Definition at line 252 of file PriorityQueue.h.

◆ PairTemplate() [2/2]

template<typename E , typename P >
ogdf::pq_internal::PairTemplate< E, P >::PairTemplate ( const E &  element,
const P &  priority 
)
inline

Definition at line 254 of file PriorityQueue.h.

Member Function Documentation

◆ element()

template<typename E , typename P >
const E& ogdf::pq_internal::PairTemplate< E, P >::element ( ) const
inline

Definition at line 256 of file PriorityQueue.h.

◆ priority()

template<typename E , typename P >
const P& ogdf::pq_internal::PairTemplate< E, P >::priority ( ) const
inline

Definition at line 258 of file PriorityQueue.h.

Member Data Documentation

◆ m_element

template<typename E , typename P >
E ogdf::pq_internal::PairTemplate< E, P >::m_element
private

Definition at line 261 of file PriorityQueue.h.

◆ m_priority

template<typename E , typename P >
P ogdf::pq_internal::PairTemplate< E, P >::m_priority
private

Definition at line 262 of file PriorityQueue.h.


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