Predicate that determines if a spectrum lies inside/outside a specific retention time range. More...
#include <OpenMS/KERNEL/RangeUtils.h>
Public Member Functions | |
InRTRange (double min, double max, bool reverse=false) | |
Constructor. More... | |
bool | operator() (const SpectrumType &s) const |
Protected Attributes | |
double | min_ |
double | max_ |
bool | reverse_ |
Predicate that determines if a spectrum lies inside/outside a specific retention time range.
SpectrumType must be a Spectrum or have the same interface
Constructor.
min | lower boundary |
max | upper boundary |
reverse | if reverse is true, operator() returns true if the spectrum lies outside the range |
|
inline |
References MSSpectrum::getRT(), and HasMetaValue< MetaContainer >::reverse_.
|
protected |
|
protected |
|
protected |
OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:09 using doxygen 1.8.13 |