OpenMS
|
Predicate that determines if a spectrum lies inside/outside a specific MS level set. More...
#include <OpenMS/KERNEL/RangeUtils.h>
Public Member Functions | |
InMSLevelRange (const IntList &levels, bool reverse=false) | |
Constructor. More... | |
bool | operator() (const SpectrumType &s) const |
Protected Attributes | |
IntList | levels_ |
bool | reverse_ |
Predicate that determines if a spectrum lies inside/outside a specific MS level set.
SpectrumType must be a Spectrum or have the same interface
|
inline |
Constructor.
levels | an array of MS levels |
reverse | if reverse is true, operator() returns true if the spectrum lies outside the set |
|
inline |
|
protected |
Referenced by InMSLevelRange< SpectrumType >::operator()().
|
protected |
Referenced by InMSLevelRange< SpectrumType >::operator()().