OFFIS DCMTK  Version 3.6.0
dccfpcmp.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 DcmPresentationContextItem
20  * class DcmPresentationContextMap
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 DCCFPCMP_H
32 #define DCCFPCMP_H
33 
34 #include "dcmtk/config/osconfig.h"
35 #include "dcmtk/ofstd/oflist.h" /* for class OFList<> */
36 #include "dcmtk/ofstd/ofstring.h" /* for class OFString */
37 #include "dcmtk/ofstd/ofcond.h" /* for class OFCondition */
38 #include "dcmtk/dcmnet/dcmsmap.h" /* for class DcmSimpleMap<> */
39 #include "dcmtk/dcmnet/dccfuidh.h" /* for class DcmUIDHandler */
40 
41 
46 {
47 public:
53  const DcmUIDHandler& abstractSyntax,
54  const OFString& xferSyntaxGroup );
55 
58 
61 
67  OFBool matches(const DcmUIDHandler& arg) const
68  {
69  return arg == uid_;
70  }
71 
75  const char *getAbstractSyntax() const
76  {
77  return uid_.c_str();
78  }
79 
84  const char *getTransferSyntaxKey() const
85  {
86  return xferSyntaxGroup_.c_str();
87  }
88 
93  OFBool operator==(const DcmPresentationContextItem& arg) const
94  {
95  return (uid_ == arg.uid_) && (xferSyntaxGroup_ == arg.xferSyntaxGroup_);
96  }
97 
98 private:
99 
102 
105 
108 };
109 
110 
115 
116 
121 {
122 public:
125 
128 
138  const char *key,
139  const char *abstractSyntaxUID,
140  const char *transferSyntaxKey);
141 
146  OFBool isKnownKey(const char *key) const;
147 
154  OFBool isKnownAbstractSyntax(const char *key, const DcmUIDHandler& abstractSyntax) const;
155 
160  const DcmPresentationContextList *getPresentationContextList(const char *key) const;
161 
162 private:
165 
168 
171 
172 };
173 
174 #endif
175 
176 /*
177  * CVS/RCS Log
178  * $Log: dccfpcmp.h,v $
179  * Revision 1.4 2010-10-14 13:17:22 joergr
180  * Updated copyright header. Added reference to COPYRIGHT file.
181  *
182  * Revision 1.3 2005/12/08 16:02:11 meichel
183  * Changed include path schema for all DCMTK header files
184  *
185  * Revision 1.2 2003/06/18 08:16:16 meichel
186  * Added comparison operators to keep MSVC5 compiler happy
187  *
188  * Revision 1.1 2003/06/10 14:27:33 meichel
189  * Initial release of class DcmAssociationConfiguration and support
190  * classes. This class maintains a list of association negotiation
191  * profiles that can be addressed by symbolic keys. The profiles may
192  * be read from a configuration file.
193  *
194  *
195  */


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