GDCM
2.2.3
|
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 GDCMVR16EXPLICITDATAELEMENT_H 00015 #define GDCMVR16EXPLICITDATAELEMENT_H 00016 00017 #include "gdcmDataElement.h" 00018 00019 namespace gdcm 00020 { 00021 // Data Element (Explicit) 00028 class GDCM_EXPORT VR16ExplicitDataElement : public DataElement 00029 { 00030 public: 00031 VL GetLength() const; 00032 00033 template <typename TSwap> 00034 std::istream &Read(std::istream &is); 00035 00036 template <typename TSwap> 00037 std::istream &ReadPreValue(std::istream &is); 00038 00039 template <typename TSwap> 00040 std::istream &ReadValue(std::istream &is); 00041 00042 template <typename TSwap> 00043 std::istream &ReadWithLength(std::istream &is, VL & length); 00044 00045 // PURPOSELY do not provide an implementation for writing ! 00046 //template <typename TSwap> 00047 //const std::ostream &Write(std::ostream &os) const; 00048 }; 00049 00050 } // end namespace gdcm 00051 00052 #include "gdcmVR16ExplicitDataElement.txx" 00053 00054 #endif //GDCMVR16EXPLICITDATAELEMENT_H