Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef GDCMRAWCODEC_H
00016 #define GDCMRAWCODEC_H
00017
00018 #include "gdcmImageCodec.h"
00019
00020 namespace gdcm
00021 {
00022
00023 class RAWInternals;
00027 class GDCM_EXPORT RAWCodec : public ImageCodec
00028 {
00029 public:
00030 RAWCodec();
00031 ~RAWCodec();
00032 bool CanCode(TransferSyntax const &ts) const;
00033 bool CanDecode(TransferSyntax const &ts) const;
00034 bool Decode(DataElement const &is, DataElement &os);
00035 bool Code(DataElement const &in, DataElement &out);
00036
00037 bool GetHeaderInfo(std::istream &is, TransferSyntax &ts);
00038
00039 protected:
00040 bool Decode(std::istream &is, std::ostream &os);
00041
00042 private:
00043 RAWInternals *Internals;
00044 };
00045
00046 }
00047
00048 #endif //__gdcmRAWcodec_h