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

RawDataPoint2D::NthPositionLess Struct Template Reference

#include <OpenMS/KERNEL/RawDataPoint2D.h>

Inheritance diagram for RawDataPoint2D::NthPositionLess:

binary_function

List of all members.


Detailed Description

template<UInt i>
struct OpenMS::RawDataPoint2D::NthPositionLess< i >

Comparator for the n-th coordinate of the position.

Public Types

enum  { DIMENSION = i }

Public Member Functions

bool operator() (RawDataPoint2D const &left, RawDataPoint2D const &right) const throw ()
 comparison of two RawDataPoint2Ds
bool operator() (RawDataPoint2D const &left, CoordinateType right) const throw ()
 comparison of a RawDataPoint2D with a CoordinateType
bool operator() (CoordinateType left, RawDataPoint2D 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 Enumeration Documentation

anonymous enum

Enumerator:
DIMENSION 


Member Function Documentation

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

comparison of two RawDataPoint2Ds

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

comparison of a RawDataPoint2D with a CoordinateType

bool operator() ( CoordinateType  left,
RawDataPoint2D 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