Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

RawDataPoint1D::PositionLess Struct Reference

#include <OpenMS/KERNEL/RawDataPoint1D.h>

Inheritance diagram for RawDataPoint1D::PositionLess:

binary_function

List of all members.


Detailed Description

Comparator for the position.

Public Member Functions

bool operator() (const RawDataPoint1D &a, const RawDataPoint1D &b) const
bool operator() (RawDataPoint1D const &left, CoordinateType right) const throw ()
 comparison of a RawDataPoint2D with a CoordinateType
bool operator() (CoordinateType left, RawDataPoint1D const &right) const throw ()
 comparison of a CoordinateType with a RawDataPoint2D
bool operator() (CoordinateType left, CoordinateType right) const throw ()
 Operator to check if comparison is done increasing or decreasing.

Member Function Documentation

bool operator() ( const RawDataPoint1D a,
const RawDataPoint1D b 
) const [inline]

bool operator() ( RawDataPoint1D const &  left,
CoordinateType  right 
) const throw () [inline]

comparison of a RawDataPoint2D with a CoordinateType

bool operator() ( CoordinateType  left,
RawDataPoint1D const &  right 
) const throw () [inline]

comparison of a CoordinateType with a RawDataPoint2D

bool operator() ( CoordinateType  left,
CoordinateType  right 
) const throw () [inline]

Operator to check if comparison is done increasing or decreasing.

Sometimes we need a way to find out which way the CoordinateType is sorted and adding this overload seems to be the best way to achieve that goal.


The documentation for this struct was generated from the following file:
Generated Tue Apr 1 15:36:46 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1