-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalphabet_2aminoacid_2concept_8hpp_source.html
178 lines (176 loc) · 16.2 KB
/
alphabet_2aminoacid_2concept_8hpp_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BioC++: bio/alphabet/aminoacid/concept.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="biocpp.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="biocpp_logo.svg"/></td>
<td id="projectalign">
<div id="projectname">BioC++<span id="projectnumber"> core-0.7.0</span>
</div>
<div id="projectbrief">The Modern C++ libraries for Bioinformatics.</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()"> </span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(document).ready(function(){initNavTree('alphabet_2aminoacid_2concept_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="headertitle"><div class="title">concept.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="alphabet_2aminoacid_2concept_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">// -----------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">// Copyright (c) 2022 deCODE Genetics</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment">// Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment">// Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment">// This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment">// shipped with this file and also available at: https://github.com/biocpp/biocpp-core/blob/main/LICENSE.md</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment">// -----------------------------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#include <<a class="codeRef" target="_blank" href="https://en.cppreference.com/w/cpp/header/type_traits.html">type_traits</a>></span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#include <<a class="code" href="alphabet_2concept_8hpp.html">bio/alphabet/concept.hpp</a>></span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#include <<a class="code" href="template__inspection_8hpp.html">bio/meta/type_traits/template_inspection.hpp</a>></span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="comment">// ============================================================================</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="comment">// aminoacid_empty_base</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="comment">// ============================================================================</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacebio_1_1alphabet.html">bio::alphabet</a></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span>{</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="structbio_1_1alphabet_1_1aminoacid__empty__base.html"> 33</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structbio_1_1alphabet_1_1aminoacid__empty__base.html">aminoacid_empty_base</a></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span>{};</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span>} <span class="comment">// namespace bio::alphabet</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="comment">// ============================================================================</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="comment">// enable_aminoacid</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="comment">// ============================================================================</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="namespacebio_1_1alphabet_1_1custom.html"> 42</a></span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacebio_1_1alphabet_1_1custom.html">bio::alphabet::custom</a></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span>{</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span><span class="keyword">template</span> <<span class="keyword">typename</span> t></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="group__aminoacid.html#ga629c2d51777e90a6b21d07e370b8b9a1"> 70</a></span><span class="keyword">inline</span> <span class="keyword">constexpr</span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="group__aminoacid.html#ga629c2d51777e90a6b21d07e370b8b9a1">enable_aminoacid</a> = std::derived_from<t, aminoacid_empty_base>;</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span>} <span class="comment">// namespace bio::alphabet::custom</span></div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacebio_1_1alphabet.html">bio::alphabet</a></div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span>{</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span><span class="comment">// ============================================================================</span></div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span><span class="comment">// concept</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span><span class="comment">// ============================================================================</span></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span><span class="keyword">template</span> <<span class="keyword">typename</span> type></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"><a class="line" href="conceptbio_1_1alphabet_1_1aminoacid.html"> 97</a></span><span class="keyword">concept </span><a class="code hl_concept" href="conceptbio_1_1alphabet_1_1aminoacid.html">aminoacid</a> = <a class="code hl_concept" href="conceptbio_1_1alphabet_1_1alphabet.html">alphabet<type></a> && custom::enable_aminoacid<std::remove_cvref_t<type>>;</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span>} <span class="comment">// namespace bio::alphabet</span></div>
<div class="ttc" id="aalphabet_2concept_8hpp_html"><div class="ttname"><a href="alphabet_2concept_8hpp.html">concept.hpp</a></div><div class="ttdoc">Core alphabet concept and free function/type trait wrappers.</div></div>
<div class="ttc" id="aconceptbio_1_1alphabet_1_1alphabet_html"><div class="ttname"><a href="conceptbio_1_1alphabet_1_1alphabet.html">bio::alphabet::alphabet</a></div><div class="ttdoc">The generic alphabet concept that covers most data types used in ranges.</div><div class="ttdef"><b>Definition:</b> concept.hpp:643</div></div>
<div class="ttc" id="aconceptbio_1_1alphabet_1_1aminoacid_html"><div class="ttname"><a href="conceptbio_1_1alphabet_1_1aminoacid.html">bio::alphabet::aminoacid</a></div><div class="ttdoc">A concept that indicates whether an alphabet represents amino acids.</div><div class="ttdef"><b>Definition:</b> concept.hpp:97</div></div>
<div class="ttc" id="agroup__aminoacid_html_ga629c2d51777e90a6b21d07e370b8b9a1"><div class="ttname"><a href="group__aminoacid.html#ga629c2d51777e90a6b21d07e370b8b9a1">bio::alphabet::custom::enable_aminoacid</a></div><div class="ttdeci">constexpr bool enable_aminoacid</div><div class="ttdoc">A trait that indicates whether a type shall model bio::alphabet::aminoacid.</div><div class="ttdef"><b>Definition:</b> concept.hpp:70</div></div>
<div class="ttc" id="anamespacebio_1_1alphabet_1_1custom_html"><div class="ttname"><a href="namespacebio_1_1alphabet_1_1custom.html">bio::alphabet::custom</a></div><div class="ttdoc">A namespace for third party and standard library specialisations of BioC++ customisation points.</div><div class="ttdef"><b>Definition:</b> concept.hpp:43</div></div>
<div class="ttc" id="anamespacebio_1_1alphabet_html"><div class="ttname"><a href="namespacebio_1_1alphabet.html">bio::alphabet</a></div><div class="ttdoc">The alphabet module's namespace.</div><div class="ttdef"><b>Definition:</b> aa10li.hpp:23</div></div>
<div class="ttc" id="astructbio_1_1alphabet_1_1aminoacid__empty__base_html"><div class="ttname"><a href="structbio_1_1alphabet_1_1aminoacid__empty__base.html">bio::alphabet::aminoacid_empty_base</a></div><div class="ttdoc">This is an empty base class that can be inherited by types that shall model bio::alphabet::aminoacid.</div><div class="ttdef"><b>Definition:</b> concept.hpp:34</div></div>
<div class="ttc" id="atemplate__inspection_8hpp_html"><div class="ttname"><a href="template__inspection_8hpp.html">template_inspection.hpp</a></div><div class="ttdoc">Provides various traits to inspect templates.</div></div>
<div class="ttc" id="atype_traits_html"><div class="ttname"><a href="https://en.cppreference.com/w/cpp/header/type_traits.html">type_traits</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.16-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<div id="list_bottom_right" style="text-align:right; float:left; color:black; padding: 0px 0px 0px 10px"></div>
<script type="text/javascript" charset="utf-8" src="version.js"></script>
<li class="navelem"><a class="el" href="dir_740f9cb2a3f5b47e1148c9e4d90d8bf4.html">bio</a></li><li class="navelem"><a class="el" href="dir_9b716f18bdad80f0bcc9544c5d50fede.html">alphabet</a></li><li class="navelem"><a class="el" href="dir_c5c94c5e6394b8bbdcce9ce299c309d0.html">aminoacid</a></li><li class="navelem"><a class="el" href="alphabet_2aminoacid_2concept_8hpp.html">concept.hpp</a></li>
<li class="footer">Generated on Thu Mar 30 2023 15:25:52 for BioC++ by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.9.6 </li>
</ul>
</div>
</body>
</html>