NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
CBoolGuard Class Reference

Search Toolkit Book for CBoolGuard

#include <gui/widgets/wx/wx_utils.hpp>

Public Member Functions

 CBoolGuard (bool &flag)
 
 ~CBoolGuard ()
 
 operator bool ()
 

Private Attributes

boolm_Flag
 

Detailed Description

Definition at line 150 of file wx_utils.hpp.

Constructor & Destructor Documentation

◆ CBoolGuard()

CBoolGuard::CBoolGuard ( bool flag)
inline

Definition at line 152 of file wx_utils.hpp.

References m_Flag.

◆ ~CBoolGuard()

CBoolGuard::~CBoolGuard ( )
inline

Definition at line 153 of file wx_utils.hpp.

References m_Flag.

Member Function Documentation

◆ operator bool()

CBoolGuard::operator bool ( void  )
inline

Definition at line 155 of file wx_utils.hpp.

References m_Flag.

Member Data Documentation

◆ m_Flag

bool& CBoolGuard::m_Flag
private

Definition at line 158 of file wx_utils.hpp.

Referenced by CBoolGuard(), operator bool(), and ~CBoolGuard().


The documentation for this class was generated from the following file:
Modified on Fri Sep 20 14:58:29 2024 by modify_doxy.py rev. 669887