SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
|
Proxy data type returned by seqan3::dynamic_bitset as reference to the bit. More...
Public Member Functions | |
constexpr | operator bool () const noexcept |
Returns the value of the referenced bit. | |
constexpr reference_proxy_type & | operator&= (bool const value) |
Sets the referenced bit to the result of a binary AND with value . | |
constexpr reference_proxy_type & | operator^= (bool const value) |
Sets the referenced bit to the result of a binary XOR with value . | |
constexpr reference_proxy_type & | operator|= (bool const value) |
Sets the referenced bit to the result of a binary OR with value . | |
constexpr bool | operator~ () const noexcept |
Returns the inverted value of the referenced bit. | |
constexpr | reference_proxy_type (bitfield &internal_, size_t const pos) noexcept |
Initialise from seqan3::dynamic_bitset's underlying data and a bit position. | |
Constructors, destructor and assignment | |
constexpr | reference_proxy_type () noexcept=default |
Defaulted. | |
constexpr | reference_proxy_type (reference_proxy_type const &) noexcept=default |
Defaulted. | |
constexpr | reference_proxy_type (reference_proxy_type &&) noexcept=default |
Defaulted. | |
constexpr reference_proxy_type & | operator= (reference_proxy_type const rhs) noexcept |
Assign the value of the bit. | |
constexpr reference_proxy_type & | operator= (bool const value) noexcept |
Sets the referenced bit to value . | |
~reference_proxy_type () noexcept=default | |
Defaulted. | |
Private Member Functions | |
constexpr void | reset () noexcept |
Sets the referenced bit to 0 . | |
constexpr void | set () noexcept |
Sets the referenced bit to 1 . | |
Private Attributes | |
bitfield & | internal |
The proxy of the underlying data type. | |
uint64_t | mask |
Bitmask to access one specific bit. | |
Proxy data type returned by seqan3::dynamic_bitset as reference to the bit.