50 virtual size_t size(
void)
const = 0;
51 virtual size_t offset(
void)
const = 0;
73 const char *p = &((
const char *)pFrom)[
m_offset];
93 const char *pin = (
const char *)∈
95 char *pout = (
char *)&out;
97 for (
unsigned int i = 0; i <
sizeof(T)/2; i++) {
98 pout[i] = pin[
sizeof(T) - 1 - i];
99 pout[
sizeof(T) - 1 - i] = pin[i];
128 return mbswap<T>(*((T *)p));
135 ((T *)p)[0] = mbswap<T>(T(d));
virtual void uncast(void *pTo, doublereal d) const =0
doublereal cast(const void *pFrom) const
virtual doublereal cast(const void *p) const =0
void uncast(void *pTo, doublereal d) const
virtual size_t size(void) const =0
virtual size_t offset(void) const =0
TBufCastHToN(size_t offset)
size_t offset(void) const
bool bIsLittleEndian(void)
void uncast(void *pTo, doublereal d) const
BufCast * copy(size_t offset) const
doublereal cast(const void *pFrom) const
BufCast * copy(size_t offset) const
void ReadBufCast(HighParser &HP, std::vector< BufCast * > &data)
std::map< std::string, bool > TypeMap_t
static T mbswap(const T in)
virtual BufCast * copy(size_t offset) const =0
void SwapMapInit(TypeMap_t &swapmap)