Class to represent a reference to an array element.
Definition at line 82 of file bool_array.h.
◆ _Element()
qx::memory::bool_array::_Element::_Element |
( |
BYTE * | __ptr, |
|
|
unsigned long | __idx ) |
|
inline |
Constructs a reference to an array element.
- Parameters
-
__ptr | pointer to the interal boolean data |
__idx | index of the array element to access |
Definition at line 128 of file bool_array.h.
◆ operator bool()
qx::memory::bool_array::_Element::operator bool |
( |
| ) |
const |
|
inline |
Reads the boolean value from an array element.
- Returns
- the boolean value of the accessed array element
Definition at line 155 of file bool_array.h.
◆ operator=()
bool qx::memory::bool_array::_Element::operator= |
( |
bool | ___value | ) |
|
|
inline |
Assigns a new boolean value to an array element.
- Parameters
-
___value | the new boolean value |
- Returns
- the assigned boolean value
Definition at line 141 of file bool_array.h.
◆ _M_bit_idx
size_t qx::memory::bool_array::_Element::_M_bit_idx |
|
private |
◆ _M_byte_idx
size_t qx::memory::bool_array::_Element::_M_byte_idx |
|
private |
◆ _M_byte_ptr
BYTE* qx::memory::bool_array::_Element::_M_byte_ptr |
|
private |
The documentation for this class was generated from the following file: