SeqAn3  3.0.1
The Modern C++ library for sequence analysis.
align_config_gap.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik
4 // This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
5 // shipped with this file and also available at: https://github.com/seqan/seqan3/blob/master/LICENSE.md
6 // -----------------------------------------------------------------------------------------------------
7 
14 #pragma once
15 
21 
22 namespace seqan3::align_cfg
23 {
41 template <typename gap_scheme_t>
42 struct gap : public pipeable_config_element<gap<gap_scheme_t>, gap_scheme_t>
43 {
44  static_assert(detail::is_type_specialisation_of_v<gap_scheme_t, gap_scheme>,
45  "Expects seqan3::gap_scheme class.");
48  static constexpr detail::align_config_id id{detail::align_config_id::gap};
49 };
50 
55 template <typename scheme_t>
57 gap(scheme_t) -> gap<scheme_t>;
59 
60 } // namespace seqan3::align_cfg
gap_scheme.hpp
Provides seqan3::gap_scheme.
basic.hpp
Provides various type traits on generic types.
template_inspection.hpp
Provides seqan3::type_list and auxiliary type traits.
pipeable_config_element.hpp
Provides seqan3::pipeable_config_element.
seqan3::align_cfg::gap
A configuration element for the gap scheme.
Definition: align_config_gap.hpp:42
seqan3::align_cfg
A special sub namespace for the alignment configurations.
Definition: align_config_aligned_ends.hpp:514
seqan3::pipeable_config_element
Adds pipe interface to configuration elements.
Definition: pipeable_config_element.hpp:30
detail.hpp
Provides some utility functions for the alignment configurations.