GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <string>
#include <iostream>
#include "cmd-edit.h"
#include "file-ops.h"
#include "file-stat.h"
#include "fpucw-wrappers.h"
#include "lo-blas-proto.h"
#include "lo-error.h"
#include "oct-env.h"
#include "str-vec.h"
#include "signal-wrappers.h"
#include "unistd-wrappers.h"
#include "builtins.h"
#include "defaults.h"
#include "Cell.h"
#include "defun.h"
#include "display.h"
#include "error.h"
#include "file-io.h"
#include "graphics.h"
#include "interpreter.h"
#include "load-path.h"
#include "load-save.h"
#include "octave-link.h"
#include "octave.h"
#include "oct-hist.h"
#include "oct-map.h"
#include "oct-mutex.h"
#include "ops.h"
#include "ovl.h"
#include "ov.h"
#include "ov-classdef.h"
#include "parse.h"
#include "pt-eval.h"
#include "pt-jump.h"
#include "pt-stmt.h"
#include "sighandlers.h"
#include "sysdep.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include <version.h>
Go to the source code of this file.
Functions | |
OCTAVE_EXPORT octave_value_list | F__version_info__ (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fquit (const octave_value_list &args, int) pass that value to the operating system as Octave's exit status.The default value is zero.When exiting |
static void | initialize_error_handlers () |
static void | initialize_version_info (void) |
static OCTAVE_NORETURN void | lo_error_handler (const char *fmt,...) |
static OCTAVE_NORETURN void | lo_error_with_id_handler (const char *id, const char *fmt,...) |
static void | maximum_braindamage (void) |
void | recover_from_exception (void) |
Variables | |
OCTAVE_EXPORT octave_value_list Octave will attempt to run the m file | file {finish.m} if it exists. User commands to save the workspace or clean up temporary files may be placed in that file. Alternatively |
static std::list< std::string > | octave_atexit_functions |
void(* | octave_exit )(int) = ::exit |
bool | octave_initialized = false |
bool | octave_interpreter_ready = false |
bool | quit_allowed = true |
OCTAVE_EXPORT octave_value_list F__version_info__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 88 of file interpreter.cc.
References octave_map::assign(), nargin, octave_map::nfields(), octave_map::numel(), print_usage(), octave_map::resize(), and retval.
Referenced by initialize_version_info(), and install_interpreter_fcns().
OCTAVE_EXPORT octave_value_list Fquit | ( | const octave_value_list & | args, |
int | |||
) |
Referenced by install_interpreter_fcns().
|
static |
Definition at line 164 of file interpreter.cc.
References lo_error_handler(), lo_error_with_id_handler(), set_liboctave_error_handler(), set_liboctave_error_with_id_handler(), set_liboctave_warning_handler(), set_liboctave_warning_with_id_handler(), warning(), and warning_with_id().
|
static |
Definition at line 129 of file interpreter.cc.
References F__version_info__(), OCTAVE_RELEASE, OCTAVE_RELEASE_DATE, and OCTAVE_VERSION.
|
static |
Definition at line 142 of file interpreter.cc.
References octave_throw_execution_exception(), and verror_with_cfn().
Referenced by initialize_error_handlers().
|
static |
Definition at line 153 of file interpreter.cc.
References octave_throw_execution_exception(), and verror_with_id_cfn().
Referenced by initialize_error_handlers().
|
static |
Definition at line 175 of file interpreter.cc.
References disable_warning(), Fbeep_on_error(), Fconfirm_recursive_rmdir(), Fcrash_dumps_octave_core(), Fdisable_diagonal_matrix(), Fdisable_permutation_matrix(), Fdisable_range(), Ffixed_point_format(), Fhistory_timestamp_format_string(), Fpage_screen_output(), Fprint_empty_dimensions(), FPS1(), FPS2(), FPS4(), Fsave_default_options(), and Fstruct_levels_to_print().
void recover_from_exception | ( | void | ) |
Definition at line 200 of file interpreter.cc.
References octave::can_interrupt, octave::catch_interrupts(), octave_exception_state, octave_interrupt_immediately, octave_interrupt_state, octave_no_exception, octave_restore_signal_mask(), and octave_signal_caught.
Referenced by convert_to_valid_int(), gh_manager::do_execute_callback(), octave::tree_evaluator::do_unwind_protect_cleanup_code(), octave::base_parser::finish_array_list(), octave::base_parser::finish_colon_expression(), generate_struct_completions(), get_debug_input(), get_output_list(), load_path::dir_info::initialize(), interactive_input(), mexCallMATLAB(), mexEvalString(), mexEvalStringWithTrap(), octave_class::reconstruct_exemplar(), base_graphics_object::remove_all_listeners(), save_mat_ascii_data(), load_path::dir_info::update(), octave::tree_evaluator::visit_try_catch_command(), octave::tree_evaluator::visit_unwind_protect_command(), and octave_oncleanup::~octave_oncleanup().
OCTAVE_EXPORT octave_value_list Octave will attempt to run the m file file {finish.m} if it exists. User commands to save the workspace or clean up temporary files may be placed in that file. Alternatively |
Definition at line 231 of file interpreter.cc.
|
static |
Definition at line 213 of file interpreter.cc.
void(* octave_exit)(int) = ::exit |
Definition at line 72 of file interpreter.cc.
Definition at line 82 of file interpreter.cc.
Referenced by octave::user_abort().
Definition at line 79 of file interpreter.cc.
Referenced by execute_pkg_add_or_del().
bool quit_allowed = true |
Definition at line 75 of file interpreter.cc.
Referenced by octave_oncleanup::~octave_oncleanup().