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

#include <Ioss_ScopeGuard.h>

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

Public Member Functions

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

Static Public Member Functions

static ObjScopeGuardImpl1< Obj, MemFun, P1 > MakeObjGuard (Obj &obj, MemFun memFun, P1 p1)
 

Protected Member Functions

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

Protected Attributes

Obj & obj_
 
MemFun memFun_
 
const P1 p1_
 
- 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

◆ ~ObjScopeGuardImpl1()

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

◆ ObjScopeGuardImpl1()

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

Member Function Documentation

◆ Execute()

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

◆ MakeObjGuard()

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

Member Data Documentation

◆ memFun_

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

◆ obj_

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

◆ p1_

template<class Obj , typename MemFun , typename P1 >
const P1 Ioss::ObjScopeGuardImpl1< Obj, MemFun, P1 >::p1_
protected

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