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

Proxy data type returned by seqan3::bitpacked_sequence as reference to element. More...

+ Inheritance diagram for seqan3::bitpacked_sequence< alphabet_type >::reference_proxy_type:

Public Member Functions

Constructors, destructor and assignment
 reference_proxy_type ()=delete
 Deleted, because using this proxy without a parent would be undefined behaviour.
 
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 &) noexcept=default
 Defaulted.
 
constexpr reference_proxy_typeoperator= (reference_proxy_type &&) noexcept=default
 Defaulted.
 
 ~reference_proxy_type () noexcept=default
 Defaulted.
 
 reference_proxy_type (std::ranges::range_reference_t< data_type > const internal) noexcept
 Initialise from internal proxy type.
 
- Public Member Functions inherited from seqan3::alphabet_proxy< reference_proxy_type, alphabet_type >
constexpr reference_proxy_type & assign_rank (alphabet_rank_t< alphabet_type > const r) noexcept
 Assigns a rank.
 
constexpr reference_proxy_type & assign_char (char_type const c) noexcept
 Assigns a character.
 
constexpr reference_proxy_type & assign_phred (phred_type const c) noexcept
 Assigns a Phred score.
 
constexpr operator alphabet_type () const noexcept
 Implicit conversion to the emulated type.
 
constexpr operator other_t () const noexcept
 Implicit conversion to types that the emulated type is convertible to.
 
constexpr auto to_rank () const noexcept
 Returns the rank.
 
constexpr auto to_char () const noexcept
 Returns the character.
 
constexpr auto to_phred () const noexcept
 Returns the Phred score.
 
constexpr alphabet_type complement () const noexcept
 Returns the complement.
 

Private Types

using base_t = alphabet_proxy< reference_proxy_type, alphabet_type >
 The base type.
 

Private Member Functions

constexpr void on_update () noexcept
 Update the sdsl-proxy.
 

Private Attributes

friend base_t
 Befriend the base type so it can call our on_update().
 
std::ranges::range_reference_t< data_typeinternal_proxy
 The proxy of the underlying data type.
 

Additional Inherited Members

- Static Public Member Functions inherited from seqan3::alphabet_proxy< reference_proxy_type, alphabet_type >
static constexpr bool char_is_valid (char_type const c) noexcept
 Delegate to the emulated type's validator.
 
- Static Public Attributes inherited from seqan3::alphabet_proxy< reference_proxy_type, alphabet_type >
static constexpr auto alphabet_size
 The alphabet size.
 

Detailed Description

template<writable_semialphabet alphabet_type>
class seqan3::bitpacked_sequence< alphabet_type >::reference_proxy_type

Proxy data type returned by seqan3::bitpacked_sequence as reference to element.


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