Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
OnLeavingScope Class Reference

The OnLeavingScope class - class which purpose is call assigned function, when class instance leaves its scope (when destructor is called) More...

#include <ApplicationLanguageSwitcher.h>

Public Types

using OnLeavingScopeFunction = std::function< bool()>
 

Public Member Functions

 OnLeavingScope (const OnLeavingScope &)=delete
 
OnLeavingScopeoperator= (const OnLeavingScope &)=delete
 
 OnLeavingScope (const OnLeavingScopeFunction &f)
 
 ~OnLeavingScope ()
 

Detailed Description

The OnLeavingScope class - class which purpose is call assigned function, when class instance leaves its scope (when destructor is called)

Member Typedef Documentation

using OnLeavingScope::OnLeavingScopeFunction = std::function<bool()>

Constructor & Destructor Documentation

OnLeavingScope::OnLeavingScope ( const OnLeavingScope )
delete
OnLeavingScope::OnLeavingScope ( const OnLeavingScopeFunction f)
inline
OnLeavingScope::~OnLeavingScope ( )
inline

Member Function Documentation

OnLeavingScope& OnLeavingScope::operator= ( const OnLeavingScope )
delete

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