23 #if ! defined (octave_oct_iostrm_h) 24 #define octave_oct_iostrm_h 1 26 #include "octave-config.h" 38 std::ios::openmode m = std::ios::in | std::ios::out,
41 :
octave::base_stream (m, ff),
nm (n) { }
57 int seek (off_t offset,
int origin);
65 bool eof (
void)
const;
73 void invalid_operation (
void)
const;
79 virtual const char * stream_type (
void)
const = 0;
98 bool eof (
void)
const;
112 const char *
stream_type (
void)
const {
return "octave_istream"; }
137 bool eof (
void)
const;
151 const char *
stream_type (
void)
const {
return "octave_ostream"; }
std::string name(void) const
std::ostream * output_stream(void)
octave_istream(std::istream *arg=nullptr, const std::string &n="")
const char * stream_type(void) const
OCTAVE_EXPORT octave_value_list isdir nd deftypefn *std::string nm
std::istream * input_stream(void)
float_format native_float_format(void)
std::ostream * output_stream(void)
const char * stream_type(void) const
std::istream * input_stream(void)
octave_ostream(std::ostream *arg, const std::string &n="")
write the output to stdout if nargout is
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
octave_base_iostream(const std::string &n="", std::ios::openmode m=std::ios::in|std::ios::out, octave::mach_info::float_format ff=octave::mach_info::native_float_format())