#include <pup_paged.h>
Public Member Functions | |
PUP_fromPagedDisk (void *objhandle, pup_pagetable *pgtable) | |
~PUP_fromPagedDisk () | |
void | findpageentry () |
void | nextblock () |
Protected Member Functions | |
virtual void | bytes (void *p, size_t n, size_t itemSize, PUP::dataType) |
Protected Attributes | |
pup_pageentry * | entry |
long | current_block |
long | bytes_unread |
FILE * | fp |
Definition at line 61 of file pup_paged.h.
PUP_fromPagedDisk::PUP_fromPagedDisk | ( | void * | objhandle, | |
pup_pagetable * | pgtable | |||
) | [inline] |
Definition at line 69 of file pup_paged.h.
References PUP_pagedDisk::_pagetable, current_block, findpageentry(), pup_pagetable::fp, fp, and nextblock().
PUP_fromPagedDisk::~PUP_fromPagedDisk | ( | ) | [inline] |
Definition at line 76 of file pup_paged.h.
References entry, and nextblock().
void PUP_fromPagedDisk::bytes | ( | void * | p, | |
size_t | n, | |||
size_t | itemSize, | |||
PUP::dataType | ||||
) | [protected, virtual] |
Implements PUP::er.
Definition at line 119 of file pup_paged.C.
References bytes_unread, c, CmiAbort(), current_block, fp, nextblock(), and PUP::er::size().
void PUP_fromPagedDisk::findpageentry | ( | ) |
Definition at line 80 of file pup_paged.C.
References PUP_pagedDisk::_pagetable, entry, PUP_pagedDisk::handle, _pageentry::next, p, _pageentry::ptr, pup_pagetable::table, and pup_pagetable::tailtable.
Referenced by PUP_fromPagedDisk().
void PUP_fromPagedDisk::nextblock | ( | ) |
Definition at line 98 of file pup_paged.C.
References PUP_pagedDisk::_pagetable, _pageentry::blklist, bytes_unread, current_block, entry, pup_pagetable::freelist, _list::n, _list::next, and pup_pagetable::tailfreelist.
Referenced by bytes(), PUP_fromPagedDisk(), and ~PUP_fromPagedDisk().
pup_pageentry* PUP_fromPagedDisk::entry [protected] |
Definition at line 64 of file pup_paged.h.
Referenced by findpageentry(), nextblock(), and ~PUP_fromPagedDisk().
long PUP_fromPagedDisk::current_block [protected] |
Definition at line 65 of file pup_paged.h.
Referenced by bytes(), nextblock(), and PUP_fromPagedDisk().
long PUP_fromPagedDisk::bytes_unread [protected] |
FILE* PUP_fromPagedDisk::fp [protected] |