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, int nElem)

Protected Member Functions

void setConverterInt (const machineInfo &m, const machineInfo &cur, int isUnsigned, int intType, dataType dest)
virtual void bytes (void *p, int n, size_t itemSize, dataType t)

Protected Attributes

dataConverterFn convertFn [dataType_last]
size_t convertSize [dataType_last]

Detailed Description

Definition at line 582 of file pup.h.


Member Typedef Documentation

typedef void(* PUP::xlater::dataConverterFn)(int N, const myByte *in, myByte *out, int 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]

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

Implements PUP::er.

Definition at line 290 of file pup_xlater.C.

References PUP::er::bytes(), convertFn, convertSize, free(), malloc(), and PUP::wrap_er::p.


Field Documentation

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

Definition at line 589 of file pup.h.

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

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

Definition at line 591 of file pup.h.

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


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

Generated on Fri May 25 08:06:13 2012 for Charm++ by  doxygen 1.5.5