Predicate that determines if a peak lies inside/outside a specific intensity range. More...
#include <OpenMS/KERNEL/RangeUtils.h>
Public Member Functions | |
| InIntensityRange (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 intensity range.
PeakType must have a getIntensity() method.
|
inline |
Constructor.
| min | lower boundary |
| max | upper boundary |
| reverse | if reverse is true, operator() returns true if the peak lies outside the set |
References Peak2D::getIntensity(), and HasMetaValue< MetaContainer >::reverse_.
|
protected |
|
protected |
|
protected |
| OpenMS / TOPP release 2.0.0 | Documentation generated on Wed Mar 30 2016 12:49:28 using doxygen 1.8.11 |