#include "octave.h"
Public Member Functions | |
cli_application (const cli_application &)=delete | |
cli_application (const cmdline_options &opts=cmdline_options()) | |
cli_application (int argc, char **argv) | |
~cli_application (void)=default | |
virtual interpreter & | create_interpreter (void) |
virtual void | delete_interpreter (void) |
int | execute (void) |
virtual int | execute_interpreter (void) |
void | forced_interactive (bool arg) |
virtual void | gui_running (bool) |
virtual bool | gui_running (void) const |
bool | have_eval_option_code (void) const |
bool | have_script_file (void) const |
virtual void | initialize_interpreter (void) |
void | intern_argv (const string_vector &args) |
bool | interpreter_initialized (void) |
bool | is_octave_program (void) const |
cli_application & | operator= (const cli_application &)=delete |
cmdline_options | options (void) const |
void | program_invocation_name (const std::string &nm) |
void | program_name (const std::string &nm) |
void | set_program_names (const std::string &pname) |
int | sys_argc (void) const |
char ** | sys_argv (void) const |
Static Public Member Functions | |
static application * | app (void) |
static string_vector | argv (void) |
static bool | forced_interactive (void) |
static bool | is_gui_running (void) |
static std::string | program_invocation_name (void) |
static std::string | program_name (void) |
Protected Attributes | |
string_vector | m_argv |
bool | m_have_eval_option_code = false |
bool | m_have_script_file = false |
interpreter * | m_interpreter = nullptr |
bool | m_is_octave_program = false |
cmdline_options | m_options |
std::string | m_program_invocation_name |
std::string | m_program_name |
Private Member Functions | |
void | init (void) |
Static Private Attributes | |
static application * | instance = nullptr |
|
inline |
|
inline |
|
delete |
|
default |
|
inlinestaticinherited |
Definition at line 286 of file octave.h.
Referenced by octave::debugger::repl().
|
inlinestaticinherited |
|
virtualinherited |
Definition at line 299 of file octave.cc.
References octave::application::m_interpreter.
Referenced by octave::interpreter_qobject::execute(), and execute().
|
virtualinherited |
Definition at line 318 of file octave.cc.
References octave::application::m_interpreter.
|
virtual |
Implements octave::application.
Definition at line 375 of file octave.cc.
References octave::application::create_interpreter(), octave::interpreter::execute(), and octave::interpreter::shutdown().
Referenced by main().
|
virtualinherited |
Definition at line 313 of file octave.cc.
References octave::interpreter::execute(), and octave::application::m_interpreter.
|
inlineinherited |
Definition at line 284 of file octave.h.
Referenced by octave::debugger::repl().
|
staticinherited |
Definition at line 280 of file octave.cc.
References octave::cmdline_options::forced_interactive(), octave::application::instance, and octave::application::m_options.
Referenced by octave::base_stream::do_oscanf(), octave::base_stream::do_scanf(), Frmdir(), octave::raw_mode(), octave::debugger::repl(), octave::output_system::sync(), octave::tree_evaluator::visit_statement(), and octave::error_system::vwarning().
|
inlinevirtualinherited |
Reimplemented in octave::qt_application.
|
inlinevirtualinherited |
Reimplemented in octave::qt_application.
|
inlineinherited |
Definition at line 259 of file octave.h.
Referenced by octave::interpreter::execute().
|
inlineinherited |
Definition at line 261 of file octave.h.
Referenced by octave::interpreter::execute().
|
privateinherited |
Definition at line 325 of file octave.cc.
References octave::cmdline_options::all_args(), octave::cmdline_options::code_to_eval(), string_vector::empty(), octave::cmdline_options::gui(), octave::application::instance, octave::cmdline_options::line_editing(), octave::application::m_have_eval_option_code, octave::application::m_have_script_file, octave::application::m_is_octave_program, octave::application::m_options, octave::cmdline_options::no_window_system(), octave_print_terse_usage_and_exit(), octave::cmdline_options::persist(), octave::cmdline_options::remaining_args(), octave::application::set_program_names(), octave::sysdep_init(), and octave::cmdline_options::traditional().
Referenced by octave::application::application().
|
virtualinherited |
Definition at line 307 of file octave.cc.
References octave::interpreter::initialize(), and octave::application::m_interpreter.
|
inherited |
Definition at line 264 of file octave.cc.
References octave::application::m_argv, string_vector::numel(), and string_vector::resize().
Referenced by octave::interpreter::interpreter(), and octave::interpreter::execute_command_line_file().
|
inherited |
Definition at line 294 of file octave.cc.
References octave::interpreter::initialized(), and octave::application::m_interpreter.
|
inlinestaticinherited |
Definition at line 303 of file octave.h.
Referenced by F__event_manager_gui_preference__(), octave::event_manager::file_remove(), octave::event_manager::file_renamed(), Fisguirunning(), and octave::event_manager::update_path_dialog().
|
inlineinherited |
Definition at line 263 of file octave.h.
Referenced by octave::interpreter::interpreter().
|
delete |
|
inlineinherited |
Definition at line 257 of file octave.h.
Referenced by octave::interpreter::interpreter(), octave::interpreter::display_startup_message(), octave::interpreter::execute(), octave::interpreter::execute_command_line_file(), octave::interpreter::execute_eval_option_code(), octave::interpreter::execute_startup_files(), octave::interpreter::initialize_history(), and octave::interpreter::initialize_load_path().
|
inlineinherited |
|
inlinestaticinherited |
Definition at line 288 of file octave.h.
Referenced by octave::interpreter::execute_command_line_file(), and Fprogram_invocation_name().
|
inlineinherited |
|
inlinestaticinherited |
Definition at line 293 of file octave.h.
Referenced by octave::interpreter::execute_command_line_file(), and Fprogram_name().
|
inherited |
Definition at line 254 of file octave.cc.
References octave::sys::file_ops::dir_sep_chars(), octave::application::m_program_invocation_name, and octave::application::m_program_name.
Referenced by octave::interpreter::execute_command_line_file(), and octave::application::init().
|
inlineinherited |
|
inlineinherited |
|
staticprivateinherited |
Definition at line 315 of file octave.h.
Referenced by octave::application::~application(), octave::application::forced_interactive(), and octave::application::init().
|
protectedinherited |
Definition at line 331 of file octave.h.
Referenced by octave::application::intern_argv().
|
protectedinherited |
Definition at line 336 of file octave.h.
Referenced by octave::application::init().
|
protectedinherited |
Definition at line 340 of file octave.h.
Referenced by octave::application::init().
|
protectedinherited |
Definition at line 347 of file octave.h.
Referenced by octave::application::~application(), octave::application::create_interpreter(), octave::application::delete_interpreter(), octave::application::execute_interpreter(), octave::application::initialize_interpreter(), and octave::application::interpreter_initialized().
|
protectedinherited |
Definition at line 345 of file octave.h.
Referenced by octave::application::init().
|
protectedinherited |
Definition at line 333 of file octave.h.
Referenced by octave::application::forced_interactive(), octave::application::init(), and octave::qt_application::start_gui_p().
|
protectedinherited |
Definition at line 322 of file octave.h.
Referenced by octave::application::set_program_names().
|
protectedinherited |
Definition at line 325 of file octave.h.
Referenced by octave::application::set_program_names().