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

ht_object_stream_txt Class Reference

#include <store.h>

Inheritance diagram for ht_object_stream_txt:

ht_object_stream_inter ht_object_stream ht_layer_stream ht_stream 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 getObject (Object *&o, char *name)
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 putObject (Object *obj, char *name)
virtual void putSeparator ()
virtual void putString (char *string, char *desc)
void setSyntaxError ()
int getErrorLine ()

Protected Attributes

char cur
int line
int errorline
int indent

Member Function Documentation

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

Implements ht_object_stream.

Definition at line 223 of file store.cc.

References byte, cur, hexdigit(), setSyntaxError(), and size.

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

Implements ht_object_stream.

Definition at line 216 of file store.cc.

References size, and smalloc().

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

Implements ht_object_stream.

Definition at line 247 of file store.cc.

References cur.

int ht_object_stream_txt::getErrorLine  ) 
 

Definition at line 468 of file store.cc.

References errorline.

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

Implements ht_object_stream.

Definition at line 261 of file store.cc.

References getIntHex(), and size.

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

Implements ht_object_stream.

Definition at line 266 of file store.cc.

References getQWordHex(), QWORD_GET_LO, and size.

Referenced by getIntDec().

void ht_object_stream_txt::getObject Object *&  o,
char *  name
[virtual]
 

Reimplemented from ht_object_stream_inter.

Definition at line 296 of file store.cc.

References ht_layer_stream::get_error(), ht_object_stream_inter::getObject(), and NULL.

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

Implements ht_object_stream.

Definition at line 271 of file store.cc.

References getQWordHex(), qword, and size.

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

Implements ht_object_stream.

Definition at line 276 of file store.cc.

References bnstr(), cur, ht_layer_stream::get_error(), mapchar, qword, and setSyntaxError().

Referenced by getIntHex(), and getQWordDec().

void ht_object_stream_txt::getSeparator  )  [virtual]
 

Implements ht_object_stream.

Definition at line 309 of file store.cc.

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

Implements ht_object_stream.

Definition at line 314 of file store.cc.

References cur, ht_layer_stream::get_error(), NULL, smalloc(), and unescape_special_str().

void ht_object_stream_txt::init ht_stream s  ) 
 

Reimplemented from ht_object_stream.

Definition at line 207 of file store.cc.

References cur, errorline, indent, ht_stream::init(), and line.

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

Implements ht_object_stream.

Definition at line 344 of file store.cc.

References byte, and size.

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

Implements ht_object_stream.

Definition at line 357 of file store.cc.

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

Implements ht_object_stream.

Definition at line 364 of file store.cc.

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

Implements ht_object_stream.

Definition at line 372 of file store.cc.

References size.

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

Implements ht_object_stream.

Definition at line 391 of file store.cc.

References size.

void ht_object_stream_txt::putObject Object obj,
char *  name
[virtual]
 

Reimplemented from ht_object_stream_inter.

Definition at line 426 of file store.cc.

References indent, and ht_object_stream_inter::putObject().

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

Implements ht_object_stream.

Definition at line 410 of file store.cc.

References ht_snprintf().

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

Implements ht_object_stream.

Definition at line 418 of file store.cc.

References ht_snprintf().

void ht_object_stream_txt::putSeparator  )  [virtual]
 

Implements ht_object_stream.

Definition at line 437 of file store.cc.

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

Implements ht_object_stream.

Definition at line 443 of file store.cc.

References escape_special_str(), smalloc(), and string.

void ht_object_stream_txt::setSyntaxError  ) 
 

Definition at line 460 of file store.cc.

References errorline, line, ht_layer_stream::set_error(), and STERR_SYSTEM.

Referenced by getBinary(), and getQWordHex().


Member Data Documentation

char ht_object_stream_txt::cur [protected]
 

Definition at line 67 of file store.h.

Referenced by getBinary(), getBool(), getQWordHex(), getString(), and init().

int ht_object_stream_txt::errorline [protected]
 

Definition at line 69 of file store.h.

Referenced by getErrorLine(), init(), and setSyntaxError().

int ht_object_stream_txt::indent [protected]
 

Definition at line 70 of file store.h.

Referenced by init(), and putObject().

int ht_object_stream_txt::line [protected]
 

Definition at line 68 of file store.h.

Referenced by init(), and setSyntaxError().


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