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

ht_streamfile Class Reference

#include <stream.h>

Inheritance diagram for ht_streamfile:

ht_stream ht_layer_streamfile ht_mem_file ht_memmap_file ht_null_file ht_stdio_file ht_sys_file ht_win32_file ht_le_page_file ht_reloc_file ht_streamfile_modifier ht_textfile ht_clipboard RegNodeFile ht_file ht_temp_file List of all members.

Public Member Functions

int cntl (UINT cmd,...)
virtual int extend (UINT newsize)
virtual const char * get_filename ()
virtual ht_streamfileget_layered ()
virtual UINT get_size ()
virtual void pstat (pstat_t *s)
virtual int seek (FILEOFS offset)
virtual void set_layered (ht_streamfile *streamfile)
virtual FILEOFS tell ()
virtual int truncate (UINT newsize)
virtual int vcntl (UINT cmd, va_list vargs)

Member Function Documentation

int ht_streamfile::cntl UINT  cmd,
... 
 

Definition at line 223 of file stream.cc.

References UINT, and vcntl().

Referenced by ht_uformat_viewer::edit_update(), ht_text_editor::func(), ht_uformat_viewer::func(), ht_text_editor::get_pindicator_str(), ht_uformat_viewer::get_tag_color_edit(), ht_uformat_viewer::handlemsg(), ht_format_viewer::handlemsg(), ht_file_window::handlemsg(), ht_le_page_file::isdirty(), ht_text_editor::redo(), ht_uformat_viewer::render_tagstring(), ht_text_editor::undo(), and ht_le_page_file::vcntl().

int ht_streamfile::extend UINT  newsize  )  [virtual]
 

Reimplemented in ht_streamfile_modifier, ht_layer_streamfile, ht_sys_file, ht_stdio_file, ht_null_file, ht_mem_file, and ht_ltextfile.

Definition at line 232 of file stream.cc.

References UINT.

Referenced by ht_layer_streamfile::extend(), ht_app::handlemsg(), and replace_bin_process().

const char * ht_streamfile::get_filename  )  [virtual]
 

Reimplemented in ht_layer_streamfile, and ht_file.

Definition at line 237 of file stream.cc.

References NULL.

Referenced by ht_elf::auto_relocate32(), ht_le::do_fixups(), ht_aviewer::exportFileDialog(), ht_uformat_viewer::func(), ht_aviewer::generateOutputDialog(), ht_layer_streamfile::get_filename(), ht_uformat_viewer::handlemsg(), ht_format_viewer::handlemsg(), ht_file_window::handlemsg(), ht_app::handlemsg(), ht_pef::init(), ht_ne::init(), ht_macho::init(), ht_flt::init(), and ht_elf::init().

ht_streamfile * ht_streamfile::get_layered  )  [virtual]
 

Reimplemented in ht_layer_streamfile.

Definition at line 272 of file stream.cc.

References NULL.

Referenced by ht_layer_streamfile::get_layered(), and ht_layer_streamfile::set_layered().

UINT ht_streamfile::get_size  )  [virtual]
 

Reimplemented in ht_streamfile_modifier, ht_layer_streamfile, ht_sys_file, ht_stdio_file, ht_memmap_file, ht_null_file, ht_mem_file, and ht_ltextfile.

Definition at line 242 of file stream.cc.

References UINT.

Referenced by file_window_load_fcfg_func(), file_window_store_fcfg_func(), ht_uformat_viewer::func(), ht_layer_streamfile::get_size(), ht_hex_viewer::get_vscrollbar_pos(), ht_disasm_viewer::get_vscrollbar_pos(), ht_hex_file_sub::handlemsg(), ht_linear_sub::handlemsg(), ht_uformat_viewer::handlemsg(), ht_format_viewer::handlemsg(), ht_file_window::handlemsg(), ht_ne::loc_enum_next(), ht_le::loc_enum_next(), ht_elf::loc_enum_next(), and replace_bin_process().

void ht_streamfile::pstat pstat_t s  )  [virtual]
 

