libUTL++
|
Flag guard. More...
#include <FlagsMI.h>
Public Member Functions | |
FlagGuard (FlagsMI *object, uint_t flagNum, bool val) | |
Constructor. More... | |
~FlagGuard () | |
Restore the previous value of the flag. More... | |
Flag guard.
Safely toggle a flag stored in a FlagMI-enabled object.
Constructor.
object | object whose flag is to be toggled |
flagNum | which flag to toggle |
val | desired (temporary) value of flag |
Definition at line 180 of file FlagsMI.h.
References utl::FlagsMI::getFlag().
|
inline |