|
Blender V5.0
|
#include <BLI_bit_span.hh>
Inherited by blender::bits::MutableBoundedBitSpan.
Public Member Functions | |
| MutableBitSpan ()=default | |
| MutableBitSpan (BitInt *data, const int64_t size) | |
| MutableBitSpan (BitInt *data, const IndexRange bit_range) | |
| int64_t | size () const |
| bool | is_empty () const |
| IndexRange | index_range () const |
| MutableBitRef | operator[] (const int64_t index) const |
| MutableBitSpan | slice (const IndexRange range) const |
| MutableBitSpan | take_front (const int64_t n) const |
| MutableBitSpan | take_back (const int64_t n) const |
| BitInt * | data () const |
| const IndexRange & | bit_range () const |
| MutableBitIterator | begin () const |
| MutableBitIterator | end () const |
| operator BitSpan () const | |
| void | set_all () |
| void | set_all (const bool value) |
| void | reset_all () |
| void | copy_from (const BitSpan other) |
| void | copy_from (const BoundedBitSpan other) |
| void | fill (const bool value) |
Protected Attributes | |
| BitInt * | data_ = nullptr |
| IndexRange | bit_range_ = {0, 0} |
Same as BitSpan, but also allows modifying the referenced bits.
Definition at line 231 of file BLI_bit_span.hh.
|
default |
|
inline |
Definition at line 239 of file BLI_bit_span.hh.
|
inline |
Definition at line 241 of file BLI_bit_span.hh.
|
inline |
Definition at line 290 of file BLI_bit_span.hh.
|
inline |
Definition at line 285 of file BLI_bit_span.hh.
| void blender::bits::MutableBitSpan::copy_from | ( | const BitSpan | other | ) |
Definition at line 66 of file bit_span.cc.
| void blender::bits::MutableBitSpan::copy_from | ( | const BoundedBitSpan | other | ) |
Definition at line 72 of file bit_span.cc.
|
inline |
Definition at line 280 of file BLI_bit_span.hh.
|
inline |
Definition at line 295 of file BLI_bit_span.hh.
|
inline |
Same as set_all to mirror MutableSpan.
Definition at line 326 of file BLI_bit_span.hh.
|
inline |
Definition at line 253 of file BLI_bit_span.hh.
|
inline |
Definition at line 248 of file BLI_bit_span.hh.
|
inline |
Definition at line 300 of file BLI_bit_span.hh.
|
inline |
Definition at line 258 of file BLI_bit_span.hh.
Sets all referenced bits to 0.
Definition at line 41 of file bit_span.cc.
Sets all referenced bits to 1.
Definition at line 16 of file bit_span.cc.
|
inline |
Sets all referenced bits to either 0 or 1.
Definition at line 315 of file BLI_bit_span.hh.
|
inline |
Definition at line 243 of file BLI_bit_span.hh.
|
inline |
Definition at line 265 of file BLI_bit_span.hh.
|
inline |
Definition at line 275 of file BLI_bit_span.hh.
|
inline |
Definition at line 270 of file BLI_bit_span.hh.
|
protected |
Definition at line 234 of file BLI_bit_span.hh.
|
protected |
Definition at line 233 of file BLI_bit_span.hh.