OpenMS
2.8.0
|
Predicate that determines if a peak lies inside/outside a specific m/z range. More...
#include <OpenMS/KERNEL/RangeUtils.h>
Public Member Functions | |
InMzRange (double min, double max, bool reverse=false) | |
Constructor. More... | |
bool | operator() (const PeakType &p) const |
Protected Attributes | |
double | min_ |
double | max_ |
bool | reverse_ |
Predicate that determines if a peak lies inside/outside a specific m/z range.
PeakType must have a getPosition() method.
|
inline |
Constructor.
min | lower boundary |
max | upper boundary |
reverse | if reverse is true, operator() returns true if the peak lies outside the range |
|
inline |
|
protected |
Referenced by InMzRange< PeakType >::operator()().
|
protected |
Referenced by InMzRange< PeakType >::operator()().
|
protected |
Referenced by InMzRange< PeakType >::operator()().