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

DRawDataPoint::NthPositionLess Struct Template Reference

#include <OpenMS/KERNEL/DRawDataPoint.h>

Inheritance diagram for DRawDataPoint::NthPositionLess:

binary_function

List of all members.


Detailed Description

template<UInt D>
template<UInt i>
struct OpenMS::DRawDataPoint< D >::NthPositionLess< i >

Comparator for the i-th coordinate of the position.

Public Types

enum  { DIMENSION = i }

Public Member Functions

bool operator() (DRawDataPoint const &left, DRawDataPoint const &right) const throw ()
 comparison of two DRawDataPoints
bool operator() (DRawDataPoint const &left, CoordinateType right) const throw ()
 comparison of a DRawDataPoint with a CoordinateType
bool operator() (CoordinateType left, DRawDataPoint const &right) const throw ()
 comparison of a CoordinateType with a DRawDataPoint
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() ( DRawDataPoint const &  left,
DRawDataPoint const &  right 
) const throw () [inline]

comparison of two DRawDataPoints

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

comparison of a DRawDataPoint with a CoordinateType

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

comparison of a CoordinateType with a DRawDataPoint

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:45 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1