#include <stream.h>
Inheritance diagram for ht_stdio_file:
Public Member Functions | |
void | init (FILE *file, bool own_file, UINT access_mode) |
virtual void | done () |
virtual int | extend (UINT newsize) |
virtual const char * | get_desc () |
virtual UINT | get_size () |
virtual UINT | read (void *buf, UINT size) |
virtual int | seek (FILEOFS offset) |
virtual FILEOFS | tell () |
virtual UINT | write (const void *buf, UINT size) |
Protected Attributes | |
FILE * | file |
bool | own_file |
FILEOFS | offset |
|
Reimplemented from ht_stream. Reimplemented in ht_file, and ht_temp_file. Definition at line 504 of file stream.cc. References ht_stream::done(), file, and own_file. Referenced by ht_temp_file::done(), and ht_file::done(). |
|
Reimplemented from ht_streamfile. Definition at line 511 of file stream.cc. References buf, EXTEND_BUFSIZE, FAM_WRITE, ht_stream::get_access_mode(), get_size(), MIN, seek(), ht_stream::set_access_mode(), UINT, and write(). |
|
Reimplemented from ht_stream. Reimplemented in ht_file, and ht_temp_file. |
|
Reimplemented from ht_streamfile. Definition at line 542 of file stream.cc. References file, tell(), and UINT. Referenced by extend(), ht_app::handlemsg(), and ht_temp_file::pstat(). |
|
Definition at line 495 of file stream.cc. References file, ht_stream::init(), offset, own_file, ht_stream::set_access_mode(), and UINT. |
|
Reimplemented from ht_stream. Definition at line 551 of file stream.cc. References buf, FAM_READ, file, offset, size, and UINT. Referenced by load_fileconfig(), and load_systemconfig(). |
|
Reimplemented from ht_streamfile. Definition at line 559 of file stream.cc. References file, FILEOFS, and offset. Referenced by extend(). |
|
Reimplemented from ht_streamfile. Definition at line 567 of file stream.cc. References FILEOFS, and offset. Referenced by get_size(). |
|
Reimplemented from ht_stream. Definition at line 572 of file stream.cc. References buf, FAM_WRITE, file, offset, size, and UINT. Referenced by extend(), save_fileconfig(), and save_systemconfig(). |
|
Definition at line 263 of file stream.h. Referenced by done(), get_size(), init(), read(), seek(), and write(). |
|
Reimplemented in ht_file. |
|
|