Blender V5.0
blender::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]

blender::bits::MutableBoundedBitSpan::MutableBoundedBitSpan ( )
default

◆ MutableBoundedBitSpan() [2/4]

blender::bits::MutableBoundedBitSpan::MutableBoundedBitSpan ( BitInt * data,
const int64_t size )
inline

Definition at line 339 of file BLI_bit_span.hh.

◆ MutableBoundedBitSpan() [3/4]

blender::bits::MutableBoundedBitSpan::MutableBoundedBitSpan ( BitInt * data,
const IndexRange bit_range )
inline

Definition at line 344 of file BLI_bit_span.hh.

◆ MutableBoundedBitSpan() [4/4]

blender::bits::MutableBoundedBitSpan::MutableBoundedBitSpan ( const MutableBitSpan other)
inlineexplicit

Definition at line 349 of file BLI_bit_span.hh.

Member Function Documentation

◆ as_span()

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

Definition at line 379 of file BLI_bit_span.hh.

◆ copy_from() [1/2]

Definition at line 78 of file bit_span.cc.

◆ copy_from() [2/2]

Definition at line 84 of file bit_span.cc.

◆ final_bits_num()

int64_t blender::bits::MutableBoundedBitSpan::final_bits_num ( ) const
inline

Definition at line 369 of file BLI_bit_span.hh.

◆ full_ints_num()

int64_t blender::bits::MutableBoundedBitSpan::full_ints_num ( ) const
inline

Definition at line 364 of file BLI_bit_span.hh.

◆ offset()

int64_t blender::bits::MutableBoundedBitSpan::offset ( ) const
inline

Definition at line 359 of file BLI_bit_span.hh.

◆ operator BoundedBitSpan()

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

Definition at line 354 of file BLI_bit_span.hh.

◆ take_front()

MutableBoundedBitSpan blender::bits::MutableBoundedBitSpan::take_front ( const int64_t n) const
inline

Definition at line 374 of file BLI_bit_span.hh.


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