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 | ) |
References Base::FlagToggler< Flag >::flag.
◆ FlagToggler() [2/2]
template<typename Flag = bool>
Base::FlagToggler< Flag >::FlagToggler | ( | Flag & | _flag, |
Flag | check | ||
) |
References Base::FlagToggler< Flag >::flag, and Base::FlagToggler< Flag >::toggled.
◆ ~FlagToggler()
template<typename Flag = bool>
Base::FlagToggler< Flag >::~FlagToggler | ( | ) |
References Base::FlagToggler< Flag >::flag, and Base::FlagToggler< Flag >::toggled.
Member Data Documentation
◆ flag
template<typename Flag = bool>
Flag& Base::FlagToggler< Flag >::flag |
Referenced by Base::FlagToggler< Flag >::FlagToggler(), and Base::FlagToggler< Flag >::~FlagToggler().
◆ toggled
template<typename Flag = bool>
bool Base::FlagToggler< Flag >::toggled |
Referenced by Base::FlagToggler< Flag >::FlagToggler(), and Base::FlagToggler< Flag >::~FlagToggler().
The documentation for this struct was generated from the following file:
- src/Base/Tools.h