OpenMS
Peak1D::PositionLess Struct Reference

Comparator by position. As this class has dimension 1, this is basically an alias for MZLess. More...

#include <OpenMS/KERNEL/Peak1D.h>

Public Member Functions

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

Detailed Description

Comparator by position. As this class has dimension 1, this is basically an alias for MZLess.

Member Function Documentation

◆ operator()() [1/4]

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

References Peak1D::getPosition().

◆ operator()() [2/4]

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

References Peak1D::getPosition().

◆ operator()() [3/4]

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

References Peak1D::getPosition().

◆ operator()() [4/4]

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