OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmnet
include
dcmtk
dcmnet
dccfprmp.h
1
/*
2
*
3
* Copyright (C) 1994-2010, OFFIS e.V.
4
* All rights reserved. See COPYRIGHT file for details.
5
*
6
* This software and supporting documentation were developed by
7
*
8
* OFFIS e.V.
9
* R&D Division Health
10
* Escherweg 2
11
* D-26121 Oldenburg, Germany
12
*
13
*
14
* Module: dcmnet
15
*
16
* Author: Marco Eichelberg
17
*
18
* Purpose:
19
* class DcmProfileEntry
20
* class DcmProfileMap
21
*
22
* Last Update: $Author: joergr $
23
* Update Date: $Date: 2010-10-14 13:17:22 $
24
* CVS/RCS Revision: $Revision: 1.4 $
25
* Status: $State: Exp $
26
*
27
* CVS/RCS Log at end of file
28
*
29
*/
30
31
#ifndef DCCFPRMP_H
32
#define DCCFPRMP_H
33
34
#include "dcmtk/config/osconfig.h"
35
#include "dcmtk/ofstd/ofstring.h"
/* for class OFString */
36
#include "dcmtk/ofstd/ofcond.h"
/* for class OFCondition */
37
#include "dcmtk/dcmnet/dcmsmap.h"
/* for class DcmSimpleMap<> */
38
39
43
class
DcmProfileEntry
44
{
45
public
:
51
DcmProfileEntry
(
52
const
OFString
& presentationContextGroup,
53
const
OFString
& roleSelectionGroup,
54
const
OFString
& extendedNegotiationGroup);
55
57
DcmProfileEntry
(
const
DcmProfileEntry
& arg);
58
60
~DcmProfileEntry
();
61
65
const
char
*
getPresentationContextKey
()
const
;
66
70
const
char
*
getRoleSelectionKey
()
const
;
71
75
const
char
*
getExtendedNegotiationKey
()
const
;
76
81
OFBool
operator==
(
const
DcmProfileEntry
& arg)
const
82
{
83
return
(
presentationContextGroup_
== arg.
presentationContextGroup_
)
84
&& (
roleSelectionGroup_
== arg.
roleSelectionGroup_
)
85
&& (
extendedNegotiationGroup_
== arg.
extendedNegotiationGroup_
);
86
}
87
88
private
:
89
91
DcmProfileEntry
&
operator=
(
const
DcmProfileEntry
& arg);
92
94
OFString
presentationContextGroup_
;
95
97
OFString
roleSelectionGroup_
;
98
100
OFString
extendedNegotiationGroup_
;
101
};
102
103
107
class
DcmProfileMap
108
{
109
public
:
111
DcmProfileMap
();
112
114
~DcmProfileMap
();
115
123
OFCondition
add
(
124
const
char
*key,
125
const
char
*presentationContextKey,
126
const
char
*roleSelectionKey,
127
const
char
*extendedNegotiationKey);
128
133
OFBool
isKnownKey
(
const
char
*key)
const
;
134
139
const
char
*
getPresentationContextKey
(
const
char
*key)
const
;
140
145
const
char
*
getRoleSelectionKey
(
const
char
*key)
const
;
146
151
const
char
*
getExtendedNegotiationKey
(
const
char
*key)
const
;
152
153
private
:
155
DcmProfileMap
(
const
DcmProfileMap
& arg);
156
158
DcmProfileMap
&
operator=
(
const
DcmProfileMap
& arg);
159
161
DcmSimpleMap<DcmProfileEntry *>
map_
;
162
163
};
164
165
166
#endif
167
168
/*
169
* CVS/RCS Log
170
* $Log: dccfprmp.h,v $
171
* Revision 1.4 2010-10-14 13:17:22 joergr
172
* Updated copyright header. Added reference to COPYRIGHT file.
173
*
174
* Revision 1.3 2005/12/08 16:02:12 meichel
175
* Changed include path schema for all DCMTK header files
176
*
177
* Revision 1.2 2003/06/18 08:16:16 meichel
178
* Added comparison operators to keep MSVC5 compiler happy
179
*
180
* Revision 1.1 2003/06/10 14:27:33 meichel
181
* Initial release of class DcmAssociationConfiguration and support
182
* classes. This class maintains a list of association negotiation
183
* profiles that can be addressed by symbolic keys. The profiles may
184
* be read from a configuration file.
185
*
186
*
187
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2