GDCM  2.0.18
gdcmUNExplicitImplicitDataElement.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 GDCMUNEXPLICITIMPLICITDATAELEMENT_H
00015 #define GDCMUNEXPLICITIMPLICITDATAELEMENT_H
00016 
00017 #include "gdcmDataElement.h"
00018 
00019 namespace gdcm
00020 {
00021 // Data Element (ExplicitImplicit)
00032 class GDCM_EXPORT UNExplicitImplicitDataElement : public DataElement
00033 {
00034 public:
00035   VL GetLength() const;
00036 
00037   template <typename TSwap>
00038   std::istream &Read(std::istream &is);
00039 
00040   template <typename TSwap>
00041   std::istream &ReadPreValue(std::istream &is);
00042 
00043   template <typename TSwap>
00044   std::istream &ReadValue(std::istream &is);
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 "gdcmUNExplicitImplicitDataElement.txx"
00054 
00055 #endif //GDCMUNEXPLICITIMPLICITDATAELEMENT_H

Generated on Tue Dec 6 2011 20:36:27 for GDCM by doxygen 1.7.5.1
SourceForge.net Logo