Logo Search packages:      
Sourcecode: gdcm version File versions



  Program: GDCM (Grassroots DICOM). A DICOM library
  Module:  $URL$

  Copyright (c) 2006-2008 Mathieu Malaterre
  All rights reserved.
  See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.

     This software is distributed WITHOUT ANY WARRANTY; without even
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
     PURPOSE.  See the above copyright notice for more information.

#ifndef __gdcmByteSwapFilter_h
#define __gdcmByteSwapFilter_h

#include "gdcmDataSet.h"

namespace gdcm

 * \brief ByteSwapFilter
 * In place byte-swapping of a dataset
 * FIXME: FL status ??
00028 class GDCM_EXPORT ByteSwapFilter
  ByteSwapFilter(DataSet& ds):DS(ds),ByteSwapTag(false) {}

  bool ByteSwap();
  void SetByteSwapTag(bool b) { ByteSwapTag = b; }

  DataSet &DS;
  bool ByteSwapTag;

} // end namespace gdcm

#endif //__gdcmByteSwapFilter_h

Generated by  Doxygen 1.6.0   Back to index