Predicate that determines if a spectrum has a certain precursor charge as given in the constructor list. More...
#include <OpenMS/KERNEL/RangeUtils.h>
 
  
 | Public Member Functions | |
| HasPrecursorCharge (const IntList &charges, bool reverse=false) | |
| Constructor.  More... | |
| bool | operator() (const SpectrumType &s) const | 
| Protected Attributes | |
| IntList | charges_ | 
| bool | reverse_ | 
Predicate that determines if a spectrum has a certain precursor charge as given in the constructor list.
SpectrumType must have a getPrecursors() method
| 
 | inline | 
Constructor.
| charges | List of charges that is compared against precursor charge. | 
| reverse | if reverseis true, operator() returns true if the spectrum has not one of the specified precursor charges. | 
| 
 | inline | 
| 
 | protected | 
Referenced by HasPrecursorCharge< SpectrumType >::operator()().
| 
 | protected | 
Referenced by HasPrecursorCharge< SpectrumType >::operator()().
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:32 using doxygen 1.8.5 |