Reimplemented in ht_layer_streamfile, ht_file, ht_temp_file, ht_null_file, ht_mem_file, and ht_ltextfile.

Definition at line 247 of file stream.cc.

References pstat_t::caps.

Referenced by file_window_load_fcfg_func(), file_window_store_fcfg_func(), ht_finfo_text::gettext(), ht_ltextfile::pstat(), ht_layer_streamfile::pstat(), and ht_text_editor::save().

int ht_streamfile::seek FILEOFS  offset  )  [virtual]
 

Reimplemented in ht_le_page_file, ht_streamfile_modifier, ht_layer_streamfile, ht_sys_file, ht_stdio_file, ht_memmap_file, ht_null_file, ht_mem_file, and ht_ltextfile.

Definition at line 252 of file stream.cc.

References FILEOFS.

Referenced by NEAnalyser::beginAnalysis(), MachoAnalyser::beginAnalysis(), blockop_int_process(), blockop_str_process(), XBEAnalyser::bufPtr(), PEFAnalyser::bufPtr(), PEAnalyser::bufPtr(), NEAnalyser::bufPtr(), MachoAnalyser::bufPtr(), LEAnalyser::bufPtr(), FLTAnalyser::bufPtr(), ElfAnalyser::bufPtr(), CoffAnalyser::bufPtr(), ClassAnalyser::bufPtr(), ht_le::check_vxd(), ht_le::do_fixups(), ht_elf::fake_undefined_symbols32(), ht_ltextfile::fetch_line_into_memory(), ht_text_sub::find_linelen_backwd(), ht_ltextfile::find_linelen_forwd(), ht_text_sub::find_linelen_forwd(), ht_ltextfile::get_char(), ht_ltextfile::getline(), ht_text_sub::getline(), ht_disasm_sub::getline(), ht_pef::init(), ht_ne::init(), ht_macho::init(), ht_flt::init(), ht_elf::init(), ElfAnalyser::initInsertFakeSymbols(), ElfAnalyser::initInsertSymbols(), ht_disasm_sub::next_line_id(), parse_info_node(), ht_format_viewer::pread(), ht_disasm_sub::prev_line_id(), ht_format_viewer::pwrite(), ht_ltextfile::read(), ht_le_page_file::read(), ht_le::read_objects(), ht_le::read_pagemap(), ht_ne::relocate(), ht_elf::relocate_section(), ht_ne::relocate_single(), replace_bin_process(), ht_ltextfile::reread(), ht_text_editor::save(), search_bin_process(), ht_layer_streamfile::seek(), and ht_le_page_file::write().

void ht_streamfile::set_layered ht_streamfile streamfile  )  [virtual]
 

Reimplemented in ht_layer_streamfile, and ht_ltextfile.

Definition at line 277 of file stream.cc.

Referenced by ht_layer_streamfile::set_layered().

FILEOFS ht_streamfile::tell  )  [virtual]
 

Reimplemented in ht_le_page_file, ht_streamfile_modifier, ht_layer_streamfile, ht_sys_file, ht_stdio_file, ht_memmap_file, ht_null_file, ht_mem_file, and ht_ltextfile.

Definition at line 257 of file stream.cc.

References FILEOFS.

Referenced by parse_info_node(), and ht_layer_streamfile::tell().

int ht_streamfile::truncate UINT  newsize  )  [virtual]
 

Reimplemented in ht_streamfile_modifier, ht_layer_streamfile, ht_file, ht_null_file, ht_mem_file, and ht_ltextfile.

Definition at line 262 of file stream.cc.

References UINT.

Referenced by ht_app::handlemsg(), replace_bin_process(), ht_text_editor::save(), and ht_layer_streamfile::truncate().

int ht_streamfile::vcntl UINT  cmd,
va_list  vargs
[virtual]
 

Reimplemented in ht_le_page_file, ht_streamfile_modifier, ht_reloc_file, ht_layer_streamfile, ht_file, and ht_ltextfile.

Definition at line 267 of file stream.cc.

References UINT.

Referenced by cntl(), ht_file::vcntl(), and ht_layer_streamfile::vcntl().


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