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 GDCMDELTAENCODINGCODEC_H 00016 #define GDCMDELTAENCODINGCODEC_H 00017 00018 #include "gdcmImageCodec.h" 00019 #error do not use 00020 00021 namespace gdcm 00022 { 00023 00028 class DeltaEncodingCodec : public ImageCodec 00029 { 00030 public: 00031 DeltaEncodingCodec(); 00032 ~DeltaEncodingCodec(); 00033 bool CanDecode(TransferSyntax const &ts); 00034 bool Decode(DataElement const &is, DataElement &os); 00035 protected: 00036 bool Decode(std::istream &is, std::ostream &os); 00037 }; 00038 00039 } // end namespace gdcm 00040 00041 #endif //GDCMDELTAENCODINGCODEC_H