#include <stream.h>
Inheritance diagram for ht_mem_file:
Public Member Functions | |
void | init () |
void | init (FILEOFS ofs, UINT size, UINT access_mode) |
virtual void | done () |
virtual int | extend (UINT newsize) |
virtual UINT | get_access_mode () |
virtual const char * | get_desc () |
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 FILEOFS | tell () |
virtual int | truncate (UINT newsize) |
virtual UINT | write (const void *buf, UINT size) |
void * | bufptr () |
Protected Member Functions | |
virtual UINT | extendbufsize (UINT bufsize) |
virtual UINT | shrinkbufsize (UINT bufsize) |
void | extendbuf () |
void | shrinkbuf () |
void | resizebuf (UINT newsize) |
Protected Attributes | |
FILEOFS | ofs |
FILEOFS | pos |
UINT | bufsize |
UINT | dsize |
UINT | ibufsize |
byte * | buf |
|
Definition at line 885 of file stream.cc. References buf. Referenced by RegNodeFile::load_node(), and ht_history_entry::store(). |
|
Reimplemented from ht_stream. Reimplemented in ht_clipboard, and RegNodeFile. Definition at line 879 of file stream.cc. References buf, and ht_stream::done(). Referenced by RegNodeFile::done(), ht_clipboard::done(), ht_info_viewer::igotonode(), RegNodeFile::load_node(), and ht_history_entry::~ht_history_entry(). |
|
Reimplemented from ht_streamfile. Definition at line 890 of file stream.cc. References bufsize, dsize, extendbuf(), and UINT. |
|
Definition at line 897 of file stream.cc. References bufsize, extendbufsize(), and resizebuf(). |
|
Definition at line 902 of file stream.cc. References HTMEMFILE_GROW_FACTOR_DENOM, HTMEMFILE_GROW_FACTOR_NUM, and UINT. Referenced by extendbuf(), and truncate(). |
|
Reimplemented from ht_stream. Definition at line 907 of file stream.cc. References ht_stream::get_access_mode(), and UINT. |
|
Reimplemented from ht_stream. |
|
Reimplemented from ht_streamfile. Definition at line 917 of file stream.cc. Referenced by clipboard_copy(), ht_info_viewer::igotonode(), RegNodeFile::load_node(), pstat(), and ht_history_entry::store(). |
|
Definition at line 865 of file stream.cc. References buf, bufsize, byte, dsize, FILEOFS, ht_io_exception, ibufsize, ht_stream::init(), malloc(), ofs, pos, set_access_mode(), size, and UINT. |
|
Reimplemented from ht_stream. Reimplemented in ht_clipboard. Definition at line 860 of file stream.cc. References FAM_READ, FAM_WRITE, and HTMEMFILE_INITIAL_SIZE. Referenced by ht_app::handlemsg(), ht_info_viewer::igotonode(), RegNodeFile::init(), Terminal::init(), ht_info_viewer::init(), ht_clipboard::init(), ht_history_entry::load(), RegNodeFile::load_node(), and ht_aviewer::showComments(). |
|
Reimplemented from ht_streamfile. Definition at line 922 of file stream.cc. References pstat_t::caps, get_size(), pstat_size, pstat_t::size, and pstat_t::size_high. |
|
Reimplemented from ht_stream. Definition at line 929 of file stream.cc. References buf, dsize, pos, size, and UINT. Referenced by clipboard_paste(). |
|
Definition at line 940 of file stream.cc. References assert, buf, bufsize, byte, dsize, malloc(), and UINT. Referenced by extendbuf(), shrinkbuf(), and truncate(). |
|
Reimplemented from ht_streamfile. Definition at line 953 of file stream.cc. References FILEOFS, ofs, and pos. Referenced by clipboard_copy(), clipboard_paste(), RegNodeFile::done(), ht_strinputfield::history_dialog(), RegNodeFile::init(), and set_access_mode(). |
|
Reimplemented from ht_stream. Reimplemented in RegNodeFile. Definition at line 960 of file stream.cc. References ofs, seek(), ht_stream::set_access_mode(), and UINT. Referenced by init(). |
|
Definition at line 974 of file stream.cc. References bufsize, resizebuf(), and shrinkbufsize(). |
|
Definition at line 969 of file stream.cc. References HTMEMFILE_GROW_FACTOR_DENOM, HTMEMFILE_GROW_FACTOR_NUM, and UINT. Referenced by shrinkbuf(). |
|
Reimplemented from ht_streamfile. |
|
Reimplemented from ht_streamfile. Definition at line 984 of file stream.cc. References dsize, extendbufsize(), ibufsize, resizebuf(), and UINT. Referenced by ht_clipboard::clear(). |
|
Reimplemented from ht_stream. Reimplemented in ht_clipboard. Definition at line 996 of file stream.cc. References buf, bufsize, byte, dsize, extendbuf(), pos, size, and UINT. Referenced by ht_history_entry::load(), RegNodeFile::load_node(), ht_aviewer::showComments(), and ht_clipboard::write(). |
|
Definition at line 373 of file stream.h. Referenced by bufptr(), done(), init(), read(), resizebuf(), and write(). |
|
Definition at line 372 of file stream.h. Referenced by extend(), extendbuf(), init(), resizebuf(), shrinkbuf(), and write(). |
|
Definition at line 372 of file stream.h. Referenced by extend(), get_size(), init(), read(), resizebuf(), truncate(), and write(). |
|
Definition at line 372 of file stream.h. Referenced by init(), and truncate(). |
|
Definition at line 370 of file stream.h. Referenced by init(), seek(), set_access_mode(), and tell(). |
|
|