![]() |
Project
|
#include <bitfield.h>
Public Member Functions | |
bitfield (T v) | |
bitfield (S v=0) | |
bitfield (const bitfield &)=default | |
bitfield & | operator= (const bitfield &)=default |
bitfield | operator| (const bitfield v) const |
bitfield | operator| (const T v) const |
bitfield & | operator|= (const bitfield v) |
bitfield | operator& (const bitfield v) const |
bitfield | operator& (const T v) const |
bitfield & | operator&= (const bitfield v) |
bitfield | operator~ () const |
bool | operator== (const bitfield v) |
bool | operator== (const T v) |
bool | operator!= (const bitfield v) |
bool | operator!= (const T v) |
bitfield & | setBits (const bitfield v, bool w) |
void | clear () |
void | set (S v) |
void | set (T v) |
template<typename... Args> | |
void | set (T v, Args... args) |
S | get () const |
operator bool () const | |
operator S () const | |
bool | isSet (const bitfield &v) const |
bool | isSet (const S v) const |
template<typename... Args> | |
bool | isSetAll (Args... args) |
template<typename... Args> | |
bool | isSetAny (Args... args) |
template<typename... Args> | |
bool | isOnlySet (Args... args) |
Static Public Member Functions | |
template<typename... Args> | |
static bitfield | lor (const Args &... args) |
Definition at line 23 of file bitfield.h.
|
inline |
Definition at line 26 of file bitfield.h.
|
inline |
Definition at line 27 of file bitfield.h.
Definition at line 58 of file bitfield.h.
Definition at line 67 of file bitfield.h.
|
inline |
Definition at line 83 of file bitfield.h.
|
inline |
Definition at line 70 of file bitfield.h.
Definition at line 71 of file bitfield.h.
|
inline |
Definition at line 73 of file bitfield.h.
|
inline |
Definition at line 78 of file bitfield.h.
|
inlinestatic |
Definition at line 88 of file bitfield.h.
Definition at line 68 of file bitfield.h.
Definition at line 69 of file bitfield.h.
Definition at line 47 of file bitfield.h.
Definition at line 48 of file bitfield.h.
|
inline |
Definition at line 37 of file bitfield.h.
Definition at line 38 of file bitfield.h.
|
inline |
Definition at line 39 of file bitfield.h.
|
default |
Definition at line 45 of file bitfield.h.
Definition at line 46 of file bitfield.h.
|
inline |
Definition at line 30 of file bitfield.h.
Definition at line 31 of file bitfield.h.
|
inline |
Definition at line 32 of file bitfield.h.
Definition at line 44 of file bitfield.h.
Definition at line 59 of file bitfield.h.
Definition at line 60 of file bitfield.h.
|
inline |
Definition at line 62 of file bitfield.h.
|
inline |
Definition at line 49 of file bitfield.h.