GDCM  2.2.3
gdcmPGXCodec.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 GDCMPGXCODEC_H
00015 #define GDCMPGXCODEC_H
00016 
00017 #include "gdcmImageCodec.h"
00018 
00019 namespace gdcm
00020 {
00021 
00026 class GDCM_EXPORT PGXCodec : public ImageCodec
00027 {
00028 public:
00029   PGXCodec();
00030   ~PGXCodec();
00031   bool CanDecode(TransferSyntax const &ts) const;
00032   bool CanCode(TransferSyntax const &ts) const;
00033 
00034   bool GetHeaderInfo(std::istream &is, TransferSyntax &ts);
00035 
00036   bool Read(const char *filename, DataElement &out) const;
00037   bool Write(const char *filename, const DataElement &out) const;
00038 private:
00039 };
00040 
00041 } // end namespace gdcm
00042 
00043 #endif //GDCMPGXCODEC_H

Generated on Thu Nov 28 2013 07:02:50 for GDCM by doxygen 1.7.6.1
SourceForge.net Logo