Mercurial > hg > octave-nkf
comparison src/oct-fstrm.cc @ 3552:41daa489833a
[project @ 2000-02-03 03:05:28 by jwe]
author | jwe |
---|---|
date | Thu, 03 Feb 2000 03:05:31 +0000 |
parents | 6dfdded73a7e |
children | e3e8cfe73935 |
comparison
equal
deleted
inserted
replaced
3551:4833e231e05b | 3552:41daa489833a |
---|---|
35 oct_mach_info::float_format flt_fmt) | 35 oct_mach_info::float_format flt_fmt) |
36 { | 36 { |
37 return octave_stream (new octave_fstream (nm_arg, md, flt_fmt)); | 37 return octave_stream (new octave_fstream (nm_arg, md, flt_fmt)); |
38 } | 38 } |
39 | 39 |
40 octave_fstream::octave_fstream | 40 octave_fstream::octave_fstream (const std::string& nm_arg, |
41 (const std::string& nm_arg, | 41 std::ios::openmode md, |
42 std::ios::openmode md = std::ios::in|std::ios::out, | 42 oct_mach_info::float_format flt_fmt) |
43 oct_mach_info::float_format flt_fmt) | |
44 : octave_base_stream (md, flt_fmt), nm (nm_arg) | 43 : octave_base_stream (md, flt_fmt), nm (nm_arg) |
45 { | 44 { |
46 // Override default protection of 0664 so that umask will appear to | 45 // Override default protection of 0664 so that umask will appear to |
47 // do the right thing. | 46 // do the right thing. |
48 | 47 |