#include <seadBitFlag.h>
Public Member Functions | |
| BitFlag () | |
| BitFlag (T t) | |
| operator T () const | |
| void | makeAllZero () |
| void | makeAllOne () |
| void | setDirect (T bits) |
| T | getDirect () const |
| T * | getPtr () |
| const T * | getPtr () const |
| size_t | getByteSize () const |
| void | set (T mask) |
| void | reset (T mask) |
| void | toggle (T mask) |
| void | change (T mask, bool b) |
| bool | isZero () const |
| bool | isOn (T mask) const |
| bool | isOnAll (T mask) const |
| bool | isOff (T mask) const |
| T | getMask (T mask) const |
| void | setBit (s32 bit) |
| void | resetBit (s32 bit) |
| void | changeBit (s32 bit, bool b) |
| void | toggleBit (s32 bit) |
| bool | isOnBit (s32 bit) const |
| bool | isOffBit (s32 bit) const |
| s32 | countOnBit () const |
| s32 | countContinuousOffBitFromRight () const |
| s32 | countRightOnBit (s32 bit) const |
| s32 | findOnBitFromRight (s32 num) const |
Static Public Member Functions | |
| static T | makeMask (s32 bit) |
Protected Attributes | |
| T | mBits |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |