#include <pup.h>
Public Member Functions | |
xlater (const machineInfo &fromMachine, er &fromData) | |
Protected Types | |
typedef void(* | dataConverterFn )(int N, const myByte *in, myByte *out, size_t nElem) |
Protected Member Functions | |
void | setConverterInt (const machineInfo &m, const machineInfo &cur, int isUnsigned, int intType, dataType dest) |
virtual void | bytes (void *p, size_t n, size_t itemSize, dataType t) |
Protected Attributes | |
dataConverterFn | convertFn [dataType_last] |
size_t | convertSize [dataType_last] |
Definition at line 655 of file pup.h.
typedef void(* PUP::xlater::dataConverterFn)(int N, const myByte *in, myByte *out, size_t nElem) [protected] |
PUP::xlater::xlater | ( | const machineInfo & | fromMachine, | |
PUP::er & | fromData | |||
) |
Definition at line 247 of file pup_xlater.C.
References abort(), PUP::machineInfo::boolBytes, converterFloat(), convertFn, convertSize, PUP::machineInfo::current(), cvt_bool(), cvt_null(), cvt_swap(), PUP::machineInfo::doubleBytes, PUP::machineInfo::floatBytes, PUP::machineInfo::intFormat, PUP::machineInfo::pointerBytes, setConverterInt(), PUP::Tbool, PUP::Tbyte, PUP::Tchar, PUP::Tdouble, PUP::Tfloat, PUP::Tint, PUP::Tint128, PUP::Tlong, PUP::Tlongdouble, PUP::Tlonglong, PUP::Tpointer, PUP::Tshort, PUP::Tsync, PUP::Tuchar, PUP::Tuint, PUP::Tuint128, PUP::Tulong, PUP::Tulonglong, and PUP::Tushort.
void PUP::xlater::setConverterInt | ( | const machineInfo & | m, | |
const machineInfo & | cur, | |||
int | isUnsigned, | |||
int | intType, | |||
dataType | dest | |||
) | [protected] |
Definition at line 214 of file pup_xlater.C.
References convertFn, convertSize, cvt_intTable, cvt_null(), PUP::machineInfo::intBytes, and PUP::machineInfo::intFormat.
Referenced by xlater().
Implements PUP::er.
Definition at line 301 of file pup_xlater.C.
References buf, PUP::er::bytes(), convertFn, convertSize, free(), malloc(), and PUP::wrap_er::p.
dataConverterFn PUP::xlater::convertFn[dataType_last] [protected] |
size_t PUP::xlater::convertSize[dataType_last] [protected] |