Open
Graph Drawing
Framework
v. 2023.09 (Elderberry)
Overview
Class Hierarchy
Class Index
Class List
Members
Namespaces
Source Files
PQNodeKey.h
Go to the documentation of this file.
1
32
#pragma once
33
34
#include <
ogdf/basic/pqtree/PQBasicKey.h
>
35
36
namespace
ogdf
{
37
53
template
<
class
T,
class
X,
class
Y>
54
class
PQNodeKey :
public
PQBasicKey<T, X, Y> {
55
public
:
57
X
m_userStructInfo
;
58
59
// Constructor
60
explicit
PQNodeKey
(X info) :
PQBasicKey
<T, X, Y>() {
m_userStructInfo
= info; }
61
62
// Destructor
63
virtual
~PQNodeKey
() { }
64
66
virtual
T
userStructKey
() {
return
nullptr
; }
67
69
virtual
X
userStructInfo
() {
return
m_userStructInfo
; }
70
72
virtual
Y
userStructInternal
() {
return
0; }
73
};
74
75
}
ogdf
The namespace for all OGDF objects.
Definition:
multilevelmixer.cpp:39
ogdf::PQNodeKey::userStructKey
virtual T userStructKey()
Returns 0.
Definition:
PQNodeKey.h:66
ogdf::PQNodeKey::m_userStructInfo
X m_userStructInfo
Stores the information. Has to be overloaded by the client.
Definition:
PQNodeKey.h:57
ogdf::PQNodeKey::PQNodeKey
PQNodeKey(X info)
Definition:
PQNodeKey.h:60
ogdf::PQNodeKey::userStructInfo
virtual X userStructInfo()
Returns m_userStructInfo.
Definition:
PQNodeKey.h:69
ogdf::PQNodeKey::~PQNodeKey
virtual ~PQNodeKey()
Definition:
PQNodeKey.h:63
ogdf::PQNodeKey::userStructInternal
virtual Y userStructInternal()
Returns 0.
Definition:
PQNodeKey.h:72
ogdf::PQBasicKey
Definition:
PQBasicKey.h:114
PQBasicKey.h
Declaration and implementation of the class PQBasicKey.
include
ogdf
basic
pqtree
PQNodeKey.h
This site is powered by Netlify.
© 1999–2024
The OGDF Team