Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ht_object_stream_memmap Class Reference

#include <store.h>

Inheritance diagram for ht_object_stream_memmap:

ht_object_stream_bin ht_object_stream_inter ht_object_stream ht_layer_stream ht_stream List of all members.

Public Member Functions

void init (ht_stream *s, bool duplicate)
virtual void done ()
virtual void * getBinary (int size, char *desc)
virtual void getBinary (void *p, int size, char *desc)
virtual int getIntDec (int size, char *desc)
virtual int getIntHex (int size, char *desc)
virtual qword getQWordDec (int size, char *desc)
virtual qword getQWordHex (int size, char *desc)
virtual char * getString (char *desc)
virtual UINT recordStart (UINT size)
virtual void recordEnd (UINT)
virtual void putBinary (void *mem, int size, char *desc)
virtual void putIntDec (int a, int size, char *desc)
virtual void putIntHex (int a, int size, char *desc)
virtual void putQWordDec (qword a, int size, char *desc)
virtual void putQWordHex (qword a, int size, char *desc)
virtual void putString (char *string, char *desc)

Protected Member Functions

void * duppa (void *p, int size)

Protected Attributes

bool duplicate
ht_clistallocd

Member Function Documentation

void ht_object_stream_memmap::done  )  [virtual]
 

Reimplemented from ht_object_stream.

Definition at line 555 of file store.cc.

References allocd, ht_clist::destroy(), and ht_object_stream::done().

Referenced by ht_view::databuf_freedup(), ht_view::databuf_get(), and ht_view::databuf_set().

void * ht_object_stream_memmap::duppa void *  p,
int  size
[protected]
 

Definition at line 562 of file store.cc.

References allocd, duplicate, ht_clist::insert(), size, and ht_data_mem::value.

Referenced by putBinary(), and putString().

void ht_object_stream_memmap::getBinary void *  p,
int  size,
char *  desc
[virtual]
 

Reimplemented from ht_object_stream_bin.

Definition at line 580 of file store.cc.

References ht_stream::read(), and size.

void * ht_object_stream_memmap::getBinary int  size,
char *  desc
[virtual]
 

Reimplemented from ht_object_stream_bin.

Definition at line 573 of file store.cc.

References ht_stream::read().

int ht_object_stream_memmap::getIntDec int  size,
char *  desc
[virtual]
 

Reimplemented from ht_object_stream_bin.

Definition at line 587 of file store.cc.

References getIntHex(), and size.

int ht_object_stream_memmap::getIntHex int  size,
char *  desc
[virtual]
 

Reimplemented from ht_object_stream_bin.

Definition at line 592 of file store.cc.

References assert, ht_stream::read(), ht_layer_stream::set_error(), size, STERR_SYSTEM, and UINT.

Referenced by getIntDec().

qword ht_object_stream_memmap::getQWordDec int  size,
char *  desc
[virtual]
 

Reimplemented from ht_object_stream_bin.

Definition at line 600 of file store.cc.

References getQWordHex(), qword, and size.

qword ht_object_stream_memmap::getQWordHex int  size,
char *  desc
[virtual]
 

Reimplemented from ht_object_stream_bin.

Definition at line 605 of file store.cc.

References assert, qword, ht_stream::read(), ht_layer_stream::set_error(), size, STERR_SYSTEM, and UINT.

Referenced by getQWordDec().

char * ht_object_stream_memmap::getString char *  desc  )  [virtual]
 

Reimplemented from ht_object_stream_bin.

Definition at line 613 of file store.cc.

References ht_stream::read().

void ht_object_stream_memmap::init ht_stream s,
bool  duplicate
 

Reimplemented from ht_layer_stream.

Definition at line 547 of file store.cc.

References allocd, duplicate, ht_clist::init(), and ht_stream::init().

Referenced by ht_view::databuf_get(), ht_view::databuf_getdup(), and ht_view::databuf_set().

void ht_object_stream_memmap::putBinary void *  mem,
int  size,
char *  desc
[virtual]
 

Reimplemented from ht_object_stream_bin.

Definition at line 632 of file store.cc.

References duppa(), NULL, size, and ht_stream::write().

void ht_object_stream_memmap::putIntDec int  a,
int  size,
char *  desc
[virtual]
 

Reimplemented from ht_object_stream_bin.

Definition at line 638 of file store.cc.

References putIntHex(), and size.

void ht_object_stream_memmap::putIntHex int  a,
int  size,
char *  desc
[virtual]
 

Reimplemented from ht_object_stream_bin.

Definition at line 643 of file store.cc.

References assert, ht_layer_stream::set_error(), size, STERR_SYSTEM, UINT, and ht_stream::write().

Referenced by putIntDec().

void ht_object_stream_memmap::putQWordDec qword  a,
int  size,
char *  desc
[virtual]
 

Reimplemented from ht_object_stream_bin.

Definition at line 649 of file store.cc.

References putQWordHex(), and size.

void ht_object_stream_memmap::putQWordHex qword  a,
int  size,
char *  desc
[virtual]
 

Reimplemented from ht_object_stream_bin.

Definition at line 654 of file store.cc.

References assert, ht_layer_stream::set_error(), size, STERR_SYSTEM, UINT, and ht_stream::write().

Referenced by putQWordDec().

void ht_object_stream_memmap::putString char *  string,
char *  desc
[virtual]
 

Reimplemented from ht_object_stream_bin.

Definition at line 660 of file store.cc.

References duppa(), NULL, string, and ht_stream::write().

void ht_object_stream_memmap::recordEnd UINT   )  [virtual]
 

Reimplemented from ht_object_stream.

Definition at line 625 of file store.cc.

References FILEOFS, HT_ERROR, and UINT.

UINT ht_object_stream_memmap::recordStart UINT  size  )  [virtual]
 

Reimplemented from ht_object_stream.

Definition at line 620 of file store.cc.

References size, and UINT.


Member Data Documentation

ht_clist* ht_object_stream_memmap::allocd [protected]
 

Definition at line 120 of file store.h.

Referenced by done(), duppa(), and init().

bool ht_object_stream_memmap::duplicate [protected]
 

Definition at line 119 of file store.h.

Referenced by duppa(), and init().


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:16:01 2004 by doxygen 1.3.5