PPL Logo

pupCheckRec Class Reference

Collaboration diagram for pupCheckRec:

Collaboration graph
[legend]

Public Member Functions

void write (PUP::dataType t, int n)
void check (PUP::dataType t, int n) const

Private Types

enum  { pupMagic = 0xf36c5a21, typeMask = 0x75 }

Private Member Functions

int getMagic (void) const
void setMagic (int v)
PUP::dataType getType (void) const
void setType (PUP::dataType v)
int getLength (void) const
void setLength (int v)
void compare (const char *kind, const char *why, int packed, int unpacked) const

Private Attributes

unsigned char magic [4]
unsigned char type
unsigned char length [3]

Detailed Description

Definition at line 56 of file pup_util.C.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
pupMagic 
typeMask 

Definition at line 60 of file pup_util.C.


Member Function Documentation

int pupCheckRec::getMagic ( void   )  const [inline, private]

Definition at line 61 of file pup_util.C.

void pupCheckRec::setMagic ( int  v  )  [inline, private]

Definition at line 62 of file pup_util.C.

PUP::dataType pupCheckRec::getType ( void   )  const [inline, private]

Definition at line 63 of file pup_util.C.

References type.

void pupCheckRec::setType ( PUP::dataType  v  )  [inline, private]

Definition at line 64 of file pup_util.C.

References type.

int pupCheckRec::getLength ( void   )  const [inline, private]

Definition at line 65 of file pup_util.C.

References length.

void pupCheckRec::setLength ( int  v  )  [inline, private]

Definition at line 66 of file pup_util.C.

void pupCheckRec::compare ( const char *  kind,
const char *  why,
int  packed,
int  unpacked 
) const [inline, private]

Definition at line 71 of file pup_util.C.

References abort(), and CmiPrintf().

void pupCheckRec::write ( PUP::dataType  t,
int  n 
) [inline]

Definition at line 83 of file pup_util.C.

References showBanner(), and type.

void pupCheckRec::check ( PUP::dataType  t,
int  n 
) const [inline]

Definition at line 89 of file pup_util.C.


Field Documentation

unsigned char pupCheckRec::magic[4] [private]

Definition at line 57 of file pup_util.C.

unsigned char pupCheckRec::type [private]

Definition at line 58 of file pup_util.C.

unsigned char pupCheckRec::length[3] [private]

Definition at line 59 of file pup_util.C.


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

Generated on Fri May 25 08:04:56 2012 for Charm++ by  doxygen 1.5.5