#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 () |
![]() | |
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 () | |
![]() | |
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 43 of file oct-stdstrm.h.
|
inlineprotected |
Definition at line 107 of file oct-stdstrm.h.
References tstdiostream< BUF_T, STREAM_T, FILE_T >::m_stream.
|
inline |
Definition at line 91 of file oct-stdstrm.h.
References tstdiostream< BUF_T, STREAM_T, FILE_T >::m_stream.
|
inline |
Definition at line 93 of file oct-stdstrm.h.
References tstdiostream< BUF_T, STREAM_T, FILE_T >::m_stream.
|
inlinevirtual |
Reimplemented from base_stream.
Definition at line 99 of file oct-stdstrm.h.
References tstdiostream< BUF_T, STREAM_T, FILE_T >::m_stream.
|
inlinevirtual |
Implements base_stream.
Definition at line 67 of file oct-stdstrm.h.
References tstdiostream< BUF_T, STREAM_T, FILE_T >::m_stream.
|
inlinevirtual |
Reimplemented from base_stream.
Definition at line 89 of file oct-stdstrm.h.
References tstdiostream< BUF_T, STREAM_T, FILE_T >::m_fnum.
|
inlinevirtual |
Reimplemented from base_stream.
Definition at line 73 of file oct-stdstrm.h.
References tstdiostream< BUF_T, STREAM_T, FILE_T >::m_mode, and tstdiostream< BUF_T, STREAM_T, FILE_T >::m_stream.
|
inlinevirtual |
Implements base_stream.
Definition at line 71 of file oct-stdstrm.h.
References tstdiostream< BUF_T, STREAM_T, FILE_T >::m_name.
|
inlinevirtual |
Reimplemented from base_stream.
Definition at line 78 of file oct-stdstrm.h.
References tstdiostream< BUF_T, STREAM_T, FILE_T >::m_mode, and tstdiostream< BUF_T, STREAM_T, FILE_T >::m_stream.
|
inline |
Definition at line 84 of file oct-stdstrm.h.
References tstdiostream< BUF_T, STREAM_T, FILE_T >::m_stream.
|
inlinevirtual |
Implements base_stream.
Definition at line 56 of file oct-stdstrm.h.
References tstdiostream< BUF_T, STREAM_T, FILE_T >::m_stream.
|
inlinevirtual |
Implements base_stream.
Definition at line 63 of file oct-stdstrm.h.
References tstdiostream< BUF_T, STREAM_T, FILE_T >::m_stream.
|
protected |
Definition at line 118 of file oct-stdstrm.h.
Referenced by tstdiostream< BUF_T, STREAM_T, FILE_T >::file_number().
|
protected |
Definition at line 113 of file oct-stdstrm.h.
Referenced by tstdiostream< BUF_T, STREAM_T, FILE_T >::input_stream(), and tstdiostream< BUF_T, STREAM_T, FILE_T >::output_stream().
|
protected |
Definition at line 111 of file oct-stdstrm.h.
Referenced by tstdiostream< BUF_T, STREAM_T, FILE_T >::name().
|
protected |
Definition at line 115 of file oct-stdstrm.h.
Referenced by tstdiostream< BUF_T, STREAM_T, FILE_T >::~tstdiostream(), tstdiostream< BUF_T, STREAM_T, FILE_T >::bad(), tstdiostream< BUF_T, STREAM_T, FILE_T >::clear(), tstdiostream< BUF_T, STREAM_T, FILE_T >::do_close(), tstdiostream< BUF_T, STREAM_T, FILE_T >::eof(), tstdiostream< BUF_T, STREAM_T, FILE_T >::input_stream(), tstdiostream< BUF_T, STREAM_T, FILE_T >::output_stream(), tstdiostream< BUF_T, STREAM_T, FILE_T >::rdbuf(), tstdiostream< BUF_T, STREAM_T, FILE_T >::seek(), and tstdiostream< BUF_T, STREAM_T, FILE_T >::tell().