OFFIS DCMTK
Version 3.6.0
Main Page
Related Pages
Classes
Files
File List
File Members
dcmnet
include
dcmtk
dcmnet
dcasccfg.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
*
20
* Last Update: $Author: joergr $
21
* Update Date: $Date: 2010-10-14 13:17:22 $
22
* CVS/RCS Revision: $Revision: 1.4 $
23
* Status: $State: Exp $
24
*
25
* CVS/RCS Log at end of file
26
*
27
*/
28
29
#ifndef DCASCCFG_H
30
#define DCASCCFG_H
31
32
#include "dcmtk/config/osconfig.h"
33
#include "dcmtk/ofstd/ofcond.h"
/* for class OFCondition */
34
#include "dcmtk/dcmnet/assoc.h"
/* for T_ASC_Parameters */
35
#include "dcmtk/dcmnet/dccftsmp.h"
/* for class DcmTransferSyntaxMap */
36
#include "dcmtk/dcmnet/dccfpcmp.h"
/* for class DcmPresentationContextMap */
37
#include "dcmtk/dcmnet/dccfrsmp.h"
/* for class DcmRoleSelectionMap */
38
#include "dcmtk/dcmnet/dccfenmp.h"
/* for class DcmExtendedNegotiationMap */
39
#include "dcmtk/dcmnet/dccfprmp.h"
/* for class DcmProfileMap */
40
41
45
class
DcmAssociationConfiguration
46
{
47
public
:
49
DcmAssociationConfiguration
();
50
52
~DcmAssociationConfiguration
();
53
60
OFCondition
setAssociationParameters
(
61
const
char
*profile,
62
T_ASC_Parameters
& params)
const
;
63
70
OFCondition
evaluateAssociationParameters
(
71
const
char
*profile,
72
T_ASC_Association
&assoc)
const
;
73
81
OFCondition
addTransferSyntax
(
82
const
char
*key,
83
const
char
*transferSyntaxUID);
84
96
OFCondition
addPresentationContext
(
97
const
char
*key,
98
const
char
*abstractSyntaxUID,
99
const
char
*transferSyntaxKey);
100
110
OFCondition
addRole
(
111
const
char
*key,
112
const
char
*abstractSyntaxUID,
113
T_ASC_SC_ROLE role);
114
125
OFCondition
addExtendedNegotiation
(
126
const
char
*key,
127
const
char
*abstractSyntaxUID,
128
const
unsigned
char
*rawData,
129
Uint32 length);
130
144
OFCondition
addProfile
(
145
const
char
*key,
146
const
char
*presentationContextKey,
147
const
char
*roleSelectionKey=NULL,
148
const
char
*extendedNegotiationKey=NULL);
149
154
OFBool
isKnownProfile
(
const
char
*key)
const
;
155
162
OFBool
isValidSCPProfile
(
const
char
*key)
const
;
163
164
private
:
166
DcmAssociationConfiguration
(
const
DcmAssociationConfiguration
& arg);
167
169
DcmAssociationConfiguration
&
operator=
(
const
DcmAssociationConfiguration
& arg);
170
172
DcmTransferSyntaxMap
xferSyntaxes_
;
173
175
DcmPresentationContextMap
contexts_
;
176
178
DcmRoleSelectionMap
roleselection_
;
179
181
DcmExtendedNegotiationMap
extneg_
;
182
184
DcmProfileMap
profiles_
;
185
};
186
187
#endif
188
189
/*
190
* CVS/RCS Log
191
* $Log: dcasccfg.h,v $
192
* Revision 1.4 2010-10-14 13:17:22 joergr
193
* Updated copyright header. Added reference to COPYRIGHT file.
194
*
195
* Revision 1.3 2005/12/08 16:02:09 meichel
196
* Changed include path schema for all DCMTK header files
197
*
198
* Revision 1.2 2003/08/14 10:58:49 meichel
199
* Added check if association configuration profile is valid for SCP use
200
*
201
* Revision 1.1 2003/06/10 14:27:33 meichel
202
* Initial release of class DcmAssociationConfiguration and support
203
* classes. This class maintains a list of association negotiation
204
* profiles that can be addressed by symbolic keys. The profiles may
205
* be read from a configuration file.
206
*
207
*
208
*/
Generated on Thu Dec 20 2012 for
OFFIS DCMTK
Version 3.6.0 by
Doxygen
1.8.2