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
54template<class T, class X, class Y>
55class PQInternalKey : public PQBasicKey<T, X, Y> {
56public:
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
80};
81
82}
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.