Core alphabet concept and free function/type trait wrappers. More...
#include <seqan3/alphabet/exception.hpp>
#include <seqan3/core/concept/cereal.hpp>
#include <seqan3/core/concept/core_language.hpp>
#include <seqan3/core/detail/customisation_point.hpp>
#include <seqan3/core/detail/type_inspection.hpp>
#include <seqan3/core/type_traits/basic.hpp>
#include <seqan3/std/type_traits>
Go to the source code of this file.
Classes | |
struct | seqan3::custom::alphabet< t > |
A type that can be specialised to provide customisation point implementations so that third party types model alphabet concepts. More... | |
Namespaces | |
seqan3 | |
The main SeqAn3 namespace. | |
seqan3::custom | |
A namespace for third party and standard library specialisations of SeqAn customisation points. | |
Typedefs | |
template<typename alphabet_type > | |
using | seqan3::alphabet_char_t = decltype(seqan3::to_char(std::declval< alphabet_type const >())) |
The char_type of the alphabet; defined as the return type of seqan3::to_char. | |
template<typename semi_alphabet_type > | |
using | seqan3::alphabet_rank_t = decltype(seqan3::to_rank(std::declval< semi_alphabet_type >())) |
The rank_type of the semi-alphabet; defined as the return type of seqan3::to_rank. | |
Variables | |
template<typename alph_t > | |
constexpr auto | seqan3::alphabet_size = detail::adl_only::alphabet_size_obj<alph_t>() |
A type trait that holds the size of a (semi-)alphabet. More... | |
Function objects | |
constexpr auto | seqan3::assign_char_strictly_to = detail::adl_only::assign_char_strictly_to_fn{} |
Assign a character to an alphabet object, throw if the character is not valid. More... | |
constexpr auto | seqan3::assign_char_to = detail::adl_only::assign_char_to_fn{} |
Assign a character to an alphabet object. More... | |
constexpr auto | seqan3::assign_rank_to = detail::adl_only::assign_rank_to_fn{} |
Assign a rank to an alphabet object. More... | |
template<typename alph_t > | |
constexpr auto | seqan3::char_is_valid_for = detail::adl_only::char_is_valid_for_fn<alph_t>{} |
Returns whether a character is in the valid set of a seqan3::alphabet (usually implies a bijective mapping to an alphabet value). More... | |
constexpr auto | seqan3::to_char = detail::adl_only::to_char_fn{} |
Return the char representation of an alphabet object. More... | |
constexpr auto | seqan3::to_rank = detail::adl_only::to_rank_fn{} |
Return the rank representation of a (semi-)alphabet object. More... | |
Core alphabet concept and free function/type trait wrappers.