41 std::ios::openmode arg_md,
46 #if CXX_ISO_COMPLIANT_LIBRARY
48 fs.open (
nm.c_str (), arg_md);
54 fs.open (
nm.c_str (), arg_md, 0666);
59 error (gnulib::strerror (errno));
67 error (
"fseek: invalid_operation");
76 error (
"ftell: invalid_operation");
97 std::istream *retval = 0;
99 if (
mode () & std::ios::in)
108 std::ostream *retval = 0;
110 if (
mode () & std::ios::out)
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, oct_mach_info::float_format flt_fmt=oct_mach_info::native_float_format())
std::ostream * output_stream(void)
int seek(off_t offset, int origin)
std::string error(bool clear, int &err_num)
octave_fstream(const std::string &nm_arg, std::ios::openmode arg_md=std::ios::in|std::ios::out, oct_mach_info::float_format flt_fmt=oct_mach_info::native_float_format())
friend class octave_stream