Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

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 285 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 288 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 293 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 298 of file PriorityQueue.h.

◆ priority()

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

Definition at line 302 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 307 of file PriorityQueue.h.

◆ m_priority

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

Definition at line 308 of file PriorityQueue.h.


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