#include <stream.h>
Inheritance diagram for ht_stream:
Public Member Functions | |
virtual | ~ht_stream () |
void | init () |
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) |
virtual UINT | write (const void *buf, UINT size) |
Protected Member Functions | |
int | call_error_func () |
Protected Attributes | |
stream_error_func_ptr | stream_error_func |
int | error |
UINT | access_mode |
|
|
|
Definition at line 57 of file stream.cc. References SERR_FAIL, and stream_error_func. |
|
Reimplemented in ht_layer_stream, ht_layer_streamfile, and ht_ltextfile. Definition at line 63 of file stream.cc. References buf, byte, malloc(), read(), STREAM_COPYBUF_SIZE, UINT, and write(). Referenced by ht_layer_streamfile::copy_to(), ht_layer_stream::copy_to(), and ht_text_editor::save(). |
|
Reimplemented in ht_compressed_stream, ht_clipboard, ht_info_textfile, ht_streamfile_modifier, ht_reloc_file, ht_object_stream_memmap, ht_layer_stream, ht_object_stream, ht_layer_streamfile, ht_sys_file, ht_stdio_file, ht_file, ht_temp_file, ht_memmap_file, ht_null_file, ht_mem_file, Terminal, ht_ltextfile, and RegNodeFile. Definition at line 53 of file stream.cc. Referenced by Terminal::done(), ht_mem_file::done(), ht_null_file::done(), ht_stdio_file::done(), ht_sys_file::done(), ht_layer_streamfile::done(), ht_layer_stream::done(), ht_format_group::done(), RegistryFs::fileClose(), LocalFs::fileClose(), and ht_app::handlemsg(). |
|
Reimplemented in ht_layer_stream, ht_layer_streamfile, ht_null_file, and ht_mem_file. Definition at line 75 of file stream.cc. References access_mode, and UINT. Referenced by dialog_assemble(), ht_uformat_viewer::edit(), ht_format_group::edit(), ht_stdio_file::extend(), ht_sys_file::extend(), ht_mem_file::get_access_mode(), ht_layer_streamfile::get_access_mode(), ht_layer_stream::get_access_mode(), ht_uformat_viewer::handlemsg(), ht_app::handlemsg(), ht_uformat_viewer::ref_flags(), and ht_file::vcntl(). |
|
Reimplemented in ht_layer_stream, ht_layer_streamfile, ht_sys_file, ht_stdio_file, ht_file, ht_temp_file, ht_memmap_file, ht_null_file, and ht_mem_file. Definition at line 85 of file stream.cc. References NULL. Referenced by app_stream_error_func(), file_window_load_fcfg_func(), ht_layer_streamfile::get_desc(), ht_layer_stream::get_desc(), XBEAnalyser::getName(), PEFAnalyser::getName(), PEAnalyser::getName(), NEAnalyser::getName(), MachoAnalyser::getName(), LEAnalyser::getName(), FLTAnalyser::getName(), ElfAnalyser::getName(), CoffAnalyser::getName(), ClassAnalyser::getName(), and ht_app::handlemsg(). |
|
Reimplemented in ht_layer_stream, and ht_layer_streamfile. Definition at line 80 of file stream.cc. References error. Referenced by app_stream_error_func(), ht_app::create_window_file_bin(), ht_app::create_window_file_text(), ht_aviewer::exportFileDialog(), RegistryFs::fileClose(), LocalFs::fileClose(), ht_aviewer::generateOutputDialog(), ht_layer_streamfile::get_error(), ht_layer_stream::get_error(), ht_format_viewer::handlemsg(), ht_app::handlemsg(), load_fileconfig(), load_systemconfig(), ht_text_editor::save(), save_fileconfig(), and save_systemconfig(). |
|
|
|
Reimplemented in ht_streamfile_modifier, ht_layer_stream, ht_layer_streamfile, ht_file, ht_null_file, ht_mem_file, and RegNodeFile. Definition at line 90 of file stream.cc. References access_mode, and UINT. Referenced by ht_stdio_file::extend(), ht_sys_file::extend(), ht_format_viewer::handlemsg(), ht_app::handlemsg(), ht_stdio_file::init(), ht_sys_file::init(), ht_text_editor::save(), ht_mem_file::set_access_mode(), ht_layer_streamfile::set_access_mode(), ht_layer_stream::set_access_mode(), and ht_file::set_access_mode_internal(). |
|
Reimplemented in ht_layer_stream, and ht_layer_streamfile. Definition at line 96 of file stream.cc. References error. Referenced by RegNodeFile::done(), RegNodeFile::init(), ht_file::set_access_mode_internal(), ht_layer_streamfile::set_error(), and ht_layer_stream::set_error(). |
|
Reimplemented in ht_layer_stream, and ht_layer_streamfile. Definition at line 101 of file stream.cc. References stream_error_func, and stream_error_func_ptr. Referenced by ht_layer_streamfile::set_error_func(), and ht_layer_stream::set_error_func(). |
|
|
Definition at line 55 of file stream.h. Referenced by get_access_mode(), init(), and set_access_mode(). |
|
Definition at line 54 of file stream.h. Referenced by get_error(), init(), and set_error(). |
|
Definition at line 53 of file stream.h. Referenced by call_error_func(), init(), ht_file::set_access_mode_internal(), and set_error_func(). |