gdcmExplicitDataElement.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 GDCMEXPLICITDATAELEMENT_H
00016 #define GDCMEXPLICITDATAELEMENT_H
00017 
00018 #include "gdcmDataElement.h"
00019 
00020 namespace gdcm
00021 {
00026 class GDCM_EXPORT ExplicitDataElement : public DataElement
00027 {
00028 public:
00029   VL GetLength() const;
00030 
00031   template <typename TSwap>
00032   std::istream &Read(std::istream &is);
00033 
00034   template <typename TSwap>
00035   std::istream &ReadWithLength(std::istream &is, VL & length);
00036 
00037   template <typename TSwap>
00038   const std::ostream &Write(std::ostream &os) const;
00039 };
00040 
00041 } // end namespace gdcm
00042 
00043 #include "gdcmExplicitDataElement.txx"
00044 
00045 #endif //GDCMEXPLICITDATAELEMENT_H
00046 

Generated on Sat Dec 4 2010 08:58:42 for GDCM by doxygen 1.7.2
SourceForge.net Logo