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
|
<HTML>
<HEAD>
<TITLE>DPeak< dimensions > Struct 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="structOpenMS_1_1DPeak.html">DPeak</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">DPeak< dimensions > Struct Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Metafunction to choose among <a class="el" href="classOpenMS_1_1Peak1D.html" title="A 1-dimensional raw data point or peak. ">Peak1D</a> respectively <a class="el" href="classOpenMS_1_1Peak2D.html" title="A 2-dimensional raw data point or peak. ">Peak2D</a> through a template argument.
<a href="structOpenMS_1_1DPeak.html#details">More...</a></p>
<p><code>#include <<a class="el" href="DPeak_8h_source.html">OpenMS/KERNEL/DPeak.h</a>></code></p>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template<UInt dimensions><br/>
struct OpenMS::DPeak< dimensions ></h3>
<p>Metafunction to choose among <a class="el" href="classOpenMS_1_1Peak1D.html" title="A 1-dimensional raw data point or peak. ">Peak1D</a> respectively <a class="el" href="classOpenMS_1_1Peak2D.html" title="A 2-dimensional raw data point or peak. ">Peak2D</a> through a template argument. </p>
<p>The result is accessible via typedef Type:</p>
<ul>
<li><code>DPeak<1>::Type</code> is <code><a class="el" href="classOpenMS_1_1Peak1D.html" title="A 1-dimensional raw data point or peak. ">Peak1D</a></code> </li>
<li><code>DPeak<2>::Type</code> is <code><a class="el" href="classOpenMS_1_1Peak2D.html" title="A 2-dimensional raw data point or peak. ">Peak2D</a></code> </li>
</ul>
<p>Example: </p>
<div class="fragment"><div class="line"><span class="keyword">template</span> <span class="keyword">class </span>BaseModel<UInt D></div>
<div class="line">{</div>
<div class="line"> <span class="comment">// BaseModel<D>::PeakType is either Peak1D or Peak2D, depending on D</span></div>
<div class="line"> <span class="keyword">typedef</span> <span class="keyword">typename</span> DPeak<D>::Type <a class="code" href="namespaceOpenMS.html#a013338b7bdbb5c3b4c78666656070e23">PeakType</a>;</div>
<div class="line">};</div>
</div><!-- fragment --> </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:31 using doxygen 1.8.5</font></TD>
</TR>
</TABLE>
</BODY>
</HTML>
|