#include "octave.h"
Public Member Functions | |
application (const cmdline_options &opts=cmdline_options()) | |
application (int argc, char **argv) | |
virtual | ~application () |
virtual interpreter & | create_interpreter () |
virtual void | delete_interpreter () |
virtual int | execute ()=0 |
virtual int | execute_interpreter () |
bool | experimental_terminal_widget () const |
void | forced_interactive (bool arg) |
virtual bool | gui_running () const |
virtual void | gui_running (bool) |
bool | have_eval_option_code () const |
bool | have_script_file () const |
virtual void | initialize_interpreter () |
void | intern_argv (const string_vector &args) |
bool | interpreter_initialized () |
bool | interpreter_is_initialized () const |
bool | is_octave_program () const |
cmdline_options | options () 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 () const |
char ** | sys_argv () const |
Static Public Member Functions | |
static application * | app () |
static string_vector | argv () |
static bool | forced_interactive () |
static bool | is_gui_running () |
static std::string | program_invocation_name () |
static std::string | program_name () |
Protected Attributes | |
string_vector | m_argv |
bool | m_have_eval_option_code = false |
bool | m_have_script_file = false |
std::unique_ptr< interpreter > | m_interpreter |
bool | m_is_octave_program = false |
cmdline_options | m_options |
std::string | m_program_invocation_name |
std::string | m_program_name |
application::application | ( | const cmdline_options & | opts = cmdline_options () | ) |
|
inlinestatic |
Definition at line 301 of file octave.h.
Referenced by octave::Fcmdline_options().
|
inlinestatic |
Definition at line 313 of file octave.h.
Referenced by octave::Fargv().
|
virtual |
Definition at line 350 of file octave.cc.
References m_interpreter.
Referenced by cli_application::execute().
|
virtual |
Definition at line 372 of file octave.cc.
References m_interpreter.
|
pure virtual |
Implemented in cli_application.
|
virtual |
Definition at line 366 of file octave.cc.
References m_interpreter.
bool application::experimental_terminal_widget | ( | ) | const |
Definition at line 337 of file octave.cc.
References cmdline_options::experimental_terminal_widget(), and m_options.
|
static |
Definition at line 329 of file octave.cc.
References cmdline_options::forced_interactive(), and m_options.
Referenced by octave::Frmdir(), octave::raw_mode(), output_system::sync(), and tree_evaluator::visit_statement().
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Definition at line 263 of file octave.h.
Referenced by interpreter::execute().
|
inline |
Definition at line 265 of file octave.h.
Referenced by interpreter::execute().
|
virtual |
Definition at line 359 of file octave.cc.
References m_interpreter.
void application::intern_argv | ( | const string_vector & | args | ) |
Definition at line 312 of file octave.cc.
References m_argv, string_vector::numel(), and string_vector::resize().
bool application::interpreter_is_initialized | ( | ) | const |
Definition at line 344 of file octave.cc.
References m_interpreter.
|
inlinestatic |
Definition at line 318 of file octave.h.
Referenced by octave::F__event_manager_gui_preference__(), octave::Fdesktop(), event_manager::file_remove(), event_manager::file_renamed(), octave::Fisguirunning(), and event_manager::update_path_dialog().
|
inline |
Definition at line 261 of file octave.h.
Referenced by interpreter::execute(), interpreter::experimental_terminal_widget(), octave::Fcmdline_options(), interpreter::initialize(), interpreter::initialize_history(), and interpreter::initialize_load_path().
|
inlinestatic |
Definition at line 303 of file octave.h.
Referenced by octave::Fprogram_invocation_name().
|
inline |
|
inlinestatic |
Definition at line 308 of file octave.h.
Referenced by octave::Fprogram_name().
|
inline |
void application::set_program_names | ( | const std::string & | pname | ) |
Definition at line 302 of file octave.cc.
References dir_sep_chars(), m_program_invocation_name, and m_program_name.
|
protected |
Definition at line 346 of file octave.h.
Referenced by intern_argv().
|
protected |
|
protected |
Definition at line 362 of file octave.h.
Referenced by create_interpreter(), delete_interpreter(), execute_interpreter(), initialize_interpreter(), and interpreter_is_initialized().
|
protected |
Definition at line 348 of file octave.h.
Referenced by experimental_terminal_widget(), and forced_interactive().
|
protected |
Definition at line 337 of file octave.h.
Referenced by set_program_names().
|
protected |
Definition at line 340 of file octave.h.
Referenced by set_program_names().