Predicate that determines if a spectrum has a certain scan mode. More...
#include <OpenMS/KERNEL/RangeUtils.h>
Public Member Functions | |
| HasScanMode (Int mode, bool reverse=false) | |
| Constructor. More... | |
| bool | operator() (const SpectrumType &s) const |
Protected Attributes | |
| Int | mode_ |
| bool | reverse_ |
Predicate that determines if a spectrum has a certain scan mode.
SpectrumType must be a Spectrum or have the same interface (SpectrumSettings)
|
inline |
Constructor.
| mode | scan mode |
| reverse | if reverse is true, operator() returns true if the spectrum has a different scan mode |
|
inline |
References HasScanMode< SpectrumType >::mode_, and HasScanMode< SpectrumType >::reverse_.
|
protected |
Referenced by HasScanMode< SpectrumType >::operator()().
|
protected |
Referenced by HasScanMode< SpectrumType >::operator()().
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:32 using doxygen 1.8.5 |