OpenMS
2.5.0
|
Predicate that determines if a spectrum is empty. More...
#include <OpenMS/KERNEL/RangeUtils.h>
Public Member Functions | |
IsEmptySpectrum (bool reverse=false) | |
Constructor. More... | |
bool | operator() (const SpectrumType &s) const |
Protected Attributes | |
bool | reverse_ |
Predicate that determines if a spectrum is empty.
SpectrumType must have a empty() method
|
inlineexplicit |
Constructor.
reverse | if reverse is true, operator() returns true if the spectrum is not empty |
|
inline |
References IsEmptySpectrum< SpectrumType >::reverse_.
|
protected |
Referenced by IsEmptySpectrum< SpectrumType >::operator()().