Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

PQInternalKey.h
Go to the documentation of this file.
1 
32 #pragma once
33 
35 
36 namespace ogdf {
37 
54 template<class T, class X, class Y>
55 class PQInternalKey : public PQBasicKey<T, X, Y> {
56 public:
65 
66  //Constructor
67  explicit PQInternalKey(Y element) { m_userStructInternal = element; }
68 
69  //Destructor
70  virtual ~PQInternalKey() { }
71 
73  virtual T userStructKey() { return 0; }
74 
76  virtual X userStructInfo() { return 0; }
77 
79  virtual Y userStructInternal() { return m_userStructInternal; }
80 };
81 
82 }
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
ogdf::PQInternalKey::userStructInfo
virtual X userStructInfo()
Overloaded pure virtual function returning 0.
Definition: PQInternalKey.h:76
ogdf::PQInternalKey::userStructInternal
virtual Y userStructInternal()
Overloaded pure virtual function returning m_userStructInternal.
Definition: PQInternalKey.h:79
ogdf::PQInternalKey::userStructKey
virtual T userStructKey()
Overloaded pure virtual function returning 0.
Definition: PQInternalKey.h:73
ogdf::PQInternalKey
The class template PQInternalKey is a derived class of class template PQBasicKey.
Definition: PQInternalKey.h:55
ogdf::PQInternalKey::~PQInternalKey
virtual ~PQInternalKey()
Definition: PQInternalKey.h:70
ogdf::PQInternalKey::m_userStructInternal
Y m_userStructInternal
The class template PQInternalKey has only one public member: the m_userStructInternal that has to be ...
Definition: PQInternalKey.h:64
ogdf::PQInternalKey::PQInternalKey
PQInternalKey(Y element)
Definition: PQInternalKey.h:67
ogdf::PQBasicKey
Definition: PQBasicKey.h:114
PQBasicKey.h
Declaration and implementation of the class PQBasicKey.