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

ht_object_stream_bin Class Reference

#include <store.h>

Inheritance diagram for ht_object_stream_bin:

ht_object_stream_inter ht_object_stream ht_layer_stream ht_stream ht_object_stream_memmap List of all members.

Public Member Functions

void init (ht_stream *s)
virtual void * getBinary (int size, char *desc)
virtual void getBinary (void *p, int size, char *desc)
virtual bool getBool (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 void getSeparator ()
virtual char * getString (char *desc)
virtual void putBinary (void *mem, int size, char *desc)
virtual void putBool (bool b, char *desc)
virtual void putInfo (char *info)
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 putSeparator ()
virtual void putString (char *string, char *desc)

Member Function Documentation

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

Implements ht_object_stream.

Reimplemented in ht_object_stream_memmap.

Definition at line 102 of file store.cc.

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

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

Implements ht_object_stream.

Reimplemented in ht_object_stream_memmap.

Definition at line 95 of file store.cc.

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

bool ht_object_stream_bin::getBool char *  desc  )  [virtual]
 

Implements ht_object_stream.

Definition at line 107 of file store.cc.

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

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

Implements ht_object_stream.

Reimplemented in ht_object_stream_memmap.

Definition at line 114 of file store.cc.

References getIntHex(), and size.

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

Implements ht_object_stream.

Reimplemented in ht_object_stream_memmap.

Definition at line 119 of file store.cc.

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

Referenced by getIntDec().

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

Implements ht_object_stream.

Reimplemented in ht_object_stream_memmap.

Definition at line 127 of file store.cc.

References getQWordHex(), qword, and size.

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

Implements ht_object_stream.

Reimplemented in ht_object_stream_memmap.

Definition at line 132 of file store.cc.

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

Referenced by getQWordDec().

void ht_object_stream_bin::getSeparator  )  [virtual]
 

Implements ht_object_stream.

Definition at line 140 of file store.cc.

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

Implements ht_object_stream.

Reimplemented in ht_object_stream_memmap.

Definition at line 145 of file store.cc.

References getstrz().

void ht_object_stream_bin::init ht_stream s  ) 
 

Reimplemented from ht_object_stream.

Definition at line 90 of file store.cc.

References ht_stream::init().

Referenced by RegNodeFile::done(), ht_app::handlemsg(), RegNodeFile::init(), init_registry(), insert_history_entry(), and ht_history_entry::load().

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

Implements ht_object_stream.

Reimplemented in ht_object_stream_memmap.

Definition at line 150 of file store.cc.

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

void ht_object_stream_bin::putBool bool  b,
char *  desc
[virtual]
 

Implements ht_object_stream.

Definition at line 155 of file store.cc.

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

void ht_object_stream_bin::putInfo char *  info  )  [virtual]
 

Implements ht_object_stream.

Definition at line 161 of file store.cc.

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

Implements ht_object_stream.

Reimplemented in ht_object_stream_memmap.

Definition at line 166 of file store.cc.

References putIntHex(), and size.

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

Implements ht_object_stream.

Reimplemented in ht_object_stream_memmap.

Definition at line 171 of file store.cc.

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

Referenced by putIntDec().

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

Implements ht_object_stream.

Reimplemented in ht_object_stream_memmap.

Definition at line 179 of file store.cc.

References putQWordHex(), and size.

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

Implements ht_object_stream.

Reimplemented in ht_object_stream_memmap.

Definition at line 184 of file store.cc.

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

Referenced by putQWordDec().

void ht_object_stream_bin::putSeparator  )  [virtual]
 

Implements ht_object_stream.

Definition at line 192 of file store.cc.

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

Implements ht_object_stream.

Reimplemented in ht_object_stream_memmap.

Definition at line 197 of file store.cc.

References len, ht_layer_stream::set_error(), STERR_SYSTEM, string, UINT, and ht_stream::write().


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