IOSS 2.0
Loading...
Searching...
No Matches
Ioss::ScopeGuardImpl0< F > Class Template Reference

#include <Ioss_ScopeGuard.h>

Inheritance diagram for Ioss::ScopeGuardImpl0< F >:
[legend]
Collaboration diagram for Ioss::ScopeGuardImpl0< F >:
[legend]

Public Member Functions

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

Static Public Member Functions

static ScopeGuardImpl0< F > MakeGuard (F fun)
 

Protected Member Functions

 ScopeGuardImpl0 (F fun)
 
- Protected Member Functions inherited from Ioss::ScopeGuardImplBase
 ~ScopeGuardImplBase ()=default
 
 ScopeGuardImplBase (const ScopeGuardImplBase &other)
 

Protected Attributes

fun_
 
- 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

◆ ~ScopeGuardImpl0()

template<typename F >
Ioss::ScopeGuardImpl0< F >::~ScopeGuardImpl0 ( )
inline

◆ ScopeGuardImpl0()

template<typename F >
Ioss::ScopeGuardImpl0< F >::ScopeGuardImpl0 ( F fun)
inlineexplicitprotected

Member Function Documentation

◆ Execute()

template<typename F >
void Ioss::ScopeGuardImpl0< F >::Execute ( )
inline

◆ MakeGuard()

template<typename F >
static ScopeGuardImpl0< F > Ioss::ScopeGuardImpl0< F >::MakeGuard ( F fun)
inlinestatic

Member Data Documentation

◆ fun_

template<typename F >
F Ioss::ScopeGuardImpl0< F >::fun_
protected

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