My Project
|
00001 /* 00002 $Id: SwapBytes.hh 1562 2006-06-08 10:27:20Z suzuki $ 00003 */ 00004 00005 00006 #ifndef SWAPBYTES_HH 00007 #define SWAPBYTES_HH 00008 #include "Header.hh" 00010 00025 template <class T> 00026 class SwapBytes 00027 { 00028 private: 00029 UChar *u; 00030 public: 00031 SwapBytes(); 00034 ~SwapBytes(); 00036 void swap( T * pBuffer, UInt8 BufferLength ); 00043 }; 00044 00045 #include "SwapBytes.cc" 00046 00047 #endif 00048