Blender V5.0
blender::bits::MutableBoundedBitSpan Class Reference

#include <BLI_bit_span.hh>

Inherits blender::bits::MutableBitSpan.

Public Member Functions

 MutableBoundedBitSpan ()=default
 MutableBoundedBitSpan (BitInt *data, const int64_t size)
 MutableBoundedBitSpan (BitInt *data, const IndexRange bit_range)
 MutableBoundedBitSpan (const MutableBitSpan other)
 operator BoundedBitSpan () const
int64_t offset () const
int64_t full_ints_num () const
int64_t final_bits_num () const
MutableBoundedBitSpan take_front (const int64_t n) const
BoundedBitSpan as_span () const
void copy_from (const BitSpan other)
void copy_from (const BoundedBitSpan other)
Public Member Functions inherited from blender::bits::MutableBitSpan
 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
BitIntdata () const
const IndexRangebit_range () const
MutableBitIterator begin () const
MutableBitIterator end () const
 operator BitSpan () const
void set_all ()
void reset_all ()
void copy_from (const BitSpan other)
void copy_from (const BoundedBitSpan other)
void set_all (const bool value)
void fill (const bool value)

Additional Inherited Members

Protected Attributes inherited from blender::bits::MutableBitSpan
BitIntdata_ = nullptr
IndexRange bit_range_ = {0, 0}

Detailed Description

Same as MutableBitSpan but fulfills the requirements mentioned on is_bounded_span.

Definition at line 335 of file BLI_bit_span.hh.

Constructor & Destructor Documentation

◆ MutableBoundedBitSpan() [1/4]

◆ MutableBoundedBitSpan() [2/4]

◆ MutableBoundedBitSpan() [3/4]

◆ MutableBoundedBitSpan() [4/4]

Member Function Documentation

◆ as_span()

◆ copy_from() [1/2]

void blender::bits::MutableBoundedBitSpan::copy_from ( const BitSpan other)

◆ copy_from() [2/2]

void blender::bits::MutableBoundedBitSpan::copy_from ( const BoundedBitSpan other)

◆ final_bits_num()

◆ full_ints_num()

◆ offset()

◆ operator BoundedBitSpan()

blender::bits::MutableBoundedBitSpan::operator BoundedBitSpan ( ) const
inline

Definition at line 354 of file BLI_bit_span.hh.

◆ take_front()


The documentation for this class was generated from the following files: