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 179 180 181 182 183 184 185 186 187 188 189 190 191
|
<HTML>
<HEAD>
<TITLE>HasActivationMethod< SpectrumType > Class Template Reference</TITLE>
<LINK HREF="doxygen.css" REL="stylesheet" TYPE="text/css">
<LINK HREF="style_ini.css" REL="stylesheet" TYPE="text/css">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<A href="index.html">Home</A> ·
<A href="classes.html">Classes</A> ·
<A href="annotated.html">Annotated Classes</A> ·
<A href="modules.html">Modules</A> ·
<A href="functions_func.html">Members</A> ·
<A href="namespaces.html">Namespaces</A> ·
<A href="pages.html">Related Pages</A>
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<!-- Generated by Doxygen 1.8.5 -->
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceOpenMS.html">OpenMS</a></li><li class="navelem"><a class="el" href="classOpenMS_1_1HasActivationMethod.html">HasActivationMethod</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> |
<a href="classOpenMS_1_1HasActivationMethod-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">HasActivationMethod< SpectrumType > Class Template Reference<div class="ingroups"><a class="el" href="group__RangeUtils.html">RangeUtils</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>Predicate that determines if a spectrum was generated using any activation method given in the constructor list.
<a href="classOpenMS_1_1HasActivationMethod.html#details">More...</a></p>
<p><code>#include <<a class="el" href="RangeUtils_8h_source.html">OpenMS/KERNEL/RangeUtils.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for HasActivationMethod< SpectrumType >:</div>
<div class="dyncontent">
<div class="center">
<img src="classOpenMS_1_1HasActivationMethod.png" usemap="#HasActivationMethod< SpectrumType >_map" alt=""/>
<map id="HasActivationMethod< SpectrumType >_map" name="HasActivationMethod< SpectrumType >_map">
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2925ed7e77a6c787e6440e4d9a0ffdb0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1HasActivationMethod.html#a2925ed7e77a6c787e6440e4d9a0ffdb0">HasActivationMethod</a> (const <a class="el" href="classOpenMS_1_1StringList.html">StringList</a> &methods, bool reverse=false)</td></tr>
<tr class="memdesc:a2925ed7e77a6c787e6440e4d9a0ffdb0"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a2925ed7e77a6c787e6440e4d9a0ffdb0">More...</a><br/></td></tr>
<tr class="separator:a2925ed7e77a6c787e6440e4d9a0ffdb0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a528f4cce86dd2fc219649be04f2c78ad"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1HasActivationMethod.html#a528f4cce86dd2fc219649be04f2c78ad">operator()</a> (const SpectrumType &s) const </td></tr>
<tr class="separator:a528f4cce86dd2fc219649be04f2c78ad"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:acab113b0d365a9d82f8a926b8f0def84"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOpenMS_1_1StringList.html">StringList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1HasActivationMethod.html#acab113b0d365a9d82f8a926b8f0def84">methods_</a></td></tr>
<tr class="separator:acab113b0d365a9d82f8a926b8f0def84"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeae704668ea77ad91c0d84485ef7677e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenMS_1_1HasActivationMethod.html#aeae704668ea77ad91c0d84485ef7677e">reverse_</a></td></tr>
<tr class="separator:aeae704668ea77ad91c0d84485ef7677e"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template<class SpectrumType><br/>
class OpenMS::HasActivationMethod< SpectrumType ></h3>
<p>Predicate that determines if a spectrum was generated using any activation method given in the constructor list. </p>
<p>SpectrumType must have a getPrecursors() method </p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a2925ed7e77a6c787e6440e4d9a0ffdb0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classOpenMS_1_1HasActivationMethod.html">HasActivationMethod</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classOpenMS_1_1StringList.html">StringList</a> & </td>
<td class="paramname"><em>methods</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>reverse</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">methods</td><td>List of methods that is compared against precursor activation methods. </td></tr>
<tr><td class="paramname">reverse</td><td>if <code>reverse</code> is true, operator() returns true if the spectrum is not using one of the specified activation methods. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a528f4cce86dd2fc219649be04f2c78ad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool operator() </td>
<td>(</td>
<td class="paramtype">const SpectrumType & </td>
<td class="paramname"><em>s</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>References <a class="el" href="classOpenMS_1_1StringList.html#af4a386323a5a2bdffcbf06bf5a70a0ae">StringList::contains()</a>, <a class="el" href="classOpenMS_1_1HasActivationMethod.html#acab113b0d365a9d82f8a926b8f0def84">HasActivationMethod< SpectrumType >::methods_</a>, <a class="el" href="classOpenMS_1_1Precursor.html#a14d4ca6844157fd9ae6410f9c8ffbff0">Precursor::NamesOfActivationMethod</a>, and <a class="el" href="classOpenMS_1_1HasActivationMethod.html#aeae704668ea77ad91c0d84485ef7677e">HasActivationMethod< SpectrumType >::reverse_</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="acab113b0d365a9d82f8a926b8f0def84"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classOpenMS_1_1StringList.html">StringList</a> methods_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Referenced by <a class="el" href="classOpenMS_1_1HasActivationMethod.html#a528f4cce86dd2fc219649be04f2c78ad">HasActivationMethod< SpectrumType >::operator()()</a>.</p>
</div>
</div>
<a class="anchor" id="aeae704668ea77ad91c0d84485ef7677e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool reverse_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Referenced by <a class="el" href="classOpenMS_1_1HasActivationMethod.html#a528f4cce86dd2fc219649be04f2c78ad">HasActivationMethod< SpectrumType >::operator()()</a>.</p>
</div>
</div>
</div><!-- contents -->
<HR style="height:1px; border:none; border-top:1px solid #c0c0c0;">
<TABLE width="100%" border="0">
<TR>
<TD><font color="#c0c0c0">OpenMS / TOPP release 1.11.1</font></TD>
<TD align="right"><font color="#c0c0c0">Documentation generated on Thu Nov 14 2013 11:19:32 using doxygen 1.8.5</font></TD>
</TR>
</TABLE>
</BODY>
</HTML>
|