IOSS 2.0
Loading...
Searching...
No Matches
Ioss::ScopeGuardImpl1< F, P1 > Class Template Reference

#include <Ioss_ScopeGuard.h>

Inheritance diagram for Ioss::ScopeGuardImpl1< F, P1 >:
[legend]
Collaboration diagram for Ioss::ScopeGuardImpl1< F, P1 >:
[legend]

Public Member Functions

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

Static Public Member Functions

static ScopeGuardImpl1< F, P1 > MakeGuard (F fun, P1 p1)
 

Protected Member Functions

 ScopeGuardImpl1 (F fun, P1 p1)
 
- Protected Member Functions inherited from Ioss::ScopeGuardImplBase
 ~ScopeGuardImplBase ()=default
 
 ScopeGuardImplBase (const ScopeGuardImplBase &other)
 

Protected Attributes

fun_
 
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

◆ ~ScopeGuardImpl1()

template<typename F , typename P1 >
Ioss::ScopeGuardImpl1< F, P1 >::~ScopeGuardImpl1 ( )
inline

◆ ScopeGuardImpl1()

template<typename F , typename P1 >
Ioss::ScopeGuardImpl1< F, P1 >::ScopeGuardImpl1 ( F fun,
P1 p1 )
inlineprotected

Member Function Documentation

◆ Execute()

template<typename F , typename P1 >
void Ioss::ScopeGuardImpl1< F, P1 >::Execute ( )
inline

◆ MakeGuard()

template<typename F , typename P1 >
static ScopeGuardImpl1< F, P1 > Ioss::ScopeGuardImpl1< F, P1 >::MakeGuard ( F fun,
P1 p1 )
inlinestatic

Member Data Documentation

◆ fun_

template<typename F , typename P1 >
F Ioss::ScopeGuardImpl1< F, P1 >::fun_
protected

◆ p1_

template<typename F , typename P1 >
const P1 Ioss::ScopeGuardImpl1< F, P1 >::p1_
protected

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