OpenMS  2.6.0
Public Member Functions | List of all members
Peak2D::PositionLess Struct Reference

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

#include <OpenMS/KERNEL/Peak2D.h>

Inheritance diagram for Peak2D::PositionLess:
[legend]
Collaboration diagram for Peak2D::PositionLess:
[legend]

Public Member Functions

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

Detailed Description

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

Member Function Documentation

◆ operator()() [1/4]

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

References Peak2D::getPosition().

◆ operator()() [2/4]

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

References Peak2D::getPosition().

◆ operator()() [3/4]

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

References Peak2D::getPosition().

◆ operator()() [4/4]

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