GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
input_system Class Reference

#include "input.h"

Public Member Functions

 input_system (interpreter &interp)
 
void add_input_event_hook (const hook_function &hook_fcn)
 
bool auto_repeat_debug_command () const
 
bool auto_repeat_debug_command (bool val)
 
octave_value auto_repeat_debug_command (const octave_value_list &args, int nargout)
 
void clear_input_event_hooks ()
 
char completion_append_char () const
 
char completion_append_char (char c)
 
octave_value completion_append_char (const octave_value_list &args, int nargout)
 
std::string dir_encoding (const std::string &dir)
 
octave_value_list get_user_input (const octave_value_list &args, int nargout)
 
bool gud_mode () const
 
bool gud_mode (bool flag)
 
octave_value gud_mode (const octave_value_list &args, int nargout)
 
bool have_input_event_hooks () const
 
void initialize (bool line_editing)
 
std::string interactive_input (const std::string &s, bool &eof)
 
std::string last_debugging_command () const
 
std::string last_debugging_command (const std::string &s)
 
std::string mfile_encoding () const
 
octave_value mfile_encoding (const octave_value_list &args, int nargout)
 
std::string mfile_encoding (const std::string &s)
 
std::string PS1 () const
 
octave_value PS1 (const octave_value_list &args, int nargout)
 
std::string PS1 (const std::string &s)
 
std::string PS2 () const
 
octave_value PS2 (const octave_value_list &args, int nargout)
 
std::string PS2 (const std::string &s)
 
bool remove_input_event_hook (const std::string &hook_fcn_id)
 
void run_input_event_hooks ()
 
void set_completion_append_char (char c)
 
void set_dir_encoding (const std::string &dir, std::string &enc)
 
void set_gud_mode (bool flag)
 
void set_mfile_encoding (const std::string &s)
 
void set_PS1 (const std::string &s)
 
void set_PS2 (const std::string &s)
 
bool yes_or_no (const std::string &prompt)
 

Detailed Description

Definition at line 59 of file input.h.

Constructor & Destructor Documentation

◆ input_system()

input_system::input_system ( interpreter interp)

Member Function Documentation

◆ add_input_event_hook()

void input_system::add_input_event_hook ( const hook_function hook_fcn)

◆ auto_repeat_debug_command() [1/3]

bool input_system::auto_repeat_debug_command ( ) const
inline

Definition at line 155 of file input.h.

◆ auto_repeat_debug_command() [2/3]

bool input_system::auto_repeat_debug_command ( bool  val)
inline

Definition at line 160 of file input.h.

◆ auto_repeat_debug_command() [3/3]

octave_value input_system::auto_repeat_debug_command ( const octave_value_list args,
int  nargout 
)

◆ clear_input_event_hooks()

void input_system::clear_input_event_hooks ( )

◆ completion_append_char() [1/3]

char input_system::completion_append_char ( ) const
inline

Definition at line 108 of file input.h.

◆ completion_append_char() [2/3]

char input_system::completion_append_char ( char  c)
inline

Definition at line 113 of file input.h.

◆ completion_append_char() [3/3]

octave_value input_system::completion_append_char ( const octave_value_list args,
int  nargout 
)

◆ dir_encoding()

std::string input_system::dir_encoding ( const std::string &  dir)

◆ get_user_input()

octave_value_list input_system::get_user_input ( const octave_value_list args,
int  nargout 
)

◆ gud_mode() [1/3]

bool input_system::gud_mode ( ) const
inline

Definition at line 124 of file input.h.

◆ gud_mode() [2/3]

bool input_system::gud_mode ( bool  flag)
inline

Definition at line 126 of file input.h.

◆ gud_mode() [3/3]

octave_value input_system::gud_mode ( const octave_value_list args,
int  nargout 
)

◆ have_input_event_hooks()

bool input_system::have_input_event_hooks ( ) const

◆ initialize()

void input_system::initialize ( bool  line_editing)

◆ interactive_input()

std::string input_system::interactive_input ( const std::string &  s,
bool &  eof 
)

◆ last_debugging_command() [1/2]

std::string input_system::last_debugging_command ( ) const
inline

Definition at line 93 of file input.h.

◆ last_debugging_command() [2/2]

std::string input_system::last_debugging_command ( const std::string &  s)
inline

Definition at line 98 of file input.h.

◆ mfile_encoding() [1/3]

std::string input_system::mfile_encoding ( ) const
inline

Definition at line 137 of file input.h.

◆ mfile_encoding() [2/3]

octave_value input_system::mfile_encoding ( const octave_value_list args,
int  nargout 
)

◆ mfile_encoding() [3/3]

std::string input_system::mfile_encoding ( const std::string &  s)
inline

Definition at line 139 of file input.h.

◆ PS1() [1/3]

std::string input_system::PS1 ( ) const
inline

Definition at line 69 of file input.h.

◆ PS1() [2/3]

octave_value input_system::PS1 ( const octave_value_list args,
int  nargout 
)

Referenced by interpreter::PS1().

◆ PS1() [3/3]

std::string input_system::PS1 ( const std::string &  s)
inline

Definition at line 71 of file input.h.

◆ PS2() [1/3]

std::string input_system::PS2 ( ) const
inline

Definition at line 82 of file input.h.

◆ PS2() [2/3]

octave_value input_system::PS2 ( const octave_value_list args,
int  nargout 
)

Referenced by interpreter::PS2().

◆ PS2() [3/3]

std::string input_system::PS2 ( const std::string &  s)
inline

Definition at line 84 of file input.h.

◆ remove_input_event_hook()

bool input_system::remove_input_event_hook ( const std::string &  hook_fcn_id)

◆ run_input_event_hooks()

void input_system::run_input_event_hooks ( )

◆ set_completion_append_char()

void input_system::set_completion_append_char ( char  c)
inline

Definition at line 120 of file input.h.

◆ set_dir_encoding()

void input_system::set_dir_encoding ( const std::string &  dir,
std::string &  enc 
)

◆ set_gud_mode()

void input_system::set_gud_mode ( bool  flag)
inline

Definition at line 133 of file input.h.

◆ set_mfile_encoding()

void input_system::set_mfile_encoding ( const std::string &  s)
inline

Definition at line 146 of file input.h.

◆ set_PS1()

void input_system::set_PS1 ( const std::string &  s)
inline

Definition at line 78 of file input.h.

Referenced by interpreter::set_PS1().

◆ set_PS2()

void input_system::set_PS2 ( const std::string &  s)
inline

Definition at line 91 of file input.h.

Referenced by interpreter::set_PS2().

◆ yes_or_no()

bool input_system::yes_or_no ( const std::string &  prompt)

The documentation for this class was generated from the following file: