#include <pup.h>
Public Member Functions | |
seekBlock (er &Np, int nSections) | |
~seekBlock () | |
void | seek (int toSection) |
void | endBlock (void) |
Data Fields | |
union { | |
size_t off | |
long loff | |
const myByte * cptr | |
myByte * ptr | |
void * vptr | |
} | data |
Private Types | |
enum | { maxSections = 3 } |
Private Attributes | |
int | secTab [maxSections+1] |
int | nSec |
int | secTabOff |
er & | p |
bool | hasEnded |
Definition at line 138 of file pup.h.
Definition at line 330 of file pup_util.C.
References CmiAbort(), hasEnded, PUP::er::impl_startSeek(), PUP::er::impl_tell(), PUP::er::isPacking(), maxSections, nSec, p, secTab, and secTabOff.
PUP::seekBlock::~seekBlock | ( | ) |
Definition at line 344 of file pup_util.C.
References endBlock(), and hasEnded.
void PUP::seekBlock::seek | ( | int | toSection | ) |
Definition at line 350 of file pup_util.C.
References CmiAbort(), PUP::er::impl_seek(), PUP::er::impl_tell(), PUP::er::isPacking(), PUP::er::isUnpacking(), nSec, p, and secTab.
Referenced by TCharm::pup().
void PUP::seekBlock::endBlock | ( | void | ) |
Definition at line 361 of file pup_util.C.
References hasEnded, PUP::er::impl_endSeek(), PUP::er::impl_seek(), PUP::er::impl_tell(), PUP::er::isPacking(), nSec, p, secTab, and secTabOff.
Referenced by TCharm::pup(), and ~seekBlock().
int PUP::seekBlock::secTab[maxSections+1] [private] |
int PUP::seekBlock::nSec [private] |
int PUP::seekBlock::secTabOff [private] |
er& PUP::seekBlock::p [private] |
bool PUP::seekBlock::hasEnded [private] |
long PUP::seekBlock::loff |
Definition at line 160 of file pup.h.
Referenced by PUP::disk::impl_seek(), PUP::zdisk::impl_seek(), PUP::disk::impl_startSeek(), PUP::zdisk::impl_startSeek(), PUP::disk::impl_tell(), and PUP::zdisk::impl_tell().
const myByte* PUP::seekBlock::cptr |
Definition at line 162 of file pup.h.
Referenced by PUP::mem::impl_seek(), PUP::mem::impl_startSeek(), and PUP::mem::impl_tell().
void* PUP::seekBlock::vptr |
union { ... } PUP::seekBlock::data |