atlas::util::Bitflags class

Convenience class to modify and interpret bitflags.

Derived classes

class Topology

Public static 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 auto check(int flags, int bits) -> bool
static auto check_all(int flags, int bits) -> bool
static auto check_any(int flags, int bits) -> bool
static auto bitstr(int flags) -> std::string
static auto view(int& flags) -> auto
Create convenience accessor to modify flags.
static auto view(const int& flags) -> auto
Create convenience accessor to modify flags.

Function documentation

static auto atlas::util::Bitflags::view(int& flags)

Create convenience accessor to modify flags.

static auto atlas::util::Bitflags::view(const int& flags)

Create convenience accessor to modify flags.