#include "oct-strstrm.h"
Public Member Functions | |
base_strstream (std::ios::openmode m=std::ios::out, mach_info::float_format ff=mach_info::native_float_format(), const std::string &encoding="utf-8") | |
virtual bool | bad () const =0 |
virtual void | clear ()=0 |
std::string | name () const |
virtual std::streambuf * | rdbuf ()=0 |
int | seek (off_t, int) |
virtual 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 () |
virtual void | do_close () |
virtual bool | eof () const =0 |
std::string | error (bool clear, int &err_num) |
virtual int | file_number () const |
virtual std::istream * | input_stream () |
bool | is_open () const |
bool | ok () const |
virtual std::ostream * | output_stream () |
std::ostream * | preferred_output_stream () |
Protected Member Functions | |
~base_strstream ()=default | |
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 |
Definition at line 38 of file oct-strstrm.h.
|
inline |
Definition at line 43 of file oct-strstrm.h.
|
protecteddefault |
|
pure virtual |
Implemented in ostrstream, and istrstream.
|
pure virtual |
Implemented in ostrstream, and istrstream.
|
inlinevirtual |
Implements base_stream.
Definition at line 67 of file oct-strstrm.h.
|
pure virtual |
Implemented in ostrstream, and istrstream.
|
virtual |
Implements base_stream.
Definition at line 37 of file oct-strstrm.cc.
References base_stream::error().
|
virtual |
Implements base_stream.
Reimplemented in istrstream.
Definition at line 48 of file oct-strstrm.cc.
References base_stream::error().