26 #if ! defined (octave_oct_iostrm_h)
27 #define octave_oct_iostrm_h 1
29 #include "octave-config.h"
43 std::ios::openmode
m = std::ios::in | std::ios::out,
61 int seek (off_t offset,
int origin);
69 bool eof (
void)
const;
73 std::string
name (
void)
const {
return m_name; }
77 void invalid_operation (
void)
const;
91 istream (std::istream *arg =
nullptr,
const std::string&
n =
"")
97 create (std::istream *arg =
nullptr,
const std::string&
n =
"");
101 bool eof (
void)
const;
129 ostream (std::ostream *arg,
const std::string&
n =
"")
135 create (std::ostream *arg,
const std::string&
n =
"");
139 bool eof (
void)
const;
164 #if defined (OCTAVE_PROVIDE_DEPRECATED_SYMBOLS)
166 OCTAVE_DEPRECATED (7,
"use 'octave::base_iostream' instead")
~base_iostream(void)=default
base_iostream(const std::string &n="", std::ios::openmode m=std::ios::in|std::ios::out, mach_info::float_format ff=mach_info::native_float_format())
base_iostream(const base_iostream &)=delete
std::string name(void) const
virtual const char * stream_type(void) const =0
std::ostream * output_stream(void)
istream(std::istream *arg=nullptr, const std::string &n="")
std::istream * input_stream(void)
istream(const istream &)=delete
const char * stream_type(void) const
std::ostream * output_stream(void)
std::istream * input_stream(void)
ostream(const ostream &)=delete
ostream(std::ostream *arg, const std::string &n="")
const char * stream_type(void) const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
float_format native_float_format(void)