Navigation

Operators and Keywords

Function List:

C++ API

unwind_protect Class Reference

#include <unwind-prot.h>

List of all members.


Classes

class  delete_ptr_elem
class  elem
class  fcn_arg_elem
class  fcn_elem
class  method_elem
class  restore_var_elem

Public Types

typedef size_t frame_id_t

Static Public Member Functions

static void add (elem *el)
static bool empty (void)
static void run (void)
static void discard (void)
static frame_id_t begin_frame ()
static void run_frame (frame_id_t frame_id)
static void discard_frame (frame_id_t frame_id)
static void begin_frame (const std::string &tag) GCC_ATTR_DEPRECATED
static void run_frame (const std::string &tag) GCC_ATTR_DEPRECATED
static void discard_frame (const std::string &tag) GCC_ATTR_DEPRECATED
static void run_all (void)
static void discard_all (void)
static void add (void(*fcn)(void *), void *ptr=0)
static void add_fcn (void(*fcn)(void))
template<class T >
static void add_fcn (void(*action)(T), T val)
template<class T >
static void add_method (T *obj, void(T::*method)(void))
template<class T >
static void add_delete (T *obj)
template<class T >
static void protect_var (T &var)
template<class T >
static void protect_var (T &var, const T &val)

Member Typedef Documentation


Member Function Documentation

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

static void unwind_protect::add ( elem el  )  [inline, static]

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

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

static void unwind_protect::add_fcn ( void(*)(void)  fcn  )  [inline, static]

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

void unwind_protect::begin_frame ( const std::string tag  )  [static]

static frame_id_t unwind_protect::begin_frame (  )  [inline, static]

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

static void unwind_protect::discard_all ( void   )  [inline, static]

void unwind_protect::discard_frame ( const std::string tag  )  [static]

static void unwind_protect::discard_frame ( frame_id_t  frame_id  )  [inline, static]

static bool unwind_protect::empty ( void   )  [inline, static]

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

template<class T >
static void unwind_protect::protect_var ( T var  )  [inline, static]

static void unwind_protect::run ( void   )  [inline, static]

static void unwind_protect::run_all ( void   )  [inline, static]

void unwind_protect::run_frame ( const std::string tag  )  [static]

static void unwind_protect::run_frame ( frame_id_t  frame_id  )  [inline, static]


The documentation for this class was generated from the following files: