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

A seqan3::writable_semialphabet that has a constexpr assignment. More...

#include <seqan3/alphabet/concept.hpp>

+ Inheritance diagram for writable_constexpr_semialphabet:

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_semialphabet that has a constexpr assignment.

Refines seqan3::detail::constexpr_semialphabet and seqan3::writable_semialphabet and requires that the call to seqan3::assign_rank_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: