GDCM 2.0.17

gdcmVR16ExplicitDataElement.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program: GDCM (Grassroots DICOM). A DICOM library
00004   Module:  $URL$
00005 
00006   Copyright (c) 2006-2010 Mathieu Malaterre
00007   All rights reserved.
00008   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 #ifndef GDCMVR16EXPLICITDATAELEMENT_H
00016 #define GDCMVR16EXPLICITDATAELEMENT_H
00017 
00018 #include "gdcmDataElement.h"
00019 
00020 namespace gdcm
00021 {
00022 // Data Element (Explicit)
00029 class GDCM_EXPORT VR16ExplicitDataElement : public DataElement
00030 {
00031 public:
00032   VL GetLength() const;
00033 
00034   template <typename TSwap>
00035   std::istream &Read(std::istream &is);
00036 
00037   template <typename TSwap>
00038   std::istream &ReadPreValue(std::istream &is);
00039 
00040   template <typename TSwap>
00041   std::istream &ReadValue(std::istream &is);
00042 
00043   template <typename TSwap>
00044   std::istream &ReadWithLength(std::istream &is, VL & length);
00045 
00046   // PURPOSELY do not provide an implementation for writing !
00047   //template <typename TSwap>
00048   //const std::ostream &Write(std::ostream &os) const;
00049 };
00050 
00051 } // end namespace gdcm
00052 
00053 #include "gdcmVR16ExplicitDataElement.txx"
00054 
00055 #endif //GDCMVR16EXPLICITDATAELEMENT_H

Generated on Tue Feb 1 2011 23:59:13 for GDCM by doxygen 1.7.3
SourceForge.net Logo