|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include <bitArray.H>
Public Member Functions | |
| unsigned int | read_bit (const unsigned int i) const noexcept |
| void | write_bit (const unsigned int i, const unsigned int val) noexcept |
| Byte () noexcept=default | |
| int | get_int () const noexcept |
| void | set_int (int i) noexcept |
| Byte & | operator|= (const Byte &rhs) noexcept |
| Byte & | operator&= (const Byte &rhs) noexcept |
| int | count_ones () const noexcept |
| int | count_zeros () const noexcept |
Private Attributes | |
| std::uint8_t | value = 0 |
Definition at line 114 of file bitArray.H.
|
defaultnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 163 of file bitArray.H.
References count_ones().
|
inlinenoexcept |
Definition at line 136 of file bitArray.H.
References value.
Definition at line 152 of file bitArray.H.
References Aleph::maps(), and value.
Definition at line 146 of file bitArray.H.
References Aleph::maps(), and value.
Definition at line 119 of file bitArray.H.
References Aleph::maps(), and value.
Referenced by Aleph::BitArray::BitProxy::operator int(), and Aleph::BitArray::read_bit_ne().
Definition at line 141 of file bitArray.H.
References value.
Referenced by Aleph::BitArray::clear_unused_bits_in_last_byte(), Aleph::BitArray::operator&=(), and Aleph::BitArray::operator|=().
Definition at line 125 of file bitArray.H.
References Aleph::maps().
Referenced by Aleph::BitArray::BitProxy::operator=(), and Aleph::BitArray::BitProxy::operator=().
|
private |
Definition at line 116 of file bitArray.H.
Referenced by count_ones(), get_int(), operator&=(), operator|=(), read_bit(), and set_int().