The XLPrecursorComparator is a comparator for XLPrecursors, that allows direct comparison of the XLPrecursor precursor mass with double numbers. More...
#include <OpenMS/ANALYSIS/XLMS/OPXLDataStructs.h>
Public Member Functions | |
bool | operator() (const XLPrecursor &a, const XLPrecursor &b) const |
bool | operator() (const XLPrecursor &a, const double &b) const |
bool | operator() (const double &a, const XLPrecursor &b) const |
The XLPrecursorComparator is a comparator for XLPrecursors, that allows direct comparison of the XLPrecursor precursor mass with double numbers.
This comparator can be used to sort a vector of XLPrecursors by precursor mass and to search for XLPrecursors with precursor masses within a double type mass range.
|
inline |
References OPXLDataStructs::XLPrecursor::precursor_mass.
|
inline |
References OPXLDataStructs::XLPrecursor::precursor_mass.
|
inline |
References OPXLDataStructs::XLPrecursor::precursor_mass.
OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:11 using doxygen 1.8.13 |