OpenMS
|
Predicate that determines if a spectrum was generated using any activation method given in the constructor list. More...
#include <OpenMS/KERNEL/RangeUtils.h>
Public Member Functions | |
HasActivationMethod (const StringList &methods, bool reverse=false) | |
Constructor. More... | |
bool | operator() (const SpectrumType &s) const |
Protected Attributes | |
StringList | methods_ |
bool | reverse_ |
Predicate that determines if a spectrum was generated using any activation method given in the constructor list.
SpectrumType must have a getPrecursors() method
|
inline |
Constructor.
methods | List of methods that is compared against precursor activation methods. |
reverse | if reverse is true, operator() returns true if the spectrum is not using one of the specified activation methods. |
|
inline |
|
protected |
Referenced by HasActivationMethod< SpectrumType >::operator()().
|
protected |
Referenced by HasActivationMethod< SpectrumType >::operator()().