#include "oct-stdstrm.h"
Public Member Functions | |
tstdiostream (const std::string &n, FILE_T f=0, int fid=0, std::ios::openmode m=std::ios::in|std::ios::out, mach_info::float_format ff=mach_info::native_float_format(), const std::string &encoding="utf-8", typename BUF_T::close_fcn cf=BUF_T::file_close) | |
bool | bad () const |
void | clear () |
void | do_close () |
bool | eof () const |
int | file_number () const |
std::istream * | input_stream () |
std::string | name () const |
std::ostream * | output_stream () |
BUF_T * | rdbuf () const |
int | seek (off_t offset, int origin) |
off_t | tell () |
Public Member Functions inherited from base_stream | |
base_stream (std::ios::openmode arg_md=std::ios::in|std::ios::out, mach_info::float_format ff=mach_info::native_float_format(), const std::string &encoding="utf-8") | |
virtual | ~base_stream ()=default |
void | close () |
std::string | error (bool clear, int &err_num) |
bool | is_open () const |
bool | ok () const |
std::ostream * | preferred_output_stream () |
Protected Member Functions | |
~tstdiostream () | |
Protected Member Functions inherited from base_stream | |
void | clear () |
void | clearerr () |
std::string | encoding () const |
void | error (const std::string &msg) |
void | error (const std::string &who, const std::string &msg) |
mach_info::float_format | float_format () const |
int | mode () const |
Protected Attributes | |
int | m_fnum |
std::ios::openmode | m_mode |
std::string | m_name |
STREAM_T * | m_stream |
Definition at line 39 of file oct-stdstrm.h.
|
inline |
Definition at line 44 of file oct-stdstrm.h.
|
inlineprotected |
Definition at line 108 of file oct-stdstrm.h.
|
inline |
Definition at line 92 of file oct-stdstrm.h.
|
inline |
Definition at line 94 of file oct-stdstrm.h.
|
inlinevirtual |
Reimplemented from base_stream.
Definition at line 100 of file oct-stdstrm.h.
|
inlinevirtual |
Implements base_stream.
Definition at line 68 of file oct-stdstrm.h.
|
inlinevirtual |
Reimplemented from base_stream.
Definition at line 90 of file oct-stdstrm.h.
|
inlinevirtual |
Reimplemented from base_stream.
Definition at line 74 of file oct-stdstrm.h.
|
inlinevirtual |
Implements base_stream.
Definition at line 72 of file oct-stdstrm.h.
|
inlinevirtual |
Reimplemented from base_stream.
Definition at line 79 of file oct-stdstrm.h.
|
inline |
Definition at line 85 of file oct-stdstrm.h.
|
inlinevirtual |
Implements base_stream.
Definition at line 57 of file oct-stdstrm.h.
References base_stream::seek().
|
inlinevirtual |
Implements base_stream.
Definition at line 64 of file oct-stdstrm.h.
|
protected |
Definition at line 119 of file oct-stdstrm.h.
|
protected |
Definition at line 114 of file oct-stdstrm.h.
|
protected |
Definition at line 112 of file oct-stdstrm.h.
|
protected |
Definition at line 116 of file oct-stdstrm.h.