diff src/oct-fstrm.cc @ 3340:585a8809fd9b

[project @ 1999-11-05 07:02:30 by jwe]
author jwe
date Fri, 05 Nov 1999 07:02:36 +0000
parents 8b262e771614
children b80bbb43a1a9
line wrap: on
line diff
--- a/src/oct-fstrm.cc	Thu Nov 04 16:24:31 1999 +0000
+++ b/src/oct-fstrm.cc	Fri Nov 05 07:02:36 1999 +0000
@@ -30,6 +30,13 @@
 #include "error.h"
 #include "oct-fstrm.h"
 
+octave_stream
+octave_fstream::create (const 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,
 				ios::openmode md = ios::in|ios::out,
 				oct_mach_info::float_format flt_fmt)
@@ -91,14 +98,6 @@
   return fs.eof ();
 }
 
-// The name of the file.
-
-string
-octave_fstream::name (void)
-{
-  return nm;
-}
-
 istream *
 octave_fstream::input_stream (void)
 {