28 #ifndef __itkByteSwapper_h
29 #define __itkByteSwapper_h
49 template<
typename T >
132 static void Swap2(
void *p);
143 static void Swap4(
void *p);
154 static void Swap8(
void *p);
170 #ifndef ITK_MANUAL_INSTANTIATION
171 #include "itkByteSwapper.hxx"
static void SwapFromSystemToBigEndian(T *p)
SmartPointer< const Self > ConstPointer
static void SwapWrite2Range(void *p, BufferSizeType num, OStreamType *fp)
static bool SystemIsBigEndian()
SizeValueType BufferSizeType
unsigned long SizeValueType
static void SwapRangeFromSystemToBigEndian(T *p, BufferSizeType num)
static void Swap8(void *p)
static void Swap2(void *p)
static void SwapWrite8Range(void *p, BufferSizeType num, OStreamType *fp)
static void SwapRangeFromSystemToLittleEndian(T *p, BufferSizeType num)
static void Swap2Range(void *p, BufferSizeType num)
static bool SystemIsLittleEndian()
static void SwapWriteRangeFromSystemToLittleEndian(T *p, int num, OStreamType *fp)
static void SwapFromSystemToLittleEndian(T *p)
void operator=(const ByteSwapper &)
static void Swap4(void *p)
static void Swap8Range(void *p, BufferSizeType num)
static void Swap4Range(void *p, BufferSizeType num)
static void SwapWrite4Range(void *p, BufferSizeType num, OStreamType *fp)
static void SwapWriteRangeFromSystemToBigEndian(T *p, int num, OStreamType *fp)
Base class for most ITK classes.
Perform machine dependent byte swapping.
SmartPointer< Self > Pointer