#include "pager.h"
Public Member Functions | |
output_system (interpreter &interp) | |
~output_system ()=default | |
std::ostream & | __diary__ () |
std::ostream & | __stdout__ () |
void | clear_external_pager () |
void | close_diary () |
diary_stream & | diary () |
std::string | diary_file_name () const |
std::string | diary_file_name (const std::string &nm) |
std::ofstream & | external_diary_file () |
void | flush_stdout () |
bool | flushing_output_to_pager () const |
bool | flushing_output_to_pager (bool flag) |
void | open_diary () |
bool | page_output_immediately () const |
bool | page_output_immediately (bool flag) |
octave_value | page_output_immediately (const octave_value_list &args, int nargout) |
bool | page_screen_output () const |
bool | page_screen_output (bool flag) |
octave_value | page_screen_output (const octave_value_list &args, int nargout) |
pager_stream & | pager () |
std::string | PAGER () const |
octave_value | PAGER (const octave_value_list &args, int nargout) |
std::string | PAGER (const std::string &s) |
std::string | pager_command () const |
std::string | PAGER_FLAGS () const |
octave_value | PAGER_FLAGS (const octave_value_list &args, int nargout) |
std::string | PAGER_FLAGS (const std::string &s) |
bool | really_flush_to_pager () const |
bool | really_flush_to_pager (bool flag) |
void | reset () |
bool | sync (const char *msg, int len) |
bool | write_to_diary_file () const |
bool | write_to_diary_file (bool flag) |
output_system::output_system | ( | interpreter & | interp | ) |
|
default |
|
inline |
Definition at line 257 of file pager.h.
References diary_stream::stream().
Referenced by octave::__diary__().
|
inline |
Definition at line 255 of file pager.h.
References pager_stream::stream().
Referenced by stream_list::stream_list(), and octave::__stdout__().
void output_system::clear_external_pager | ( | ) |
Definition at line 426 of file pager.cc.
References interpreter::get_child_list(), procstreambase::pid(), and child_list::remove().
Referenced by flush_stdout().
void output_system::close_diary | ( | ) |
Definition at line 355 of file pager.cc.
References pager_stream::flush_current_contents_to_diary(), and octave_diary.
Referenced by octave::Fdiary(), and open_diary().
|
inline |
|
inline |
Definition at line 145 of file pager.h.
Referenced by octave::Fdiary().
|
inline |
|
inline |
Definition at line 241 of file pager.h.
Referenced by diary_buf::sync().
void output_system::flush_stdout | ( | ) |
Definition at line 336 of file pager.cc.
References clear_external_pager(), and pager_stream::stream().
Referenced by octave::flush_stdout(), and reset().
|
inline |
|
inline |
void output_system::open_diary | ( | ) |
Definition at line 378 of file pager.cc.
References close_diary(), error(), and pager_stream::set_diary_skip().
Referenced by octave::Fdiary().
|
inline |
|
inline |
octave_value output_system::page_output_immediately | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 300 of file pager.cc.
References octave::set_internal_variable().
Referenced by octave::Fpage_output_immediately().
octave_value output_system::page_screen_output | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 308 of file pager.cc.
References octave::set_internal_variable().
Referenced by octave::Fmore(), and octave::Fpage_screen_output().
|
inline |
octave_value output_system::PAGER | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 285 of file pager.cc.
References octave::set_internal_variable().
Referenced by octave::FPAGER().
|
inline |
octave_value output_system::PAGER_FLAGS | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 292 of file pager.cc.
References octave::set_internal_variable().
Referenced by octave::FPAGER_FLAGS().
|
inline |
|
inline |
void output_system::reset | ( | ) |
Definition at line 327 of file pager.cc.
References flush_stdout(), pager_stream::reset(), and diary_stream::reset().
bool output_system::sync | ( | const char * | msg, |
int | len | ||
) |
Definition at line 394 of file pager.cc.
References application::forced_interactive(), interpreter::interactive(), and interpreter::server_mode().
Referenced by pager_buf::sync().
|
inline |
Definition at line 203 of file pager.h.
Referenced by octave::Fdiary(), and diary_buf::sync().