SeqAn3 3.3.0-rc.1
The Modern C++ library for sequence analysis.
 
Loading...
Searching...
No Matches
result_type.hpp
Go to the documentation of this file.
1// -----------------------------------------------------------------------------------------------------
2// Copyright (c) 2006-2022, Knut Reinert & Freie Universität Berlin
3// Copyright (c) 2016-2022, 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
13#pragma once
14
15#include <type_traits>
16
21
22namespace seqan3::search_cfg::detail
23{
24
42template <typename search_result_t>
43 requires seqan3::detail::is_type_specialisation_of_v<search_result_t, search_result>
45{
46public:
48 using type = search_result_t;
49
53 constexpr result_type() = default;
54 constexpr result_type(result_type const &) = default;
55 constexpr result_type(result_type &&) = default;
56 constexpr result_type & operator=(result_type const &) = default;
57 constexpr result_type & operator=(result_type &&) = default;
58 ~result_type() = default;
59
61
64};
65} // namespace seqan3::search_cfg::detail
Configuration element storing the configured seqan3::search_result for the search algorithm.
Definition: result_type.hpp:45
constexpr result_type(result_type &&)=default
Defaulted.
constexpr result_type & operator=(result_type &&)=default
Defaulted.
constexpr result_type & operator=(result_type const &)=default
Defaulted.
constexpr result_type()=default
Defaulted.
constexpr result_type(result_type const &)=default
Defaulted.
search_result_t type
The configured seqan3::search_result type.
Definition: result_type.hpp:48
search_config_id
Specifies an id for every configuration element.
Definition: search/configuration/detail.hpp:43
Provides seqan3::pipeable_config_element.
Provides compatibility matrix for search configurations.
Provides seqan3::search_result.
Adds pipe interface to configuration elements.
Definition: pipeable_config_element.hpp:32
Provides type traits for working with templates.