blocxx
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun > Class Template Reference

#include <ScopeGuard.hpp>

Inheritance diagram for BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >:
BLOCXX_NAMESPACE::ScopeGuardImplBase

List of all members.

Public Member Functions

 ~ObjScopeGuardImpl0 () throw ()
void execute ()

Static Public Member Functions

static ObjScopeGuardImpl0< Obj,
MemFun > 
makeObjGuard (Obj &obj, MemFun memFun)

Protected Member Functions

 ObjScopeGuardImpl0 (Obj &obj, MemFun memFun)

Protected Attributes

Obj & m_obj
MemFun m_memFun

Detailed Description

template<class Obj, typename MemFun>
class BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >

Definition at line 246 of file ScopeGuard.hpp.


Constructor & Destructor Documentation

template<class Obj, typename MemFun>
BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >::~ObjScopeGuardImpl0 ( ) throw () [inline]
template<class Obj, typename MemFun>
BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >::ObjScopeGuardImpl0 ( Obj &  obj,
MemFun  memFun 
) [inline, protected]

Definition at line 265 of file ScopeGuard.hpp.


Member Function Documentation

template<class Obj, typename MemFun>
void BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >::execute ( ) [inline]
template<class Obj, typename MemFun>
static ObjScopeGuardImpl0<Obj, MemFun> BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >::makeObjGuard ( Obj &  obj,
MemFun  memFun 
) [inline, static]

Definition at line 249 of file ScopeGuard.hpp.

Referenced by BLOCXX_NAMESPACE::makeObjGuard().


Member Data Documentation

template<class Obj, typename MemFun>
MemFun BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >::m_memFun [protected]
template<class Obj, typename MemFun>
Obj& BLOCXX_NAMESPACE::ObjScopeGuardImpl0< Obj, MemFun >::m_obj [protected]

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