|
Blender V4.3
|
#include <BLI_bit_span.hh>
Inherits blender::bits::BitSpan.
Public Member Functions | |
| BoundedBitSpan ()=default | |
| BoundedBitSpan (const BitInt *data, const int64_t size_in_bits) | |
| BoundedBitSpan (const BitInt *data, const IndexRange bit_range) | |
| BoundedBitSpan (const BitSpan other) | |
| int64_t | offset () const |
| int64_t | full_ints_num () const |
| int64_t | final_bits_num () const |
| BoundedBitSpan | take_front (const int64_t n) const |
Public Member Functions inherited from blender::bits::BitSpan | |
| BitSpan ()=default | |
| BitSpan (const BitInt *data, const int64_t size_in_bits) | |
| BitSpan (const BitInt *data, const IndexRange bit_range) | |
| int64_t | size () const |
| bool | is_empty () const |
| IndexRange | index_range () const |
| BitRef | operator[] (const int64_t index) const |
| BitSpan | slice (const IndexRange range) const |
| BitSpan | take_front (const int64_t n) const |
| BitSpan | take_back (const int64_t n) const |
| const BitInt * | data () const |
| const IndexRange & | bit_range () const |
| BitIterator | begin () const |
| BitIterator | end () const |
Additional Inherited Members | |
Protected Attributes inherited from blender::bits::BitSpan | |
| const BitInt * | data_ = nullptr |
| IndexRange | bit_range_ = {0, 0} |
Same as BitSpan but fulfills the requirements mentioned on is_bounded_span.
Definition at line 176 of file BLI_bit_span.hh.
|
default |
|
inline |
Definition at line 180 of file BLI_bit_span.hh.
References BLI_assert, and blender::bits::is_bounded_span().
|
inline |
Definition at line 185 of file BLI_bit_span.hh.
References BLI_assert, and blender::bits::is_bounded_span().
|
inlineexplicit |
Definition at line 190 of file BLI_bit_span.hh.
References BLI_assert, and blender::bits::is_bounded_span().
|
inline |
Definition at line 205 of file BLI_bit_span.hh.
References blender::bits::BitSpan::bit_range_, blender::bits::BitIndexMask, and blender::IndexRange::size().
|
inline |
Definition at line 200 of file BLI_bit_span.hh.
References blender::bits::BitSpan::bit_range_, blender::bits::BitToIntIndexShift, and blender::IndexRange::size().
|
inline |
Definition at line 195 of file BLI_bit_span.hh.
References blender::bits::BitSpan::bit_range_, and blender::IndexRange::start().
|
inline |
Definition at line 210 of file BLI_bit_span.hh.
References blender::bits::BitSpan::bit_range_, blender::bits::BitSpan::data_, and blender::IndexRange::take_front().