#include <pup.h>
Public Member Functions | |
size_t | size (void) const |
char * | get_current_pointer () const |
char * | get_orig_pointer () const |
void | advance (size_t const offset) |
Protected Member Functions | |
mem (unsigned int type, myByte *Nbuf) | |
mem (const mem &p) | |
void | operator= (const mem &p) |
virtual void | impl_startSeek (seekBlock &s) |
PUP::er seek implementation routines. | |
virtual size_t | impl_tell (seekBlock &s) |
virtual void | impl_seek (seekBlock &s, size_t off) |
Protected Attributes | |
myByte * | origBuf |
myByte * | buf |
Definition at line 415 of file pup.h.
PUP::mem::mem | ( | const mem & | p | ) | [protected] |
void PUP::mem::operator= | ( | const mem & | p | ) | [protected] |
void PUP::mem::impl_startSeek | ( | seekBlock & | s | ) | [protected, virtual] |
PUP::er seek implementation routines.
Reimplemented from PUP::er.
Definition at line 390 of file pup_util.C.
References buf, PUP::seekBlock::data, and PUP::seekBlock::ptr.
Reimplemented from PUP::er.
Definition at line 392 of file pup_util.C.
References buf, PUP::seekBlock::data, and PUP::seekBlock::ptr.
Reimplemented from PUP::er.
Definition at line 394 of file pup_util.C.
References buf, PUP::seekBlock::data, and PUP::seekBlock::ptr.
size_t PUP::mem::size | ( | void | ) | const [inline, virtual] |
Reimplemented from PUP::er.
Definition at line 429 of file pup.h.
Referenced by _recvCheckpointHandler(), _recvRestartCheckpointHandler(), bdcastROGroupData(), chpt< StateType >::checkpoint(), CkLocMgr::emigrate(), PUP::fromMemBuf(), CkLocMgr::immigrate(), PUP_toCmiAllocMem::pupCmiAllocBuf(), chpt< StateType >::restore(), and PUP::toMemBuf().
char* PUP::mem::get_current_pointer | ( | ) | const [inline] |
Definition at line 431 of file pup.h.
References buf.
Referenced by ReadOnlyExt::_roPup(), and ArrayElemExt::pup().
char* PUP::mem::get_orig_pointer | ( | ) | const [inline] |
void PUP::mem::advance | ( | size_t const | offset | ) | [inline] |
Definition at line 439 of file pup.h.
References buf.
Referenced by ReadOnlyExt::_roPup(), and ArrayElemExt::pup().
myByte* PUP::mem::origBuf [protected] |
Definition at line 417 of file pup.h.
Referenced by get_orig_pointer(), PUP_fromCmiAllocMem::pupCmiAllocBuf(), PUP_toCmiAllocMem::pupCmiAllocBuf(), and size().
myByte* PUP::mem::buf [protected] |
Definition at line 418 of file pup.h.
Referenced by advance(), PUP::fromMem::bytes(), PUP::toMem::bytes(), PUP_fromCmiAllocMem::bytes(), PUP_toCmiAllocMem::bytes(), CmiFread(), CmiFwrite(), get_current_pointer(), impl_seek(), impl_startSeek(), impl_tell(), PUP_fromCmiAllocMem::pupCmiAllocBuf(), PUP_toCmiAllocMem::pupCmiAllocBuf(), and size().