#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 | ) |
Definition at line 6 of file DTFileReaderHelpers.h.
{ union bPtr { const T* dataP; char* fileP; }; union bPtr buf; buf.dataP = ptr; return buf.fileP; }
T* typePointer | ( | const char * | ptr | ) |
Definition at line 17 of file DTFileReaderHelpers.h.
{ union bPtr { T* dataP; const char* fileP; }; union bPtr buf; buf.fileP = ptr; return buf.dataP; }