PPL Logo

PUP::mem Class Reference

#include <pup.h>

Inheritance diagram for PUP::mem:

Inheritance graph
[legend]
Collaboration diagram for PUP::mem:

Collaboration graph
[legend]

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

myByteorigBuf
myBytebuf

Detailed Description

Definition at line 415 of file pup.h.


Constructor & Destructor Documentation

PUP::mem::mem ( unsigned int  type,
myByte Nbuf 
) [inline, protected]

Definition at line 419 of file pup.h.

PUP::mem::mem ( const mem p  )  [protected]


Member Function Documentation

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.

size_t PUP::mem::impl_tell ( seekBlock s  )  [protected, virtual]

Reimplemented from PUP::er.

Definition at line 392 of file pup_util.C.

References buf, PUP::seekBlock::data, and PUP::seekBlock::ptr.

void PUP::mem::impl_seek ( seekBlock s,
size_t  off 
) [protected, virtual]

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]

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

Here is the caller graph for this function:

char* PUP::mem::get_orig_pointer (  )  const [inline]

Definition at line 435 of file pup.h.

References origBuf.

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

Here is the caller graph for this function:


Field Documentation

myByte* PUP::mem::origBuf [protected]

myByte* PUP::mem::buf [protected]


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

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