webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
WebCore::ScopeGuard Class Reference

#include <ScopeGuard.h>

Public Member Functions

 ScopeGuard ()
 
 ScopeGuard (std::function< void()> function)
 
 ~ScopeGuard ()
 
void enable (std::function< void()> function)
 
void disable ()
 
 ScopeGuard ()
 
 ScopeGuard (std::function< void()> function)
 
 ~ScopeGuard ()
 
void enable (std::function< void()> function)
 
void disable ()
 

Constructor & Destructor Documentation

◆ ScopeGuard() [1/4]

WebCore::ScopeGuard::ScopeGuard ( )
inline

◆ ScopeGuard() [2/4]

WebCore::ScopeGuard::ScopeGuard ( std::function< void()>  function)
inline

◆ ~ScopeGuard() [1/2]

WebCore::ScopeGuard::~ScopeGuard ( )
inline

◆ ScopeGuard() [3/4]

WebCore::ScopeGuard::ScopeGuard ( )
inline

◆ ScopeGuard() [4/4]

WebCore::ScopeGuard::ScopeGuard ( std::function< void()>  function)
inline

◆ ~ScopeGuard() [2/2]

WebCore::ScopeGuard::~ScopeGuard ( )
inline

Member Function Documentation

◆ disable() [1/2]

void WebCore::ScopeGuard::disable ( )
inline

◆ disable() [2/2]

void WebCore::ScopeGuard::disable ( )
inline

◆ enable() [1/2]

void WebCore::ScopeGuard::enable ( std::function< void()>  function)
inline

◆ enable() [2/2]

void WebCore::ScopeGuard::enable ( std::function< void()>  function)
inline

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