atlas
|
Convenience class to modify and interpret bitflags. More...
#include <Bitflags.h>
Static Public Member Functions | |
static void | reset (int &flags, int bit=0) |
static void | set (int &flags, int bit) |
static void | unset (int &flags, int bit) |
static void | toggle (int &flags, int bit) |
static bool | check (int flags, int bits) |
static bool | check_all (int flags, int bits) |
static bool | check_any (int flags, int bits) |
static std::string | bitstr (int flags) |
static detail::BitflagsView< int > | view (int &flags) |
Create convenience accessor to modify flags. More... | |
static detail::BitflagsView< const int > | view (const int &flags) |
Create convenience accessor to modify flags. More... | |
Convenience class to modify and interpret bitflags.
|
inlinestatic |
Create convenience accessor to modify flags.
auto
for return type! (will be more clear with C++14)
|
inlinestatic |
Create convenience accessor to modify flags.
auto
for return type! (will be more clear with C++14)