26 #if ! defined (octave_pager_h)
27 #define octave_pager_h 1
29 #include "octave-config.h"
50 pager_buf (
void) : std::stringbuf (), m_diary_skip (0) { }
52 void flush_current_contents_to_diary (
void);
54 void set_diary_skip (
void);
81 void flush_current_contents_to_diary (
void);
83 void set_diary_skip (
void);
85 std::ostream&
stream (
void);
123 std::ostream&
stream (
void);
163 std::string
PAGER (
const std::string& s)
252 bool sync (
const char *msg,
int len);
305 void do_sync (
const char *msg,
int len,
bool bypass_pager);
308 extern OCTINTERP_API std::ostream&
__stdout__ (
void);
310 extern OCTINTERP_API std::ostream&
__diary__ (
void);
314 #define octave_stdout (octave::__stdout__ ())
316 #define octave_diary (octave::__diary__ ())
std::ostream & stream(void)
diary_stream(const diary_stream &)=delete
oprocstream & operator=(const oprocstream &)
bool m_write_to_diary_file
pager_stream m_pager_stream
bool page_output_immediately(bool flag)
diary_stream & diary(void)
std::ofstream & external_diary_file(void)
pager_stream & pager(void)
std::string PAGER_FLAGS(void) const
std::string PAGER(void) const
diary_stream m_diary_stream
bool flushing_output_to_pager(bool flag)
bool really_flush_to_pager(void) const
std::ostream & __diary__(void)
bool page_screen_output(void) const
output_system(const output_system &)=delete
interpreter & m_interpreter
std::string diary_file_name(void) const
bool write_to_diary_file(bool flag)
bool m_flushing_output_to_pager
~output_system(void)=default
oprocstream * m_external_pager
std::string PAGER(const std::string &s)
bool really_flush_to_pager(bool flag)
bool sync(const char *msg, int len)
bool write_to_diary_file(void) const
void start_external_pager(void)
void clear_external_pager(void)
std::string pager_command(void) const
bool flushing_output_to_pager(void) const
bool m_page_screen_output
output_system(interpreter &interp)
std::string m_PAGER_FLAGS
bool page_output_immediately(void) const
output_system & operator=(const output_system &)=delete
std::string diary_file_name(const std::string &nm)
bool m_really_flush_to_pager
std::string m_diary_file_name
bool m_page_output_immediately
std::string PAGER_FLAGS(const std::string &s)
void do_sync(const char *msg, int len, bool bypass_pager)
std::ofstream m_external_diary_file
std::ostream & __stdout__(void)
bool page_screen_output(bool flag)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
std::ofstream ofstream(const std::string &filename, const std::ios::openmode mode)