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,
57 int seek (off_t offset,
int origin);
69 std::string
name ()
const {
return m_name; }
73 void invalid_operation ()
const;
79 virtual const char * stream_type ()
const = 0;
87 istream (std::istream *arg =
nullptr,
const std::string&
n =
"")
92 OCTAVE_DISABLE_COPY_MOVE (
istream)
95 create (std::istream *arg =
nullptr,
const std::string&
n =
"");
111 std::istream *m_istream;
113 const char * stream_type ()
const {
return "istream"; }
121 ostream (std::ostream *arg,
const std::string&
n =
"")
126 OCTAVE_DISABLE_CONSTRUCT_COPY_MOVE (
ostream)
129 create (std::ostream *arg,
const std::string&
n =
"");
145 std::ostream *m_ostream;
147 const char * stream_type ()
const {
return "ostream"; }
150 OCTAVE_END_NAMESPACE(
octave)
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())
istream(std::istream *arg=nullptr, const std::string &n="")
std::ostream * output_stream()
std::istream * input_stream()
std::istream * input_stream()
std::ostream * output_stream()
ostream(std::ostream *arg, const std::string &n="")
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
float_format native_float_format()