#include <stream.h>
Inheritance diagram for ht_file:
Public Member Functions | |
void | init (const char *filename, UINT access_mode, UINT open_mode) |
virtual void | done () |
virtual const char * | get_desc () |
virtual const char * | get_filename () |
virtual void | pstat (pstat_t *s) |
virtual bool | set_access_mode (UINT access_mode) |
virtual int | truncate (UINT newsize) |
virtual int | vcntl (UINT cmd, va_list vargs) |
Protected Member Functions | |
bool | set_access_mode_internal (UINT access_mode) |
Protected Attributes | |
char * | filename |
UINT | open_mode |
FILEOFS | offset |
|
Reimplemented from ht_stdio_file. Definition at line 592 of file stream.cc. References ht_stdio_file::done(), and filename. Referenced by ht_aviewer::exportFileDialog(), ht_aviewer::generateOutputDialog(), ht_app::handlemsg(), load_fileconfig(), load_systemconfig(), save_fileconfig(), and save_systemconfig(). |
|
Reimplemented from ht_stdio_file. Definition at line 598 of file stream.cc. References filename. Referenced by ht_app::handlemsg(). |
|
Reimplemented from ht_streamfile. Definition at line 603 of file stream.cc. References filename. Referenced by ht_app::handlemsg(), and set_access_mode(). |
|
Definition at line 584 of file stream.cc. References filename, FOM_EXISTS, ht_stream::init(), NULL, open_mode, and UINT. Referenced by ht_app::create_window_file_bin(), ht_app::create_window_file_text(), ht_aviewer::exportFileDialog(), ht_aviewer::generateOutputDialog(), ht_app::handlemsg(), load_fileconfig(), load_systemconfig(), save_fileconfig(), and save_systemconfig(). |
|
Reimplemented from ht_streamfile. Definition at line 608 of file stream.cc. References filename, and sys_pstat(). |
|
Reimplemented from ht_stream. Definition at line 613 of file stream.cc. References get_filename(), ht_io_exception, set_access_mode_internal(), and UINT. Referenced by ht_app::handlemsg(), truncate(), and vcntl(). |
|
Definition at line 622 of file stream.cc. References pstat_t::caps, FAM_NULL, FAM_READ, FAM_WRITE, filename, FOM_APPEND, FOM_CREATE, HT_S_ISBLK, HT_S_ISDIR, HT_S_ISREG, pstat_t::mode, NULL, open_mode, pstat_mode_type, SERR_RETRY, ht_stream::set_access_mode(), ht_stream::set_error(), STERR_SYSTEM, ht_stream::stream_error_func, sys_pstat(), and UINT. Referenced by set_access_mode(). |
|
Reimplemented from ht_streamfile. Definition at line 674 of file stream.cc. References FAM_NULL, filename, set_access_mode(), sys_truncate(), and UINT. |
|
Reimplemented from ht_streamfile. Definition at line 688 of file stream.cc. References FAM_NULL, FCNTL_FLUSH_STAT, ht_stream::get_access_mode(), set_access_mode(), UINT, and ht_streamfile::vcntl(). |
|
Definition at line 287 of file stream.h. Referenced by done(), get_desc(), get_filename(), init(), pstat(), set_access_mode_internal(), and truncate(). |
|
Reimplemented from ht_stdio_file. |
|
Definition at line 288 of file stream.h. Referenced by init(), and set_access_mode_internal(). |