GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "unwind-prot.h"
Public Member Functions | |
unwind_protect_safe (void) | |
~unwind_protect_safe (void) | |
virtual void | add (elem *new_elem) |
void | add (void(*fcn)(void *), void *ptr=0) GCC_ATTR_DEPRECATED |
virtual void | add (elem *new_elem)=0 |
template<class T > | |
void | add_delete (T *obj) |
void | add_fcn (void(*fcn)(void)) |
template<class T > | |
void | add_fcn (void(*action)(T), T val) |
template<class T > | |
void | add_fcn (void(*action)(const T &), const T &val) |
template<class T > | |
void | add_method (T *obj, void(T::*method)(void)) |
template<class T , class A > | |
void | add_method (T *obj, void(T::*method)(A), A arg) |
template<class T , class A > | |
void | add_method (T *obj, void(T::*method)(const A &), const A &arg) |
void | discard (size_t num) |
void | discard (void) |
void | discard_first (void) |
void | discard_top (void) GCC_ATTR_DEPRECATED |
void | discard_top (int num) GCC_ATTR_DEPRECATED |
bool | empty (void) const |
operator bool (void) const | |
template<class T > | |
void | protect_var (T &var) |
template<class T > | |
void | protect_var (T &var, const T &val) |
void | run (size_t num) |
void | run (void) |
void | run_first (void) |
void | run_top (void) GCC_ATTR_DEPRECATED |
void | run_top (int num) GCC_ATTR_DEPRECATED |
size_t | size (void) const |
Protected Attributes | |
std::stack< elem * > | lifo |
Private Member Functions | |
unwind_protect_safe (const unwind_protect_safe &) | |
unwind_protect_safe & | operator= (const unwind_protect_safe &) |
Static Private Member Functions | |
static void | gripe_exception (void) |
Definition at line 109 of file unwind-prot.h.
|
inline |
Definition at line 119 of file unwind-prot.h.
|
inline |
Definition at line 121 of file unwind-prot.h.
|
private |
Definition at line 48 of file unwind-prot.h.
Definition at line 53 of file unwind-prot.h.
|
inlineinherited |
Definition at line 281 of file action-container.h.
Referenced by get_data_and_bytesize(), and run_command_and_return_output().
Definition at line 238 of file action-container.h.
Referenced by call_mex(), DEFUN_DLD(), do_edit_history(), gh_manager::do_execute_callback(), do_history(), do_keyboard(), octave_builtin::do_multi_index_op(), octave_mex_function::do_multi_index_op(), octave_user_script::do_multi_index_op(), octave_user_function::do_multi_index_op(), do_rand(), do_run_history(), tree_evaluator::do_unwind_protect_cleanup_code(), do_who(), F__ftp_mget__(), Fkeyboard(), curl_transfer::ftp_file_or_dir_action(), Furlwrite(), Fwaitfor(), get_debug_input(), octave_fcn_handle::load_ascii(), octave_fcn_handle::load_binary(), octave_fcn_handle::load_hdf5(), mexGetVariable(), mexPutVariable(), base_url_transfer::mget_directory(), base_url_transfer::mput_directory(), curl_transfer::pwd(), read_mat5_binary_element(), curl_transfer::rename(), and run_command_and_return_output().
Definition at line 245 of file action-container.h.
|
inlineinherited |
Definition at line 252 of file action-container.h.
|
inlineinherited |
Definition at line 259 of file action-container.h.
Referenced by octave_user_function::do_multi_index_op(), octave_link::do_post_event(), and jit_convert::resolve().
|
inlineinherited |
Definition at line 266 of file action-container.h.
|
inlineinherited |
Definition at line 273 of file action-container.h.
Definition at line 317 of file action-container.h.
References size().
Referenced by octave_link::do_discard_events(), tree_evaluator::do_unwind_protect_cleanup_code(), F__ftp_mget__(), Furlwrite(), and base_url_transfer::mget_directory().
Definition at line 326 of file action-container.h.
References action_container::discard(), and size().
Referenced by action_container::discard().
Implements action_container.
Definition at line 77 of file unwind-prot.h.
Referenced by octave_oncleanup::~octave_oncleanup().
Definition at line 75 of file unwind-prot.h.
Definition at line 87 of file unwind-prot.h.
Definition at line 330 of file action-container.h.
References size().
Referenced by event_queue::discard_first(), gh_manager::do_enable_event_processing(), gh_manager::do_process_events(), event_queue::run_first(), and event_queue_safe::~event_queue_safe().
Definition at line 32 of file unwind-prot.cc.
Reimplemented from action_container.
Definition at line 58 of file unwind-prot.h.
|
private |
|
inlineinherited |
Definition at line 288 of file action-container.h.
Referenced by call_mex(), tree_argument_list::convert_to_const_vector(), DEFUN_DLD(), do_edit_history(), do_keyboard(), octave_dynamic_loader::do_load_mex(), octave_dynamic_loader::do_load_oct(), octave_builtin::do_multi_index_op(), octave_user_script::do_multi_index_op(), octave_user_function::do_multi_index_op(), do_run_history(), load_path::do_set(), tree_evaluator::do_unwind_protect_cleanup_code(), error_2(), callback_property::execute(), execute_command_line_file(), execute_eval_option_code(), Farrayfun(), Fcellfun(), Fdaspk(), Fdasrt(), Fdassl(), Fdrawnow(), Fisindex(), Flasterr(), Flasterror(), Flsode(), flush_octave_stdout(), Fquad(), Frats(), Fsparse(), generate_struct_completions(), get_debug_input(), interpreter_try(), looks_like_struct(), maybe_missing_function_hook(), octave_struct::print_raw(), octave_scalar_struct::print_raw(), base_graphics_object::remove_all_listeners(), octave_class::subsasgn_common(), axes::properties::update_aspectratios(), axes::properties::update_axes_layout(), axes::update_axis_limits(), hggroup::update_axis_limits(), axes::properties::update_title_position(), axes::properties::update_xlabel_position(), axes::properties::update_ylabel_position(), axes::properties::update_zlabel_position(), jit_convert::visit(), tree_evaluator::visit_complex_for_command(), tree_evaluator::visit_do_until_command(), tree_evaluator::visit_simple_for_command(), jit_convert::visit_simple_for_command(), tree_evaluator::visit_try_catch_command(), tree_evaluator::visit_while_command(), jit_convert::visit_while_command(), warning_1(), and octave_oncleanup::~octave_oncleanup().
|
inlineinherited |
Definition at line 295 of file action-container.h.
Definition at line 304 of file action-container.h.
References size().
Referenced by call_mex(), octave_link::do_process_events(), tree_evaluator::do_unwind_protect_cleanup_code(), generate_struct_completions(), octave_fcn_handle::load_hdf5(), looks_like_struct(), and read_mat5_binary_element().
Definition at line 313 of file action-container.h.
References action_container::run(), and size().
Referenced by action_container::run(), and event_queue::~event_queue().
Implements action_container.
Definition at line 62 of file unwind-prot.h.
Referenced by load_path::do_set(), and event_queue_safe::~event_queue_safe().
Definition at line 60 of file unwind-prot.h.
Definition at line 73 of file unwind-prot.h.
Implements action_container.
Definition at line 89 of file unwind-prot.h.
|
protectedinherited |
Definition at line 93 of file unwind-prot.h.