OpenMS
Loading...
Searching...
No Matches
IsZoomSpectrum< SpectrumType > Class Template Reference

Predicate that determines if a spectrum is a zoom (enhanced resolution) spectrum. More...

#include <OpenMS/KERNEL/RangeUtils.h>

Collaboration diagram for IsZoomSpectrum< SpectrumType >:
[legend]

Public Member Functions

 IsZoomSpectrum (bool reverse=false)
 Constructor.
 
bool operator() (const SpectrumType &s) const
 

Protected Attributes

bool reverse_
 

Detailed Description

template<class SpectrumType>
class OpenMS::IsZoomSpectrum< SpectrumType >

Predicate that determines if a spectrum is a zoom (enhanced resolution) spectrum.

SpectrumType must have a getInstrumentSettings() method

Constructor & Destructor Documentation

◆ IsZoomSpectrum()

template<class SpectrumType >
IsZoomSpectrum ( bool  reverse = false)
inlineexplicit

Constructor.

Parameters
[in]reverseif reverse is true, operator() returns true if the spectrum is not a zoom spectrum

Member Function Documentation

◆ operator()()

Member Data Documentation

◆ reverse_

template<class SpectrumType >
bool reverse_
protected