Predicate that determines if a spectrum lies inside/outside a specific retention time range. More...
#include <OpenMS/KERNEL/RangeUtils.h>
Public Member Functions | |
| InRTRange (DoubleReal min, DoubleReal max, bool reverse=false) | |
| Constructor. | |
| bool | operator() (const SpectrumType &s) const |
Protected Attributes | |
| DoubleReal | min_ |
| DoubleReal | 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
| InRTRange | ( | DoubleReal | min, | |
| DoubleReal | max, | |||
| bool | reverse = false | |||
| ) | [inline] |
Constructor.
| min | lower boundary | |
| max | upper boundary | |
| reverse | if reverse is true, operator() returns true if the spectrum lies outside the range |
| bool operator() | ( | const SpectrumType & | s | ) | const [inline] |
DoubleReal max_ [protected] |
Referenced by InRTRange< SpectrumType >::operator()().
DoubleReal min_ [protected] |
Referenced by InRTRange< SpectrumType >::operator()().
bool reverse_ [protected] |
Referenced by InRTRange< SpectrumType >::operator()().
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:55 using doxygen 1.7.1 |