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

Metafunction to choose among RichPeak1D respectively RichPeak2D through a template argument. More...

#include <OpenMS/KERNEL/DRichPeak.h>

Detailed Description

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

Metafunction to choose among RichPeak1D respectively RichPeak2D through a template argument.

The result is accessible via typedef Type.

Example:

template class BaseModel<UInt D>
{
// BaseModel<D>::PeakType is either RichPeak1D or RichPeak2D, depending on D
typedef typename DRichPeak<D>::Type PeakType;
};

OpenMS / TOPP release 2.0.0 Documentation generated on Tue Aug 25 2015 05:54:00 using doxygen 1.8.9.1