Blender V5.0
blender::BoundedBitSpan Class Reference

#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
BitSpan drop_front (const int64_t n) const
BitSpan drop_back (const int64_t n) const
const BitIntdata () const
const IndexRangebit_range () const
BitIterator begin () const
BitIterator end () const

Additional Inherited Members

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

Detailed Description

Same as BitSpan but fulfills the requirements mentioned on is_bounded_span.

Definition at line 190 of file BLI_bit_span.hh.

Constructor & Destructor Documentation

◆ BoundedBitSpan() [1/4]

blender::bits::BoundedBitSpan::BoundedBitSpan ( )
default

◆ BoundedBitSpan() [2/4]

blender::bits::BoundedBitSpan::BoundedBitSpan ( const BitInt * data,
const int64_t size_in_bits )
inline

Definition at line 194 of file BLI_bit_span.hh.

◆ BoundedBitSpan() [3/4]

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

Definition at line 199 of file BLI_bit_span.hh.

◆ BoundedBitSpan() [4/4]

blender::bits::BoundedBitSpan::BoundedBitSpan ( const BitSpan other)
inlineexplicit

Definition at line 204 of file BLI_bit_span.hh.

Member Function Documentation

◆ final_bits_num()

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

Definition at line 219 of file BLI_bit_span.hh.

◆ full_ints_num()

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

Definition at line 214 of file BLI_bit_span.hh.

◆ offset()

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

Definition at line 209 of file BLI_bit_span.hh.

◆ take_front()

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

Definition at line 224 of file BLI_bit_span.hh.


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