|
Blender V5.0
|
#include <BLI_bit_ref.hh>
Public Member Functions | |
| BitRef ()=default | |
| BitRef (const BitInt *data, const int64_t bit_index) | |
| bool | test () const |
| operator bool () const | |
Friends | |
| class | MutableBitRef |
This is a read-only pointer to a specific bit. The value of the bit can be retrieved, but not changed.
Definition at line 84 of file BLI_bit_ref.hh.
|
default |
Reference a specific bit in an array. Note that data does not have to point to the exact integer the bit is in.
Definition at line 100 of file BLI_bit_ref.hh.
|
inline |
Definition at line 116 of file BLI_bit_ref.hh.
|
inline |
Return true when the bit is currently 1 and false otherwise.
Definition at line 109 of file BLI_bit_ref.hh.
|
friend |
Definition at line 91 of file BLI_bit_ref.hh.