Public Member Functions | Static Private Member Functions

unwind_protect_safe Class Reference

#include "unwind-prot.h"

Inheritance diagram for unwind_protect_safe:
Inheritance graph
[legend]
Collaboration diagram for unwind_protect_safe:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ~unwind_protect_safe (void)
void add (elem *new_elem)
void add (void(*fcn)(void *), void *ptr=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 &), T val)
template<class T >
void add_method (T *obj, void(T::*method)(void))
void discard (void)
void discard_top (int num)
void discard_top (void)
 operator bool (void) const
template<class T >
void protect_var (T &var, const T &val)
template<class T >
void protect_var (T &var)
void run (void)
void run_top (int num)
void run_top (void)

Static Private Member Functions

static void gripe_exception (void)

Detailed Description

Definition at line 321 of file unwind-prot.h.


Constructor & Destructor Documentation

unwind_protect_safe::~unwind_protect_safe ( void   )  [inline]

Definition at line 328 of file unwind-prot.h.


Member Function Documentation

void unwind_protect::add ( elem new_elem  )  [inline, inherited]

Definition at line 187 of file unwind-prot.h.

References unwind_protect::elem::next.

Referenced by call_mex().

void unwind_protect::add ( void(*)(void *)  fcn,
void *  ptr = 0 
) [inline, inherited]

Definition at line 194 of file unwind-prot.h.

template<class T >
void unwind_protect::add_delete ( T *  obj  )  [inline, inherited]

Definition at line 229 of file unwind-prot.h.

Referenced by get_data_and_bytesize(), and run_command_and_return_output().

void unwind_protect::add_fcn ( void(*)(void)  fcn  )  [inline, inherited]
template<class T >
void unwind_protect::add_fcn ( void(*)(T)  action,
val 
) [inline, inherited]

Definition at line 207 of file unwind-prot.h.

template<class T >
void unwind_protect::add_fcn ( void(*)(const T &)  action,
val 
) [inline, inherited]

Definition at line 214 of file unwind-prot.h.

template<class T >
void unwind_protect::add_method ( T *  obj,
void(T::*)(void)  method 
) [inline, inherited]

Definition at line 221 of file unwind-prot.h.

Referenced by octave_user_function::do_multi_index_op().

void unwind_protect::discard ( void   )  [inline, inherited]

Definition at line 292 of file unwind-prot.h.

Referenced by DEFUN_DLD().

void unwind_protect::discard_top ( void   )  [inline, inherited]
void unwind_protect::discard_top ( int  num  )  [inline, inherited]

Definition at line 280 of file unwind-prot.h.

void unwind_protect_safe::gripe_exception ( void   )  [static, private]

Definition at line 35 of file unwind-prot.cc.

References error().

unwind_protect::operator bool ( void   )  const [inline, inherited]

Definition at line 248 of file unwind-prot.h.

template<class T >
void unwind_protect::protect_var ( T &  var  )  [inline, inherited]
template<class T >
void unwind_protect::protect_var ( T &  var,
const T &  val 
) [inline, inherited]

Definition at line 243 of file unwind-prot.h.

void unwind_protect::run ( void   )  [inline, inherited]
void unwind_protect::run_top ( int  num  )  [inline, inherited]

Definition at line 264 of file unwind-prot.h.

void unwind_protect::run_top ( void   )  [inline, inherited]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines