PPL Logo

PUP::xlater Class Reference

#include <pup.h>

Inheritance diagram for PUP::xlater:

Inheritance graph
[legend]
Collaboration diagram for PUP::xlater:

Collaboration graph
[legend]

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]

Detailed Description

Definition at line 655 of file pup.h.


Member Typedef Documentation

typedef void(* PUP::xlater::dataConverterFn)(int N, const myByte *in, myByte *out, size_t nElem) [protected]


Constructor & Destructor Documentation

PUP::xlater::xlater ( const machineInfo fromMachine,
PUP::er fromData 
)


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void PUP::xlater::bytes ( void *  p,
size_t  n,
size_t  itemSize,
dataType  t 
) [protected, virtual]

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.

Here is the call graph for this function:


Field Documentation

dataConverterFn PUP::xlater::convertFn[dataType_last] [protected]

Definition at line 662 of file pup.h.

Referenced by bytes(), setConverterInt(), and xlater().

size_t PUP::xlater::convertSize[dataType_last] [protected]

Definition at line 664 of file pup.h.

Referenced by bytes(), setConverterInt(), and xlater().


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:34:17 2020 for Charm++ by  doxygen 1.5.5