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

ht_layer_stream Class Reference

#include <stream.h>

Inheritance diagram for ht_layer_stream:

ht_stream ht_compressed_stream ht_object_stream ht_object_stream_inter ht_object_stream_bin ht_object_stream_txt ht_object_stream_memmap List of all members.

Public Member Functions

void init (ht_stream *stream, bool own_stream)
virtual void done ()
virtual void copy_to (ht_stream *stream)
virtual UINT get_access_mode ()
virtual int get_error ()
virtual const char * get_desc ()
virtual UINT read (void *buf, UINT size)
virtual bool set_access_mode (UINT access_mode)
virtual void set_error (int error)
virtual void set_error_func (stream_error_func_ptr stream_error_func)
void set_stream_ownership (bool own)
virtual UINT write (const void *buf, UINT size)

Protected Attributes

ht_streamstream
bool own_stream

Member Function Documentation

void ht_layer_stream::copy_to ht_stream stream  )  [virtual]
 

Reimplemented from ht_stream.

Definition at line 136 of file stream.cc.

References ht_stream::copy_to().

Referenced by RegNodeFile::load_node().

void ht_layer_stream::done  )  [virtual]
 

Reimplemented from ht_stream.

Reimplemented in ht_compressed_stream, ht_object_stream_memmap, and ht_object_stream.

Definition at line 127 of file stream.cc.

References ht_stream::done(), own_stream, and stream.

Referenced by ht_object_stream::done(), and ht_compressed_stream::done().

UINT ht_layer_stream::get_access_mode  )  [virtual]
 

Reimplemented from ht_stream.

Definition at line 141 of file stream.cc.

References ht_stream::get_access_mode(), stream, and UINT.

Referenced by ht_compressed_stream::done(), and ht_compressed_stream::init().

const char * ht_layer_stream::get_desc  )  [virtual]
 

Reimplemented from ht_stream.

Definition at line 151 of file stream.cc.

References ht_stream::get_desc(), and stream.

Referenced by ht_project::load().

int ht_layer_stream::get_error  )  [virtual]
 

Reimplemented from ht_stream.

Definition at line 146 of file stream.cc.

References ht_stream::get_error(), and stream.

Referenced by analyser_get_addrtype(), file_project_load_fcfg_func(), file_window_load_fcfg_func(), ht_object_stream_txt::getObject(), ht_object_stream_txt::getQWordHex(), ht_object_stream_txt::getString(), x86dis::load(), Area::load(), javadis::load(), ht_data_string::load(), ht_registry::load(), ht_registry_node_type_desc::load(), ht_registry_node::load(), ht_registry_data_string::load(), ht_registry_data_raw::load(), ht_registry_data_dword::load(), ht_registry_data_stree::load(), palette_entry::load(), ht_window::load(), ht_clist::load(), ht_stree::load(), ht_data_mem::load(), ht_data_uint32::load(), ht_data_uint::load(), ht_app::load(), ht_project_item::load(), AddressX86_1616::load(), AddressX86_1632::load(), AddressX86Flat32::load(), AnalyDisassembler::load(), Analyser::load(), AddressQueueItem::load(), AddrXRef::load(), AddressFlat64::load(), AddressFlat32::load(), load_fileconfig(), RegNodeFile::load_node(), load_systemconfig(), and save_systemconfig().

void ht_layer_stream::init ht_stream stream,
bool  own_stream
 

Reimplemented in ht_object_stream_memmap.

Definition at line 120 of file stream.cc.

References ht_stream::init(), own_stream, and stream.

UINT ht_layer_stream::read void *  buf,
UINT  size
[virtual]
 

Reimplemented from ht_stream.

Reimplemented in ht_compressed_stream.

Definition at line 176 of file stream.cc.

References buf, ht_stream::read(), size, stream, and UINT.

Referenced by RegNodeFile::load_node(), and ht_listbox::setdata().

bool ht_layer_stream::set_access_mode UINT  access_mode  )  [virtual]
 

Reimplemented from ht_stream.

Definition at line 156 of file stream.cc.

References ht_stream::set_access_mode(), stream, and UINT.

void ht_layer_stream::set_error int  error  )  [virtual]
 

Reimplemented from ht_stream.

Definition at line 161 of file stream.cc.

References ht_stream::set_error(), and stream.

Referenced by ht_object_stream_bin::getBinary(), ht_object_stream_bin::getBool(), ht_object_stream_memmap::getIntHex(), ht_object_stream_bin::getIntHex(), ht_object_stream_memmap::getQWordHex(), ht_object_stream_bin::getQWordHex(), ht_object_stream_bin::putBinary(), ht_object_stream_bin::putBool(), ht_object_stream_memmap::putIntHex(), ht_object_stream_bin::putIntHex(), ht_object_stream_memmap::putQWordHex(), ht_object_stream_bin::putQWordHex(), ht_object_stream_bin::putString(), and ht_object_stream_txt::setSyntaxError().

void ht_layer_stream::set_error_func stream_error_func_ptr  stream_error_func  )  [virtual]
 

Reimplemented from ht_stream.

Definition at line 166 of file stream.cc.

References ht_stream::set_error_func(), stream, and stream_error_func_ptr.

void ht_layer_stream::set_stream_ownership bool  own  ) 
 

Definition at line 171 of file stream.cc.

References own_stream.

Referenced by create_object_stream().

UINT ht_layer_stream::write const void *  buf,
UINT  size
[virtual]
 

Reimplemented from ht_stream.

Reimplemented in ht_compressed_stream.

Definition at line 181 of file stream.cc.

References buf, size, stream, UINT, and ht_stream::write().

Referenced by ht_listbox::getdata(), and RegNodeFile::store_node().


Member Data Documentation

bool ht_layer_stream::own_stream [protected]
 

Definition at line 82 of file stream.h.

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

ht_stream* ht_layer_stream::stream [protected]
 

Definition at line 81 of file stream.h.

Referenced by done(), get_access_mode(), get_desc(), get_error(), init(), read(), set_access_mode(), set_error(), set_error_func(), and write().


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