
#include <pup.h>

Public Member Functions | |
| seekBlock (er &Np, int nSections) | |
| ~seekBlock () | |
| void | seek (int toSection) |
| void | endBlock (void) |
Data Fields | |
| union { | |
| int 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 |
| CmiBool | hasEnded |
Definition at line 107 of file pup.h.
Definition at line 222 of file pup_util.C.
References CmiAbort(), CmiFalse, hasEnded, PUP::er::impl_startSeek(), PUP::er::impl_tell(), PUP::er::isPacking(), maxSections, nSec, p, secTab, and secTabOff.
| PUP::seekBlock::~seekBlock | ( | ) |
| void PUP::seekBlock::seek | ( | int | toSection | ) |
Definition at line 242 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 253 of file pup_util.C.
References CmiTrue, 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] |
CmiBool PUP::seekBlock::hasEnded [private] |
| long PUP::seekBlock::loff |
Definition at line 129 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 131 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 |
1.5.5