|
SeqAn3 3.4.3-rc.1
The Modern C++ library for sequence analysis.
|
Alphabet specific customisations for unsigned integral types. More...
#include <seqan3/alphabet/adaptation/uint.hpp>
Static Public Member Functions | |
| static constexpr uint_type & | assign_char_to (decltype(to_char(uint_type{})) const chr, uint_type &uint_v) noexcept |
| Assign from a character type via implicit or explicit cast. | |
| static constexpr uint_type & | assign_rank_to (uint_type const uint2_v, uint_type &uint_v) noexcept |
Assign a rank to the uint (same as calling =). | |
| static constexpr auto | to_char (uint_type const uint_v) noexcept |
| Converting uint to char casts to a character type of same size. | |
| static constexpr uint_type | to_rank (uint_type const uint_v) noexcept |
| Converting uint to rank is a no-op (it will just return the value you pass in). | |
Static Public Attributes | |
| static constexpr auto | alphabet_size |
Return the number of values the uint type can take (e.g. 256 for uint8_t). | |
Alphabet specific customisations for unsigned integral types.
| uint_type | Any of uint8_t, uint16_t and uint32_t. |
|
inlinestaticconstexprnoexcept |
Assign from a character type via implicit or explicit cast.
| [in] | chr | The char value you wish to assign. |
| [in,out] | uint_v | The alphabet letter that you wish to assign to. |
|
inlinestaticconstexprnoexcept |
Assign a rank to the uint (same as calling =).
| [in] | uint2_v | The rank value you wish to assign. |
| [in,out] | uint_v | The alphabet letter that you wish to assign to. |
|
inlinestaticconstexprnoexcept |
Converting uint to char casts to a character type of same size.
| [in] | uint_v | The alphabet letter that you wish to convert to char. |
uint).
|
inlinestaticconstexprnoexcept |
Converting uint to rank is a no-op (it will just return the value you pass in).
| [in] | uint_v | The alphabet letter that you wish to convert to rank. |
uint_v.
|
staticconstexpr |
Return the number of values the uint type can take (e.g. 256 for uint8_t).