Mercurial > octave
diff libinterp/corefcn/oct-prcstrm.cc @ 23059:b98ebcd7f11c
move some octave stream classes into octave namespace
* oct-stream.h, oct-stream.cc (base_stream, stream, stream_list):
Move inside octave namespace and rename without octave_ prefix.
Change all uses.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 17 Jan 2017 13:56:16 -0500 |
parents | 3a2b891d0b33 |
children | ef4d915df748 |
line wrap: on
line diff
--- a/libinterp/corefcn/oct-prcstrm.cc Tue Jan 17 11:42:25 2017 -0500 +++ b/libinterp/corefcn/oct-prcstrm.cc Tue Jan 17 13:56:16 2017 -0500 @@ -29,11 +29,11 @@ #include "oct-prcstrm.h" #include "sysdep.h" -octave_stream +octave::stream octave_iprocstream::create (const std::string& n, std::ios::openmode arg_md, octave::mach_info::float_format ff) { - return octave_stream (new octave_iprocstream (n, arg_md, ff)); + return octave::stream (new octave_iprocstream (n, arg_md, ff)); } octave_iprocstream::octave_iprocstream (const std::string& n, @@ -48,11 +48,11 @@ do_close (); } -octave_stream +octave::stream octave_oprocstream::create (const std::string& n, std::ios::openmode arg_md, octave::mach_info::float_format ff) { - return octave_stream (new octave_oprocstream (n, arg_md, ff)); + return octave::stream (new octave_oprocstream (n, arg_md, ff)); } octave_oprocstream::octave_oprocstream (const std::string& n,