Mercurial > hg > octave-lyh
diff src/oct-stream.cc @ 3536:e8fbc8c3d6d9
[project @ 2000-02-02 12:01:00 by jwe]
author | jwe |
---|---|
date | Wed, 02 Feb 2000 12:01:08 +0000 |
parents | c5ebcd5d25a9 |
children | 0ff7323dab8b |
line wrap: on
line diff
--- a/src/oct-stream.cc +++ b/src/oct-stream.cc @@ -878,7 +878,7 @@ // Functions that are defined for all input streams (input streams // are those that define is). -std:string +std::string octave_base_stream::do_gets (int max_len, bool& err, bool strip_newline, const char *fcn) { @@ -951,13 +951,13 @@ return retval; } -std:string +std::string octave_base_stream::getl (int max_len, bool& err) { return do_gets (max_len, err, true, "fgetl"); } -std:string +std::string octave_base_stream::gets (int max_len, bool& err) { return do_gets (max_len, err, false, "fgets"); @@ -2072,7 +2072,7 @@ return retval; } -std:string +std::string printf_value_cache::string_value (void) { std::string retval; @@ -2372,7 +2372,7 @@ // Return current error message for this stream. -std:string +std::string octave_base_stream::error (bool clear_err, int& err_num) { err_num = fail ? -1 : 0; @@ -2442,7 +2442,7 @@ return retval; } -std:string +std::string octave_stream::getl (int max_len, bool& err) { std::string retval; @@ -2453,7 +2453,7 @@ return retval; } -std:string +std::string octave_stream::getl (const octave_value& tc_max_len, bool& err) { std::string retval; @@ -2475,7 +2475,7 @@ return retval; } -std:string +std::string octave_stream::gets (int max_len, bool& err) { std::string retval; @@ -2486,7 +2486,7 @@ return retval; } -std:string +std::string octave_stream::gets (const octave_value& tc_max_len, bool& err) { std::string retval; @@ -2713,7 +2713,7 @@ return retval; } -std:string +std::string octave_stream::error (bool clear, int& err_num) { std::string retval; @@ -2724,7 +2724,7 @@ return retval; } -std:string +std::string octave_stream::name (void) const { std::string retval; @@ -2757,7 +2757,7 @@ return retval; } -std:string +std::string octave_stream::mode_as_string (int mode) { std::string retval = "???"; @@ -2896,7 +2896,7 @@ return (instance_ok ()) ? instance->do_get_info (fid) : string_vector (); } -std:string +std::string octave_stream_list::list_open_files (void) { return (instance_ok ()) ? instance->do_list_open_files () : std::string (); @@ -3080,7 +3080,7 @@ return retval; } -std:string +std::string octave_stream_list::do_list_open_files (void) const { std::string retval;