Open
Graph Drawing
Framework
v.2012.07
Overview
Class Hierarchy
Class Index
Class List
Members
Namespaces
Source Files
PQLeafKey.h
Go to the documentation of this file.
1
/*
2
* $Revision: 2523 $
3
*
4
* last checkin:
5
* $Author: gutwenger $
6
* $Date: 2012-07-02 20:59:27 +0200 (Mon, 02 Jul 2012) $
7
***************************************************************/
8
44
#ifdef _MSC_VER
45
#pragma once
46
#endif
47
48
49
#ifndef OGDF_PQ_LEAF_KEY_H
50
#define OGDF_PQ_LEAF_KEY_H
51
52
53
54
#include <stdlib.h>
55
#include <
ogdf/internal/planarity/PQBasicKey.h
>
56
57
namespace
ogdf {
58
59
60
template
<
class
T,
class
X,
class
Y>
class
PQNode;
61
108
template
<
class
T,
class
X,
class
Y>
109
class
PQLeafKey
:
public
PQBasicKey
<T,X,Y>
110
{
111
public
:
112
119
T
m_userStructKey
;
120
121
// Constructor
122
PQLeafKey
(T element)
123
:
PQBasicKey
<T,X,Y>() {
m_userStructKey
= element; }
124
125
//Destructor
126
virtual
~PQLeafKey
() {}
127
129
virtual
X
userStructInfo
() {
return
0; }
130
132
virtual
Y
userStructInternal
() {
return
0; }
133
135
virtual
T
userStructKey
() {
return
m_userStructKey
; }
136
137
};
138
139
}
140
141
#endif
ogdf
internal
planarity
PQLeafKey.h
© 1999-2012 by
TU Dortmund
,
University of Jena
,
University of Cologne
,
University of Sydney
,
oreas GmbH