OFFIS DCMTK  Version 3.6.0
dccfrsmp.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 DcmRoleSelectionItem
20  * class DcmRoleSelectionMap
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 DCCFRSMP_H
32 #define DCCFRSMP_H
33 
34 #include "dcmtk/config/osconfig.h"
35 #include "dcmtk/ofstd/oflist.h" /* for class OFList<> */
36 #include "dcmtk/ofstd/ofcond.h" /* for class OFCondition */
37 #include "dcmtk/dcmnet/dcmsmap.h" /* for class DcmSimpleMap<> */
38 #include "dcmtk/dcmnet/dccfuidh.h" /* for class DcmUIDHandler */
39 #include "dcmtk/dcmnet/assoc.h" /* for T_ASC_SC_ROLE */
40 
42 
47 {
48 public:
54  T_ASC_SC_ROLE role,
55  const DcmUIDHandler& abstractSyntax );
56 
59 
62 
68  OFBool matches(const DcmUIDHandler& arg) const
69  {
70  return arg == uid_;
71  }
72 
78  {
79  return uid_;
80  }
81 
84  T_ASC_SC_ROLE getRole() const
85  {
86  return role_;
87  }
88 
93  OFBool operator==(const DcmRoleSelectionItem& arg) const
94  {
95  return (role_ == arg.role_) && (uid_ == arg.uid_);
96  }
97 
98 private:
99 
102 
104  T_ASC_SC_ROLE role_;
105 
108 };
109 
110 
115 
120 {
121 public:
124 
127 
137  const char *key,
138  const char *abstractSyntaxUID,
139  T_ASC_SC_ROLE role);
140 
145  OFBool isKnownKey(const char *key) const;
146 
156  const char *key,
157  const DcmPresentationContextMap& pclist,
158  const char *pckey) const;
159 
164  const DcmRoleSelectionList *getRoleSelectionList(const char *key) const;
165 
166 private:
169 
172 
175 
176 };
177 
178 #endif
179 
180 /*
181  * CVS/RCS Log
182  * $Log: dccfrsmp.h,v $
183  * Revision 1.4 2010-10-14 13:17:22 joergr
184  * Updated copyright header. Added reference to COPYRIGHT file.
185  *
186  * Revision 1.3 2005/12/08 16:02:13 meichel
187  * Changed include path schema for all DCMTK header files
188  *
189  * Revision 1.2 2003/06/18 08:16:16 meichel
190  * Added comparison operators to keep MSVC5 compiler happy
191  *
192  * Revision 1.1 2003/06/10 14:27:33 meichel
193  * Initial release of class DcmAssociationConfiguration and support
194  * classes. This class maintains a list of association negotiation
195  * profiles that can be addressed by symbolic keys. The profiles may
196  * be read from a configuration file.
197  *
198  *
199  */


Generated on Thu Dec 20 2012 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.8.2