#include "oct-stream.h"
Public Member Functions | |
| stream_list (interpreter &interp) | |
| ~stream_list () | |
| void | clear (bool flush=true) |
| int | get_file_number (const octave_value &fid) const |
| string_vector | get_info (const octave_value &fid) const |
| string_vector | get_info (int fid) const |
| int | insert (stream &os) |
| std::string | list_open_files () const |
| stream | lookup (const octave_value &fid, const std::string &who="") const |
| stream | lookup (int fid, const std::string &who="") const |
| octave_value | open_file_numbers () const |
| int | remove (const octave_value &fid, const std::string &who="") |
| int | remove (int fid, const std::string &who="") |
| octave_value | stderr_file () const |
| octave_value | stdin_file () const |
| octave_value | stdout_file () const |
Definition at line 498 of file oct-stream.h.
| stream_list::stream_list | ( | interpreter & | interp | ) |
Definition at line 7368 of file oct-stream.cc.
References output_system::__stdout__(), istream::create(), ostream::create(), interpreter::get_output_system(), and insert().
| stream_list::~stream_list | ( | ) |
Definition at line 7391 of file oct-stream.cc.
References clear().
| void stream_list::clear | ( | bool | flush = true | ) |
Definition at line 7517 of file oct-stream.cc.
References stream::close(), stream::is_valid(), and stream::name().
Referenced by ~stream_list(), and remove().
| int stream_list::get_file_number | ( | const octave_value & | fid | ) | const |
Definition at line 7660 of file oct-stream.cc.
References error(), octave_value::is_single_type(), octave_value::is_string(), stream::name(), and octave_value::string_value().
Referenced by Ffclear(), Ffdisp(), Ffflush(), Fstat(), lookup(), and remove().
| string_vector stream_list::get_info | ( | const octave_value & | fid | ) | const |
Definition at line 7592 of file oct-stream.cc.
References error(), get_info(), and octave_value::is_single_type().
| string_vector stream_list::get_info | ( | int | fid | ) | const |
Definition at line 7559 of file oct-stream.cc.
References stream::encoding(), stream::float_format(), stream::is_valid(), stream::mode(), stream::mode_as_string(), and stream::name().
Referenced by Ffopen(), and get_info().
Definition at line 7397 of file oct-stream.cc.
References error(), and stream::file_number().
Referenced by stream_list(), Ffopen(), Fmkstemp(), Fpipe(), Fpopen(), Fpopen2(), and Ftmpfile().
| std::string stream_list::list_open_files | ( | ) | const |
Definition at line 7608 of file oct-stream.cc.
References stream::float_format(), stream::mode(), stream::mode_as_string(), and stream::name().
Referenced by Ffreport().
| stream stream_list::lookup | ( | const octave_value & | fid, |
| const std::string & | who = "" |
||
| ) | const |
Definition at line 7462 of file oct-stream.cc.
References get_file_number(), and lookup().
| octave_value stream_list::open_file_numbers | ( | ) | const |
| int stream_list::remove | ( | const octave_value & | fid, |
| const std::string & | who = "" |
||
| ) |
Definition at line 7496 of file oct-stream.cc.
References clear(), get_file_number(), octave_value::is_string(), remove(), and octave_value::string_value().
Definition at line 7471 of file oct-stream.cc.
References stream::close(), and stream::is_valid().
| octave_value stream_list::stderr_file | ( | ) | const |
Definition at line 7713 of file oct-stream.cc.
Referenced by Fstderr().
| octave_value stream_list::stdin_file | ( | ) | const |
Definition at line 7701 of file oct-stream.cc.
Referenced by Fstdin().
| octave_value stream_list::stdout_file | ( | ) | const |
Definition at line 7707 of file oct-stream.cc.
Referenced by Fstdout().