![]() |
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 19 of file bitfield.h.
|
inline |
Definition at line 22 of file bitfield.h.
|
inline |
Definition at line 23 of file bitfield.h.
Definition at line 54 of file bitfield.h.
Definition at line 63 of file bitfield.h.
|
inline |
Definition at line 79 of file bitfield.h.
|
inline |
Definition at line 66 of file bitfield.h.
Definition at line 67 of file bitfield.h.
|
inline |
Definition at line 69 of file bitfield.h.
|
inline |
Definition at line 74 of file bitfield.h.
|
inlinestatic |
Definition at line 84 of file bitfield.h.
Definition at line 64 of file bitfield.h.
Definition at line 65 of file bitfield.h.
Definition at line 43 of file bitfield.h.
Definition at line 44 of file bitfield.h.
|
inline |
Definition at line 33 of file bitfield.h.
Definition at line 34 of file bitfield.h.
|
inline |
Definition at line 35 of file bitfield.h.
|
default |
Definition at line 41 of file bitfield.h.
Definition at line 42 of file bitfield.h.
|
inline |
Definition at line 26 of file bitfield.h.
Definition at line 27 of file bitfield.h.
|
inline |
Definition at line 28 of file bitfield.h.
Definition at line 40 of file bitfield.h.
Definition at line 55 of file bitfield.h.
Definition at line 56 of file bitfield.h.
|
inline |
Definition at line 58 of file bitfield.h.
|
inline |
Definition at line 45 of file bitfield.h.