SeqAn3
3.0.3
The Modern C++ library for sequence analysis.
execution.hpp
Go to the documentation of this file.
1
// -----------------------------------------------------------------------------------------------------
2
// Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
3
// Copyright (c) 2016-2021, 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 <
seqan3/core/platform.hpp
>
16
22
SEQAN3_DEPRECATED_HEADER
(
23
"This header is deprecated and will be removed along all its content in SeqAn-3.1.0."
)
24
25
namespace
seqan3
26
{
34
class
SEQAN3_DEPRECATED_310
sequenced_policy
35
{};
36
40
class
SEQAN3_DEPRECATED_310
parallel_policy
41
{};
42
46
class
SEQAN3_DEPRECATED_310
parallel_unsequenced_policy
47
{};
48
52
class
SEQAN3_DEPRECATED_310
unsequenced_policy
53
{};
54
58
inline
constexpr
SEQAN3_DEPRECATED_310
sequenced_policy
seq
{};
59
63
inline
constexpr
SEQAN3_DEPRECATED_310
parallel_policy par{};
64
68
inline
constexpr
SEQAN3_DEPRECATED_310
parallel_unsequenced_policy par_unseq{};
69
73
inline
constexpr
SEQAN3_DEPRECATED_310
unsequenced_policy unseq{};
74
78
template
<
class
t>
79
struct
SEQAN3_DEPRECATED_310
is_execution_policy :
std::false_type
80
{};
81
83
template
<>
84
struct
SEQAN3_DEPRECATED_310
is_execution_policy<sequenced_policy> :
std::true_type
85
{};
86
87
template
<>
88
struct
SEQAN3_DEPRECATED_310
is_execution_policy<parallel_policy> :
std::true_type
89
{};
90
91
template
<>
92
struct
SEQAN3_DEPRECATED_310
is_execution_policy<parallel_unsequenced_policy> :
std::true_type
93
{};
94
95
template
<>
96
struct
SEQAN3_DEPRECATED_310
is_execution_policy<unsequenced_policy> :
std::true_type
97
{};
99
103
template
<
class
t>
104
inline
constexpr
SEQAN3_DEPRECATED_310
bool
is_execution_policy_v
= is_execution_policy<t>::value;
106
}
// namespace seqan3
seqan3::field::seq
@ seq
The "sequence", usually a range of nucleotides or amino acids.
std::false_type
std::is_execution_policy_v
T is_execution_policy_v
seqan3
The main SeqAn3 namespace.
Definition:
aligned_sequence_concept.hpp:29
platform.hpp
Provides platform and dependency checks.
SEQAN3_DEPRECATED_310
#define SEQAN3_DEPRECATED_310
Deprecation message for SeqAn 3.1.0 release.
Definition:
platform.hpp:203
SEQAN3_DEPRECATED_HEADER
#define SEQAN3_DEPRECATED_HEADER(message)
Deprecation message for deprecated header.
Definition:
platform.hpp:213
seqan3
core
parallel
execution.hpp
Generated on Fri May 28 2021 10:58:53 for SeqAn3 by
1.9.1