IOSS  2.0
ScopeGuardImpl0< F > Class Template Reference

#include <Ioss_ScopeGuard.h>

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

Public Member Functions

 ~ScopeGuardImpl0 ()
 
void Execute ()
 
- Public Member Functions inherited from ScopeGuardImplBase
 ScopeGuardImplBase ()
 
void Dismiss () const
 

Static Public Member Functions

static ScopeGuardImpl0< F > MakeGuard (F fun)
 

Protected Member Functions

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

Protected Attributes

fun_
 
- Protected Attributes inherited from ScopeGuardImplBase
bool dismissed_
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ~ScopeGuardImpl0()

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

◆ ScopeGuardImpl0()

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

Member Function Documentation

◆ Execute()

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

◆ MakeGuard()

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

Member Data Documentation

◆ fun_

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

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