Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
PQInternalKey.h
Go to the documentation of this file.
1
32#pragma once
33
35
36namespace ogdf {
37
38template<class T, class X, class Y>
39class PQNode;
40
57template<class T, class X, class Y>
58class PQInternalKey : public PQBasicKey<T, X, Y> {
59public:
68
69 //Constructor
70 explicit PQInternalKey(Y element) { m_userStructInternal = element; }
71
72 //Destructor
73 virtual ~PQInternalKey() { }
74
76 virtual T userStructKey() { return 0; }
77
79 virtual X userStructInfo() { return 0; }
80
83};
84
85}
Declaration and implementation of the class PQBasicKey.
The class template PQInternalKey is a derived class of class template PQBasicKey.
Y m_userStructInternal
The class template PQInternalKey has only one public member: the m_userStructInternal that has to be ...
virtual Y userStructInternal()
Overloaded pure virtual function returning m_userStructInternal.
PQInternalKey(Y element)
virtual T userStructKey()
Overloaded pure virtual function returning 0.
virtual X userStructInfo()
Overloaded pure virtual function returning 0.
The namespace for all OGDF objects.