26 #if defined (HAVE_CONFIG_H)
44 std::ios::openmode arg_md,
46 :
octave::base_stream (arg_md, ff), m_name (nm_arg)
52 error (std::strerror (errno));
62 error (
"fseek: invalid_operation");
73 error (
"ftell: invalid_operation");
94 std::istream *
retval =
nullptr;
96 if (
mode () & std::ios::in)
105 std::ostream *
retval =
nullptr;
107 if (
mode () & std::ios::out)
std::string error(bool clear, int &err_num)
int seek(off_t offset, int origin)
std::ostream * output_stream(void)
std::istream * input_stream(void)
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())
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_value::octave_value(const Array< char > &chm, char type) return retval