GDCM: gdcmSOPClassExtendedNegociationSub.h Source File

GDCM 3.2.8

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 "gdcmServiceClassApplicationInformation.h"
18
19namespace gdcm
20{
21namespace network
22{
23
31 class SOPClassExtendedNegociationSub
32{
33public:
34 SOPClassExtendedNegociationSub();
35 std::istream &Read(std::istream &is);
36 const std::ostream &Write(std::ostream &os) const;
37
38 size_t Size() const;
39 void Print(std::ostream &os) const;
40
41 void SetTuple(const char *uid, uint8_t levelofsupport = 3,
42 uint8_t levelofdigitalsig = 0,
43 uint8_t elementcoercion = 2);
44
45private:
46 static const uint8_t ItemType;
47 static const uint8_t Reserved2;
48 uint16_t ItemLength;
49 uint16_t UIDLength;
50 std::string /*SOP-class-uid*/ Name; // UID
51 ServiceClassApplicationInformation SCAI;
52};
53
54} // end namespace network
55
56} // end namespace gdcm
57
58#endif // GDCMSOPCLASSEXTENDEDNEGOCIATIONSUB_H
gdcm::network::SOPClassExtendedNegociationSub::Write
const std::ostream & Write(std::ostream &os) const
gdcm::network::SOPClassExtendedNegociationSub::Read
std::istream & Read(std::istream &is)
gdcm::network::SOPClassExtendedNegociationSub::Print
void Print(std::ostream &os) const
gdcm::network::SOPClassExtendedNegociationSub::SOPClassExtendedNegociationSub
SOPClassExtendedNegociationSub()
gdcm::network::SOPClassExtendedNegociationSub::Size
size_t Size() const
gdcm::network::SOPClassExtendedNegociationSub::SetTuple
void SetTuple(const char *uid, uint8_t levelofsupport=3, uint8_t levelofdigitalsig=0, uint8_t elementcoercion=2)
gdcm::network::ServiceClassApplicationInformation
Definition gdcmServiceClassApplicationInformation.h:31
gdcmServiceClassApplicationInformation.h
gdcm::network
Definition gdcmAAbortPDU.h:24
gdcm
Definition gdcmASN1.h:21