SeqAn3  3.0.3
The Modern C++ library for sequence analysis.
writable_constexpr_alphabet Interface Reference

A seqan3::writable_alphabet that has constexpr accessors. More...

#include <seqan3/alphabet/concept.hpp>

+ Inheritance diagram for writable_constexpr_alphabet:

Related Functions

(Note that these are not member functions.)

Generic serialisation functions for all seqan3::semialphabet

All types that satisfy seqan3::semialphabet can be serialised via Cereal.

template<cereal_output_archive archive_t, semialphabet alphabet_t>
alphabet_rank_t< alphabet_t > save_minimal (archive_t const &, alphabet_t const &l)
 Save an alphabet letter to stream. More...
 

Detailed Description

A seqan3::writable_alphabet that has constexpr accessors.

Refines seqan3::detail::constexpr_alphabet, seqan3::detail::writable_constexpr_semialphabet and seqan3::writable_alphabet and requires that the call to seqan3::assign_char_to can happen in a constexpr-context.

Friends And Related Function Documentation

◆ save_minimal()

template<cereal_output_archive archive_t, semialphabet alphabet_t>
alphabet_rank_t< alphabet_t > save_minimal ( archive_t const &  ,
alphabet_t const &  l 
)
related

Save an alphabet letter to stream.

Template Parameters
archive_tMust satisfy seqan3::cereal_output_archive.
alphabet_tType of l; must satisfy seqan3::semialphabet.
Parameters
lThe alphabet letter.

Delegates to seqan3::to_rank.

Attention
These functions are never called directly, see the Alphabet module on how to use serialisation.

This entity is stable. Since version 3.1.


The documentation for this interface was generated from the following file: