OpenMS  2.4.0
Public Member Functions | List of all members
OPXLDataStructs::AASeqWithMassComparator Struct Reference

The AASeqWithMassComparator is a comparator for AASeqWithMass objects. More...

#include <OpenMS/ANALYSIS/XLMS/OPXLDataStructs.h>

Public Member Functions

bool operator() (const AASeqWithMass a, const AASeqWithMass b) const
 
bool operator() (const AASeqWithMass a, const double b) const
 
bool operator() (const double a, const AASeqWithMass b) const
 

Detailed Description

The AASeqWithMassComparator is a comparator for AASeqWithMass objects.

This comparator allows to sort AASeqWithMass objects by the precomputed peptide mass and search for AASeqWithMass objects within a double type mass range.

Member Function Documentation

◆ operator()() [1/3]

bool operator() ( const AASeqWithMass  a,
const AASeqWithMass  b 
) const
inline

◆ operator()() [2/3]

bool operator() ( const AASeqWithMass  a,
const double  b 
) const
inline

◆ operator()() [3/3]

bool operator() ( const double  a,
const AASeqWithMass  b 
) const
inline