GDCM  2.2.3
gdcmSOPClassExtendedNegociationSub.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program: GDCM (Grassroots DICOM). A DICOM library
00004 
00005   Copyright (c) 2006-2011 Mathieu Malaterre
00006   All rights reserved.
00007   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE.  See the above copyright notice for more information.
00012 
00013 =========================================================================*/
00014 #ifndef GDCMSOPCLASSEXTENDEDNEGOCIATIONSUB_H
00015 #define GDCMSOPCLASSEXTENDEDNEGOCIATIONSUB_H
00016 
00017 #include "gdcmServiceClassApplicationInformation.h"
00018 
00019 namespace gdcm
00020 {
00021 namespace network
00022 {
00023 
00031 class SOPClassExtendedNegociationSub
00032 {
00033 public:
00034   SOPClassExtendedNegociationSub();
00035   std::istream &Read(std::istream &is);
00036   const std::ostream &Write(std::ostream &os) const;
00037 
00038   size_t Size() const;
00039   void Print(std::ostream &os) const;
00040 
00041   void SetTuple(const char *uid, uint8_t levelofsupport = 3,
00042     uint8_t levelofdigitalsig = 0,
00043     uint8_t elementcoercion = 2);
00044 
00045 private:
00046   static const uint8_t ItemType;
00047   static const uint8_t Reserved2;
00048   uint16_t ItemLength;
00049   uint16_t UIDLength;
00050   std::string /*SOP-class-uid*/ Name; // UID
00051   ServiceClassApplicationInformation SCAI;
00052 };
00053 
00054 } // end namespace network
00055 
00056 } // end namespace gdcm
00057 
00058 #endif // GDCMSOPCLASSEXTENDEDNEGOCIATIONSUB_H

Generated on Thu Nov 28 2013 07:02:50 for GDCM by doxygen 1.7.6.1
SourceForge.net Logo