Open
Graph Drawing
Framework
v.2012.07
Overview
Class Hierarchy
Class Index
Class List
Members
Namespaces
Source Files
PQInternalKey.h
Go to the documentation of this file.
1
/*
2
* $Revision: 2564 $
3
*
4
* last checkin:
5
* $Author: gutwenger $
6
* $Date: 2012-07-07 00:03:48 +0200 (Sa, 07. Jul 2012) $
7
***************************************************************/
8
44
#ifdef _MSC_VER
45
#pragma once
46
#endif
47
48
49
#ifndef OGDF_PQ_INTERNAL_KEY_H
50
#define OGDF_PQ_INTERNAL_KEY_H
51
52
53
#include <stdlib.h>
54
#include <
ogdf/internal/planarity/PQBasicKey.h
>
55
56
namespace
ogdf {
57
58
59
template
<
class
T,
class
X,
class
Y>
class
PQNode;
60
78
template
<
class
T,
class
X,
class
Y>
79
class
PQInternalKey
:
public
PQBasicKey
<T,X,Y>
80
{
81
public
:
89
Y
m_userStructInternal
;
90
91
//Constructor
92
PQInternalKey
(Y element) {
m_userStructInternal
= element; }
93
94
//Destructor
95
virtual
~PQInternalKey
() {}
96
98
virtual
T
userStructKey
() {
return
0; }
99
101
virtual
X
userStructInfo
() {
return
0; }
102
104
virtual
Y
userStructInternal
() {
return
m_userStructInternal
; }
105
};
106
107
}
108
109
#endif
110
ogdf
internal
planarity
PQInternalKey.h
© 1999-2012 by
TU Dortmund
,
University of Jena
,
University of Cologne
,
University of Sydney
,
oreas GmbH