OpenMS
MobilityPeak2D::PositionLess Struct Reference

Comparator by position. Lexicographical comparison (first IM then m/z) is done. More...

#include <OpenMS/KERNEL/MobilityPeak2D.h>

Public Member Functions

bool operator() (const MobilityPeak2D &left, const MobilityPeak2D &right) const
 
bool operator() (const MobilityPeak2D &left, const PositionType &right) const
 
bool operator() (const PositionType &left, const MobilityPeak2D &right) const
 
bool operator() (const PositionType &left, const PositionType &right) const
 

Detailed Description

Comparator by position. Lexicographical comparison (first IM then m/z) is done.

Member Function Documentation

◆ operator()() [1/4]

bool operator() ( const MobilityPeak2D left,
const MobilityPeak2D right 
) const
inline

◆ operator()() [2/4]

bool operator() ( const MobilityPeak2D left,
const PositionType right 
) const
inline

◆ operator()() [3/4]

bool operator() ( const PositionType left,
const MobilityPeak2D right 
) const
inline

◆ operator()() [4/4]

bool operator() ( const PositionType left,
const PositionType right 
) const
inline