#include <boost/cstdint.hpp>
Go to the source code of this file.
Classes | |
struct | twoNibble |
struct | twoNibble64 |
Functions | |
template<class T> | |
char * | dataPointer (const T *ptr) |
template<class T> | |
T * | typePointer (const char *ptr) |
char* dataPointer | ( | const T * | ptr | ) | [inline] |
Definition at line 6 of file DTFileReaderHelpers.h.
00006 { 00007 union bPtr { 00008 const T* dataP; 00009 char* fileP; 00010 }; 00011 union bPtr buf; 00012 buf.dataP = ptr; 00013 return buf.fileP; 00014 }
T* typePointer | ( | const char * | ptr | ) | [inline] |
Definition at line 17 of file DTFileReaderHelpers.h.
00017 { 00018 union bPtr { 00019 T* dataP; 00020 const char* fileP; 00021 }; 00022 union bPtr buf; 00023 buf.fileP = ptr; 00024 return buf.dataP; 00025 }