A namespace for third party and standard library specialisations of SeqAn customisation points. More...
Functions | |
Free function wrappers for the char alphabet adaptation | |
For | |
| template<typename char_type > | |
| constexpr auto | alphabet_size (char_type const &chr) noexcept |
| Return the number of values the char type can take. More... | |
| template<typename char_type > | |
| constexpr char_type | to_char (char_type const chr) noexcept |
| Converting char to char is no-op (it will just return the value you pass in). More... | |
| template<typename char_type > | |
| constexpr auto | to_rank (char_type const chr) noexcept |
| Convert char to rank by casting to an unsigned integral type of same size. More... | |
| template<typename char_type > | |
| constexpr char_type & | assign_char_to (char_type const chr2, char_type &chr) noexcept |
Assign a char to the char type (same as calling =). More... | |
| template<typename char_type > | |
| constexpr char_type & | assign_rank_to (decltype(to_rank(char_type{})) const rank, char_type &chr) noexcept |
| Assigning a rank to a char is the same as assigning it a numeric value. More... | |
Free function wrappers for the uint alphabet adaptation | |
For | |
| template<typename uint_type > | |
| constexpr auto | alphabet_size (uint_type const &intgr) noexcept |
| Return the number of values the uint type can take. More... | |
| template<typename uint_type > | |
| constexpr auto | to_char (uint_type const intgr) noexcept |
| Converting uint to char casts to a character type of same size. More... | |
| template<typename uint_type > | |
| constexpr uint_type | to_rank (uint_type const intgr) noexcept |
| Converting uint to rank is a no-op (it will just return the value you pass in). More... | |
| template<typename uint_type > | |
| constexpr uint_type & | assign_char_to (decltype(to_char(uint_type{})) const chr, uint_type &intgr) noexcept |
| Assign from a character type via implicit or explicit cast. More... | |
| template<typename uint_type > | |
| constexpr uint_type & | assign_rank_to (uint_type const intgr2, uint_type &intgr) noexcept |
Assign a rank to to the uint (same as calling =). More... | |
A namespace for third party and standard library specialisations of SeqAn customisation points.
|
noexcept |
Return the number of values the uint type can take.
| uint_type | One of uint8_t, uint16_t or uint32_t. |
| intgr | The parameter's actual value is ignored. |
uint8_t).
|
noexcept |
Return the number of values the char type can take.
| char_type | One of char, char16_t, char32_t or wchar_t. |
| chr | The parameters actual value is ignored. |
char).
|
noexcept |
Assign a char to the char type (same as calling =).
| char_type | One of char, char16_t, char32_t or wchar_t. |
| chr | The alphabet letter that you wish to assign to. |
| chr2 | The char value you wish to assign. |
|
noexcept |
Assign from a character type via implicit or explicit cast.
| uint_type | One of uint8_t, uint16_t or uint32_t. |
| intgr | The alphabet letter that you wish to assign to. |
| chr | The char value you wish to assign. |
|
noexcept |
Assigning a rank to a char is the same as assigning it a numeric value.
| char_type | One of char, char16_t, char32_t or wchar_t. |
| chr | The alphabet letter that you wish to assign to. |
| rank | The rank value you wish to assign. |
|
noexcept |
Assign a rank to to the uint (same as calling =).
| uint_type | One of uint8_t, uint16_t or uint32_t. |
| intgr | The alphabet letter that you wish to assign to. |
| intgr2 | The rank value you wish to assign. |
|
noexcept |
Converting uint to char casts to a character type of same size.
| uint_type | One of uint8_t, uint16_t or uint32_t. |
| intgr | The alphabet letter that you wish to convert to char. |
uint).
|
noexcept |
Converting char to char is no-op (it will just return the value you pass in).
| char_type | One of char, char16_t, char32_t or wchar_t. |
| chr | The alphabet letter that you wish to convert to char (no-op). |
chr.
|
noexcept |
Convert char to rank by casting to an unsigned integral type of same size.
| char_type | One of char, char16_t, char32_t or wchar_t. |
| chr | The alphabet letter that you wish to convert to rank. |
uint*_t).
|
noexcept |
Converting uint to rank is a no-op (it will just return the value you pass in).
| uint_type | One of uint8_t, uint16_t or uint32_t. |
| intgr | The alphabet letter that you wish to convert to rank. |
intgr.