23 #if defined (HAVE_CONFIG_H)
41 std::ios::openmode arg_md,
45 fs.open (
nm.c_str (), arg_md);
49 error (std::strerror (errno));
59 error (
"fseek: invalid_operation");
70 error (
"ftell: invalid_operation");
93 if (
mode () & std::ios::in)
104 if (
mode () & std::ios::out)
std::istream * input_stream(void)
std::ostream * output_stream(void)
octave_fstream(const std::string &nm_arg, std::ios::openmode arg_md=std::ios::in|std::ios::out, octave::mach_info::float_format flt_fmt=octave::mach_info::native_float_format())
OCTAVE_EXPORT octave_value_list isdir nd deftypefn *std::string nm
int seek(off_t offset, int origin)
std::string error(bool clear, int &err_num)
static octave_stream create(const std::string &nm_arg, std::ios::openmode arg_md=std::ios::in|std::ios::out, octave::mach_info::float_format flt_fmt=octave::mach_info::native_float_format())
friend class octave_stream
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