GDCM  2.2.0
gdcmJPEG16Codec.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 GDCMJPEG16CODEC_H
00015 #define GDCMJPEG16CODEC_H
00016 
00017 #include "gdcmJPEGCodec.h"
00018 
00019 namespace gdcm
00020 {
00021 
00022 class JPEGInternals;
00023 class ByteValue;
00028 class JPEG16Codec : public JPEGCodec
00029 {
00030 public:
00031   JPEG16Codec();
00032   ~JPEG16Codec();
00033 
00034   bool Decode(std::istream &is, std::ostream &os);
00035   bool InternalCode(const char *input, unsigned long len, std::ostream &os);
00036 
00037   bool GetHeaderInfo(std::istream &is, TransferSyntax &ts);
00038 
00039 private:
00040   JPEGInternals *Internals;
00041 };
00042 
00043 } // end namespace gdcm
00044 
00045 #endif //GDCMJPEG16CODEC_H

Generated on Fri Mar 30 2012 12:44:03 for GDCM by doxygen 1.8.0
SourceForge.net Logo