IOSS 2.0
Loading...
Searching...
No Matches
Ioss::ObjScopeGuardImpl0< Obj, MemFun > Class Template Reference

#include <Ioss_ScopeGuard.h>

Inheritance diagram for Ioss::ObjScopeGuardImpl0< Obj, MemFun >:
[legend]
Collaboration diagram for Ioss::ObjScopeGuardImpl0< Obj, MemFun >:
[legend]

Public Member Functions

 ~ObjScopeGuardImpl0 ()
 
void Execute ()
 
- Public Member Functions inherited from Ioss::ScopeGuardImplBase
ScopeGuardImplBaseoperator= (const ScopeGuardImplBase &)=delete
 
 ScopeGuardImplBase ()=default
 
void Dismiss () const
 

Static Public Member Functions

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

Protected Member Functions

 ObjScopeGuardImpl0 (Obj &obj, MemFun memFun)
 
- Protected Member Functions inherited from Ioss::ScopeGuardImplBase
 ~ScopeGuardImplBase ()=default
 
 ScopeGuardImplBase (const ScopeGuardImplBase &other)
 

Protected Attributes

Obj & obj_
 
MemFun memFun_
 
- Protected Attributes inherited from Ioss::ScopeGuardImplBase
bool dismissed_ {false}
 

Additional Inherited Members

- Static Protected Member Functions inherited from Ioss::ScopeGuardImplBase
template<typename J >
static void SafeExecute (J &j)
 

Constructor & Destructor Documentation

◆ ~ObjScopeGuardImpl0()

template<class Obj , typename MemFun >
Ioss::ObjScopeGuardImpl0< Obj, MemFun >::~ObjScopeGuardImpl0 ( )
inline

◆ ObjScopeGuardImpl0()

template<class Obj , typename MemFun >
Ioss::ObjScopeGuardImpl0< Obj, MemFun >::ObjScopeGuardImpl0 ( Obj & obj,
MemFun memFun )
inlineprotected

Member Function Documentation

◆ Execute()

template<class Obj , typename MemFun >
void Ioss::ObjScopeGuardImpl0< Obj, MemFun >::Execute ( )
inline

◆ MakeObjGuard()

template<class Obj , typename MemFun >
static ObjScopeGuardImpl0< Obj, MemFun > Ioss::ObjScopeGuardImpl0< Obj, MemFun >::MakeObjGuard ( Obj & obj,
MemFun memFun )
inlinestatic

Member Data Documentation

◆ memFun_

template<class Obj , typename MemFun >
MemFun Ioss::ObjScopeGuardImpl0< Obj, MemFun >::memFun_
protected

◆ obj_

template<class Obj , typename MemFun >
Obj& Ioss::ObjScopeGuardImpl0< Obj, MemFun >::obj_
protected

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