Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef GDCMBYTESWAPFILTER_H
00016 #define GDCMBYTESWAPFILTER_H
00017
00018 #include "gdcmDataSet.h"
00019
00020 namespace gdcm
00021 {
00022
00028 class GDCM_EXPORT ByteSwapFilter
00029 {
00030 public:
00031 ByteSwapFilter(DataSet& ds):DS(ds),ByteSwapTag(false) {}
00032 ~ByteSwapFilter();
00033
00034 bool ByteSwap();
00035 void SetByteSwapTag(bool b) { ByteSwapTag = b; }
00036
00037 private:
00038 DataSet &DS;
00039 bool ByteSwapTag;
00040 };
00041
00042 }
00043
00044 #endif //GDCMBYTESWAPFILTER_H