PPL Logo

pupCheckRec Class Reference

Collaboration diagram for pupCheckRec:

Collaboration graph
[legend]

Public Member Functions

void write (PUP::dataType t, size_t n)
void check (PUP::dataType t, size_t 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)
size_t getLength (void) const
void setLength (size_t 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 [8]

Detailed Description

Definition at line 87 of file pup_util.C.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
pupMagic 
typeMask 

Definition at line 91 of file pup_util.C.


Member Function Documentation

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

Definition at line 92 of file pup_util.C.

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

Definition at line 93 of file pup_util.C.

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

Definition at line 94 of file pup_util.C.

References type.

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

Definition at line 95 of file pup_util.C.

References type.

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

Definition at line 96 of file pup_util.C.

References length.

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

Definition at line 101 of file pup_util.C.

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

Definition at line 106 of file pup_util.C.

References abort(), and CmiPrintf().

Here is the call graph for this function:

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

Definition at line 118 of file pup_util.C.

References bannerDisplayed, showBanner(), and type.

Here is the call graph for this function:

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

Definition at line 124 of file pup_util.C.


Field Documentation

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

Definition at line 88 of file pup_util.C.

unsigned char pupCheckRec::type [private]

Definition at line 89 of file pup_util.C.

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

Definition at line 90 of file pup_util.C.


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

Generated on Mon Sep 21 08:28:52 2020 for Charm++ by  doxygen 1.5.5