Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
DPeak< dimensions > Struct Template Reference

Metafunction to choose among Peak1D respectively Peak2D through a template argument. More...

#include <OpenMS/KERNEL/DPeak.h>

Detailed Description

template<UInt dimensions>
struct OpenMS::DPeak< dimensions >

Metafunction to choose among Peak1D respectively Peak2D through a template argument.

The result is accessible via typedef Type:

Example:

template class BaseModel<UInt D>
{
// BaseModel<D>::PeakType is either Peak1D or Peak2D, depending on D
typedef typename DPeak<D>::Type PeakType;
};

OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:08 using doxygen 1.8.13