OFFIS DCMTK  Version 3.6.0
dccfenmp.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 DcmExtendedNegotiationItem
20  * class DcmExtendedNegotiationMap
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 DCCFENMP_H
32 #define DCCFENMP_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 
41 
46 {
47 public:
54  const DcmUIDHandler& abstractSyntax,
55  const unsigned char *data,
56  Uint32 length);
57 
60 
63 
69  OFBool matches(const DcmUIDHandler& arg) const
70  {
71  return arg == uid_;
72  }
73 
79  {
80  return uid_;
81  }
82 
87  const char *getAbstractSyntaxC() const
88  {
89  return uid_.c_str();
90  }
91 
94  Uint32 getLength() const
95  {
96  return length_;
97  }
98 
101  const unsigned char *getRaw() const
102  {
103  return raw_;
104  }
105 
110  OFBool operator==(const DcmExtendedNegotiationItem& arg) const;
111 
112 private:
113 
116 
118  unsigned char *raw_;
119 
121  Uint32 length_;
122 
125 };
126 
127 
132 
137 {
138 public:
141 
144 
155  const char *key,
156  const char *abstractSyntaxUID,
157  const unsigned char *rawData,
158  Uint32 length);
159 
164  OFBool isKnownKey(const char *key) const;
165 
175  const char *key,
176  const DcmPresentationContextMap& pclist,
177  const char *pckey) const;
178 
183  const DcmExtendedNegotiationList *getExtendedNegotiationList(const char *key) const;
184 
185 private:
188 
191 
194 
195 };
196 
197 
198 #endif
199 
200 /*
201  * CVS/RCS Log
202  * $Log: dccfenmp.h,v $
203  * Revision 1.4 2010-10-14 13:17:22 joergr
204  * Updated copyright header. Added reference to COPYRIGHT file.
205  *
206  * Revision 1.3 2005/12/08 16:02:10 meichel
207  * Changed include path schema for all DCMTK header files
208  *
209  * Revision 1.2 2003/06/18 08:16:16 meichel
210  * Added comparison operators to keep MSVC5 compiler happy
211  *
212  * Revision 1.1 2003/06/10 14:27:33 meichel
213  * Initial release of class DcmAssociationConfiguration and support
214  * classes. This class maintains a list of association negotiation
215  * profiles that can be addressed by symbolic keys. The profiles may
216  * be read from a configuration file.
217  *
218  *
219  */


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