Metafunction to choose among RichPeak1D respectively RichPeak2D through a template argument. More...
#include <OpenMS/KERNEL/DRichPeak.h>
Metafunction to choose among RichPeak1D respectively RichPeak2D through a template argument.
The result is accessible via typedef Type.
DRichPeak<1>::Type is RichPeak1D DRichPeak<2>::Type is RichPeak2D 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 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:54 using doxygen 1.7.1 |