#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) |
input_system::input_system | ( | interpreter & | interp | ) |
void input_system::add_input_event_hook | ( | const hook_function & | hook_fcn | ) |
|
inline |
octave_value input_system::auto_repeat_debug_command | ( | const octave_value_list & | args, |
int | nargout | ||
) |
void input_system::clear_input_event_hooks | ( | ) |
octave_value input_system::completion_append_char | ( | const octave_value_list & | args, |
int | nargout | ||
) |
std::string input_system::dir_encoding | ( | const std::string & | dir | ) |
octave_value_list input_system::get_user_input | ( | const octave_value_list & | args, |
int | nargout | ||
) |
octave_value input_system::gud_mode | ( | const octave_value_list & | args, |
int | nargout | ||
) |
bool input_system::have_input_event_hooks | ( | ) | const |
void input_system::initialize | ( | bool | line_editing | ) |
Definition at line 412 of file input.cc.
References command_editor::add_event_hook(), command_editor::force_default_editor(), command_editor::set_basic_quote_characters(), command_editor::set_basic_word_break_characters(), command_editor::set_completer_quote_characters(), command_editor::set_completer_word_break_characters(), command_editor::set_completion_function(), command_editor::set_filename_quote_characters(), command_editor::set_name(), and command_editor::set_quoting_function().
Referenced by interpreter::interpreter().
std::string input_system::interactive_input | ( | const std::string & | s, |
bool & | eof | ||
) |
|
inline |
|
inline |
octave_value input_system::mfile_encoding | ( | const octave_value_list & | args, |
int | nargout | ||
) |
|
inline |
octave_value input_system::PS1 | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Referenced by interpreter::PS1(), interpreter::PS1(), and interpreter::PS1().
|
inline |
octave_value input_system::PS2 | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Referenced by interpreter::PS2(), interpreter::PS2(), and interpreter::PS2().
|
inline |
bool input_system::remove_input_event_hook | ( | const std::string & | hook_fcn_id | ) |
void input_system::run_input_event_hooks | ( | ) |
|
inline |
void input_system::set_dir_encoding | ( | const std::string & | dir, |
std::string & | enc | ||
) |
Referenced by load_path::read_dir_config().
|
inline |
|
inline |
Definition at line 78 of file input.h.
Referenced by interpreter::set_PS1().
|
inline |
Definition at line 91 of file input.h.
Referenced by interpreter::set_PS2().