SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
seqan3::dynamic_bitset< bit_capacity >::reference_proxy_type Class Reference

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_typeoperator&= (bool const value)
 Sets the referenced bit to the result of a binary AND with value.
 
constexpr reference_proxy_typeoperator^= (bool const value)
 Sets the referenced bit to the result of a binary XOR with value.
 
constexpr reference_proxy_typeoperator|= (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_typeoperator= (reference_proxy_type const rhs) noexcept
 Assign the value of the bit.
 
constexpr reference_proxy_typeoperator= (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

bitfieldinternal
 The proxy of the underlying data type.
 
uint64_t mask
 Bitmask to access one specific bit.
 

Detailed Description

template<size_t bit_capacity = 58>
class seqan3::dynamic_bitset< bit_capacity >::reference_proxy_type

Proxy data type returned by seqan3::dynamic_bitset as reference to the bit.


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