Base::FlagToggler< Flag > Struct Template Reference

#include <Tools.h>

Public Member Functions

 FlagToggler (Flag &_flag)
 
 FlagToggler (Flag &_flag, Flag check)
 
 ~FlagToggler ()
 

Public Attributes

Flag & flag
 
bool toggled
 

Constructor & Destructor Documentation

◆ FlagToggler() [1/2]

template<typename Flag = bool>
Base::FlagToggler< Flag >::FlagToggler ( Flag &  _flag)

◆ FlagToggler() [2/2]

template<typename Flag = bool>
Base::FlagToggler< Flag >::FlagToggler ( Flag &  _flag,
Flag  check 
)

◆ ~FlagToggler()

template<typename Flag = bool>
Base::FlagToggler< Flag >::~FlagToggler ( )

Member Data Documentation

◆ flag

template<typename Flag = bool>
Flag& Base::FlagToggler< Flag >::flag

◆ toggled

template<typename Flag = bool>
bool Base::FlagToggler< Flag >::toggled

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