Mercurial > octave
diff src/oct-fstrm.cc @ 3523:b80bbb43a1a9
[project @ 2000-02-02 10:25:52 by jwe]
author | jwe |
---|---|
date | Wed, 02 Feb 2000 10:26:25 +0000 |
parents | 585a8809fd9b |
children | 97cf542676e1 |
line wrap: on
line diff
--- a/src/oct-fstrm.cc Wed Feb 02 06:32:04 2000 +0000 +++ b/src/oct-fstrm.cc Wed Feb 02 10:26:25 2000 +0000 @@ -31,13 +31,13 @@ #include "oct-fstrm.h" octave_stream -octave_fstream::create (const string& nm_arg, ios::openmode md, +octave_fstream::create (const std::string& nm_arg, ios::openmode md, oct_mach_info::float_format flt_fmt) { return octave_stream (new octave_fstream (nm_arg, md, flt_fmt)); } -octave_fstream::octave_fstream (const string& nm_arg, +octave_fstream::octave_fstream (const std::string& nm_arg, ios::openmode md = ios::in|ios::out, oct_mach_info::float_format flt_fmt) : octave_base_stream (md, flt_fmt), nm (nm_arg) @@ -98,10 +98,10 @@ return fs.eof (); } -istream * +std::istream * octave_fstream::input_stream (void) { - istream *retval = 0; + std::istream *retval = 0; if (mode () & ios::in) retval = &fs; @@ -109,10 +109,10 @@ return retval; } -ostream * +std::ostream * octave_fstream::output_stream (void) { - ostream *retval = 0; + std::ostream *retval = 0; if (mode () & ios::out) retval = &fs;