SeqAn3  3.0.1
The Modern C++ library for sequence analysis.
cerealisable Interface Reference

Specifies the requirements for types that are serialisable via Cereal. More...

#include <seqan3/core/concept/cereal.hpp>

+ Inheritance diagram for cerealisable:

Detailed Description

Specifies the requirements for types that are serialisable via Cereal.

The value_t type satisfy the cerealisable, if value_t can be serialised with cereal, i.e. value_t has a single serialisation function (serialize) or split load/save pair (load and save) either inside or outside of the class.

See also
https://uscilab.github.io/cereal/serialization_functions.html
using namespace seqan3;
// fundamental types are serialisable
static_assert(cerealisable<int>);
#include <array>
#include <cereal/types/array.hpp> // std::array is now serialisable
#include <seqan3/alphabet/nucleotide/dna4.hpp> // dna4 is serialisable
static_assert(cerealisable<dna4>);
Attention
The cereal library is an optional dependency of SeqAn, if it is not found no types satisfy this concept.

The documentation for this interface was generated from the following file:
dna4.hpp
Provides seqan3::dna4, container aliases and string literals.
array
seqan3
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:36
cereal.hpp
Adaptions of concepts from the Cereal library.
cerealisable
Specifies the requirements for types that are serialisable via Cereal.