#include <stream.h>
Inheritance diagram for ht_layer_streamfile:
Public Member Functions | |
void | init (ht_streamfile *streamfile, bool own_streamfile) |
virtual void | done () |
virtual void | copy_to (ht_stream *stream) |
virtual int | extend (UINT newsize) |
virtual UINT | get_access_mode () |
virtual int | get_error () |
virtual const char * | get_desc () |
virtual const char * | get_filename () |
virtual ht_streamfile * | get_layered () |
virtual UINT | get_size () |
virtual void | pstat (pstat_t *s) |
virtual UINT | read (void *buf, UINT size) |
virtual int | seek (FILEOFS offset) |
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 void | set_layered (ht_streamfile *streamfile) |
void | set_streamfile_ownership (bool own) |
virtual FILEOFS | tell () |
virtual int | truncate (UINT newsize) |
virtual int | vcntl (UINT cmd, va_list vargs) |
virtual UINT | write (const void *buf, UINT size) |
Protected Attributes | |
ht_streamfile * | streamfile |
bool | own_streamfile |
|
Reimplemented from ht_stream. Reimplemented in ht_ltextfile. Definition at line 301 of file stream.cc. References ht_stream::copy_to(). Referenced by ht_app::handlemsg(), and ht_text_editor::save(). |
|
Reimplemented from ht_stream. Reimplemented in ht_info_textfile, ht_streamfile_modifier, ht_reloc_file, Terminal, and ht_ltextfile. Definition at line 292 of file stream.cc. References ht_stream::done(), own_streamfile, and streamfile. Referenced by ht_ltextfile::done(), ht_text_viewer::done(), ht_reloc_file::done(), ht_streamfile_modifier::done(), ht_le::done(), and ht_text_viewer::set_textfile(). |
|
Reimplemented from ht_streamfile. Reimplemented in ht_streamfile_modifier, and ht_ltextfile. Definition at line 306 of file stream.cc. References ht_streamfile::extend(), streamfile, and UINT. Referenced by ht_streamfile_modifier::mod_pages_flush(). |
|
Reimplemented from ht_stream. Definition at line 311 of file stream.cc. References ht_stream::get_access_mode(), streamfile, and UINT. Referenced by ht_streamfile_modifier::init(), and ht_streamfile_modifier::set_access_mode(). |
|
Reimplemented from ht_stream. Definition at line 327 of file stream.cc. References ht_stream::get_desc(), and streamfile. Referenced by ht_text_viewer::clipboard_copy_cmd(). |
|
Reimplemented from ht_stream. Definition at line 316 of file stream.cc. References ht_stream::get_error(), and streamfile. Referenced by ht_ltextfile::init(). |
|
Reimplemented from ht_streamfile. Definition at line 332 of file stream.cc. References ht_streamfile::get_filename(), and streamfile. Referenced by ht_text_editor::func(), and ht_text_editor::save(). |
|
Reimplemented from ht_streamfile. Definition at line 321 of file stream.cc. References ht_streamfile::get_layered(), and streamfile. Referenced by ht_app::handlemsg(), and ht_text_editor::save(). |
|
Reimplemented from ht_streamfile. Reimplemented in ht_streamfile_modifier, and ht_ltextfile. Definition at line 337 of file stream.cc. References ht_streamfile::get_size(), streamfile, and UINT. Referenced by ht_streamfile_modifier::get_size(), ht_streamfile_modifier::mod_page_create(), ht_streamfile_modifier::mod_pages_create(), and ht_streamfile_modifier::mod_pages_flush(). |
|
Reimplemented in ht_reloc_file. Definition at line 285 of file stream.cc. References ht_stream::init(), own_streamfile, and streamfile. |
|
Reimplemented from ht_streamfile. Reimplemented in ht_ltextfile. Definition at line 342 of file stream.cc. References ht_streamfile::pstat(), and streamfile. |
|
Reimplemented from ht_stream. Reimplemented in ht_le_page_file, ht_streamfile_modifier, ht_reloc_file, and ht_ltextfile. Definition at line 347 of file stream.cc. References buf, ht_stream::read(), size, streamfile, and UINT. Referenced by ht_streamfile_modifier::cleardirtybyte(), delete_text_block(), ht_streamfile_modifier::isdirtybit(), ht_streamfile_modifier::isdirtybyte(), ht_streamfile_modifier::mod_page_create(), ht_reloc_file::read(), ht_streamfile_modifier::read(), and ht_streamfile_modifier::readbyte(). |
|
Reimplemented from ht_streamfile. Reimplemented in ht_le_page_file, ht_streamfile_modifier, and ht_ltextfile. Definition at line 352 of file stream.cc. References FILEOFS, ht_streamfile::seek(), and streamfile. Referenced by ht_le::check_vxd(), ht_streamfile_modifier::cleardirtybyte(), delete_text_block(), ht_app::handlemsg(), insert_text_block(), ht_streamfile_modifier::isdirtybit(), ht_streamfile_modifier::isdirtybyte(), ht_streamfile_modifier::mod_page_create(), ht_streamfile_modifier::mod_page_flush(), ht_streamfile_modifier::read(), ht_streamfile_modifier::readbyte(), ht_text_editor::save(), and ht_streamfile_modifier::seek(). |
|
Reimplemented from ht_stream. Reimplemented in ht_streamfile_modifier. Definition at line 357 of file stream.cc. References ht_stream::set_access_mode(), streamfile, and UINT. Referenced by ht_streamfile_modifier::set_access_mode(). |
|
Reimplemented from ht_stream. Definition at line 362 of file stream.cc. References ht_stream::set_error(), and streamfile. Referenced by ht_streamfile_modifier::read(), and ht_streamfile_modifier::write(). |
|
Reimplemented from ht_stream. Definition at line 367 of file stream.cc. References ht_stream::set_error_func(), stream_error_func_ptr, and streamfile. |
|
Reimplemented from ht_streamfile. Reimplemented in ht_ltextfile. Definition at line 372 of file stream.cc. References ht_streamfile::get_layered(), ht_streamfile::set_layered(), and streamfile. Referenced by ht_app::handlemsg(), ht_ltextfile::set_layered(), and ht_ltextfile::set_layered_assume(). |
|
Definition at line 378 of file stream.cc. References own_streamfile. |
|
Reimplemented from ht_streamfile. Reimplemented in ht_le_page_file, ht_streamfile_modifier, and ht_ltextfile. Definition at line 383 of file stream.cc. References FILEOFS, streamfile, and ht_streamfile::tell(). Referenced by ht_reloc_file::read(), ht_streamfile_modifier::tell(), and ht_reloc_file::write(). |
|
Reimplemented from ht_streamfile. Reimplemented in ht_streamfile_modifier, and ht_ltextfile. Definition at line 388 of file stream.cc. References streamfile, ht_streamfile::truncate(), and UINT. Referenced by ht_streamfile_modifier::mod_pages_flush(). |
|
Reimplemented from ht_streamfile. Reimplemented in ht_le_page_file, ht_streamfile_modifier, ht_reloc_file, and ht_ltextfile. Definition at line 393 of file stream.cc. References streamfile, UINT, and ht_streamfile::vcntl(). Referenced by ht_ltextfile::vcntl(), ht_reloc_file::vcntl(), ht_streamfile_modifier::vcntl(), and ht_le_page_file::vcntl(). |
|
Reimplemented from ht_stream. Reimplemented in ht_le_page_file, ht_streamfile_modifier, ht_reloc_file, Terminal, and ht_ltextfile. Definition at line 398 of file stream.cc. References buf, size, streamfile, UINT, and ht_stream::write(). Referenced by insert_text_block(), ht_streamfile_modifier::mod_page_flush(), ht_reloc_file::write(), and ht_streamfile_modifier::write(). |
|
Definition at line 206 of file stream.h. Referenced by done(), init(), and set_streamfile_ownership(). |
|
Definition at line 205 of file stream.h. Referenced by done(), extend(), get_access_mode(), get_desc(), get_error(), get_filename(), get_layered(), get_size(), init(), pstat(), read(), seek(), set_access_mode(), set_error(), set_error_func(), set_layered(), tell(), truncate(), vcntl(), and write(). |