MySQL 9.1.0
Source Code Documentation
Chnunk_Bitmap::Bitmap_Operator_Impl Class Reference

Bitmap array index operator implementation. More...

#include <clone0desc.h>

Public Member Functions

 Bitmap_Operator_Impl (uint32_t *&bitmap, uint32_t index)
 Construct bitmap operator. More...
 
 operator bool () const
 Check value at specified index in BITMAP. More...
 
void operator= (bool bit)
 Set BIT at specific index. More...
 

Private Attributes

uint32_t *& m_bitmap_ref
 Reference to BITMAP array. More...
 
uint32_t m_map_index
 Current array position. More...
 
uint32_t m_bit_mask
 Mask with current BIT set. More...
 

Detailed Description

Bitmap array index operator implementation.

Constructor & Destructor Documentation

◆ Bitmap_Operator_Impl()

Chnunk_Bitmap::Bitmap_Operator_Impl::Bitmap_Operator_Impl ( uint32_t *&  bitmap,
uint32_t  index 
)
inline

Construct bitmap operator.

Parameters
[in]bitmapreference to bitmap buffer
[in]indexarray operation index

Member Function Documentation

◆ operator bool()

Chnunk_Bitmap::Bitmap_Operator_Impl::operator bool ( ) const
inline

Check value at specified index in BITMAP.

Returns
true if the BIT is set

◆ operator=()

void Chnunk_Bitmap::Bitmap_Operator_Impl::operator= ( bool  bit)
inline

Set BIT at specific index.

Parameters
[in]bitbit value to set

Member Data Documentation

◆ m_bit_mask

uint32_t Chnunk_Bitmap::Bitmap_Operator_Impl::m_bit_mask
private

Mask with current BIT set.

◆ m_bitmap_ref

uint32_t*& Chnunk_Bitmap::Bitmap_Operator_Impl::m_bitmap_ref
private

Reference to BITMAP array.

◆ m_map_index

uint32_t Chnunk_Bitmap::Bitmap_Operator_Impl::m_map_index
private

Current array position.


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