BioC++ core-0.7.0
The Modern C++ libraries for Bioinformatics.
 
Loading...
Searching...
No Matches
bio::alphabet::writable_quality Concept Reference

A concept that indicates whether a writable alphabet represents quality scores. More...

#include <bio/alphabet/quality/concept.hpp>

Concept definition

template<typename t>
concept bio::alphabet::writable_quality = writable_alphabet<t> && quality<t> && requires(t v, phred_t<t> c) {
{
};
}
A concept that indicates whether an alphabet represents quality scores.
Definition: concept.hpp:171
Refines bio::alphabet::alphabet and adds assignability.
Definition: concept.hpp:688
A concept that indicates whether a writable alphabet represents quality scores.
Definition: concept.hpp:208
constexpr auto assign_phred_to
Assign a phred score to a quality alphabet object.
Definition: concept.hpp:128

Detailed Description

A concept that indicates whether a writable alphabet represents quality scores.

In addition to the requirements for bio::alphabet::writable_alphabet, the writable_quality concept introduces the requirements of bio::alphabet::quality.

Requirements

  1. t shall model bio::alphabet::writable_alphabet
  2. t shall model bio::alphabet::quality
  3. bio::alphabet::assign_phred_to needs to be defined for objects of type t

See the documentation pages for the respective requirements.

Related types

If an object type t models this concept, the following types typically do so, as well:

  • t &

const-qualified types on the other hand are not assignable.