GDCM 2.2.1

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

gdcmSOPClassExtendedNegociationSub.h
Go to the documentation of this file.
1 /*=========================================================================
2
3 Program: GDCM (Grassroots DICOM). A DICOM library
4
5 Copyright (c) 2006-2011 Mathieu Malaterre
6 All rights reserved.
7 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12
13 =========================================================================*/
14 #ifndef GDCMSOPCLASSEXTENDEDNEGOCIATIONSUB_H
15 #define GDCMSOPCLASSEXTENDEDNEGOCIATIONSUB_H
16
17 #include "gdcmTypes.h"
18
19 namespace gdcm
20 {
21
22 namespace network
23 {
24
32 class SOPClassExtendedNegociationSub
33 {
34 public:
35 SOPClassExtendedNegociationSub();
36 std::istream &Read(std::istream &is);
37 const std::ostream &Write(std::ostream &os) const;
38
39 size_t Size() const;
40
41 private:
42 static const uint8_t ItemType;
43 static const uint8_t Reserved2;
44 uint16_t ItemLength;
45 uint16_t UIDLength;
46 std::string /*SOP-class-uid*/ Name; // UID
47 std::string /*Service-class-application-information*/ Blob;
48 };
49
50 } // end namespace network
51
52 } // end namespace gdcm
53
54 #endif // GDCMSOPCLASSEXTENDEDNEGOCIATIONSUB_H