PPL Logo

PUP::seekBlock Class Reference

#include <pup.h>

Collaboration diagram for PUP::seekBlock:

Collaboration graph
[legend]

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
erp
bool hasEnded

Detailed Description

Definition at line 138 of file pup.h.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
maxSections 

Definition at line 139 of file pup.h.


Constructor & Destructor Documentation

PUP::seekBlock::seekBlock ( PUP::er Np,
int  nSections 
)

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.

Here is the call graph for this function:

PUP::seekBlock::~seekBlock (  ) 

Definition at line 344 of file pup_util.C.

References endBlock(), and hasEnded.

Here is the call graph for this function:


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

int PUP::seekBlock::secTab[maxSections+1] [private]

Definition at line 140 of file pup.h.

Referenced by endBlock(), seek(), and seekBlock().

Definition at line 141 of file pup.h.

Referenced by endBlock(), seek(), and seekBlock().

Definition at line 142 of file pup.h.

Referenced by endBlock(), and seekBlock().

er& PUP::seekBlock::p [private]

Definition at line 143 of file pup.h.

Referenced by endBlock(), seek(), and seekBlock().

Definition at line 144 of file pup.h.

Referenced by endBlock(), seekBlock(), and ~seekBlock().

Definition at line 159 of file pup.h.

Definition at line 161 of file pup.h.

Definition at line 162 of file pup.h.

Referenced by PUP::mem::impl_seek(), PUP::mem::impl_startSeek(), and PUP::mem::impl_tell().

Definition at line 163 of file pup.h.

union { ... } PUP::seekBlock::data


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

Generated on Mon Sep 21 08:34:03 2020 for Charm++ by  doxygen 1.5.5