Mercurial > hg > octave-nkf
diff src/oct-fstrm.h @ 3523:b80bbb43a1a9
[project @ 2000-02-02 10:25:52 by jwe]
author | jwe |
---|---|
date | Wed, 02 Feb 2000 10:26:25 +0000 |
parents | d14c483b3c12 |
children | 71bd2d124119 |
line wrap: on
line diff
--- a/src/oct-fstrm.h +++ b/src/oct-fstrm.h @@ -32,13 +32,13 @@ { public: - octave_fstream (const string& nm_arg, + octave_fstream (const std::string& nm_arg, ios::openmode md = ios::in|ios::out, oct_mach_info::float_format flt_fmt = oct_mach_info::native); static octave_stream - create (const string& nm_arg, ios::openmode md = ios::in|ios::out, + create (const std::string& nm_arg, ios::openmode md = ios::in|ios::out, oct_mach_info::float_format flt_fmt = oct_mach_info::native); // Position a stream at OFFSET relative to ORIGIN. @@ -55,11 +55,11 @@ // The name of the file. - string name (void) const { return nm; } + std::string name (void) const { return nm; } - istream *input_stream (void); + std::istream *input_stream (void); - ostream *output_stream (void); + std::ostream *output_stream (void); protected: @@ -67,7 +67,7 @@ private: - string nm; + std::string nm; fstream fs;