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

PickedPeak1D::WidthLess Struct Reference

#include <OpenMS/KERNEL/PickedPeak1D.h>

Inheritance diagram for PickedPeak1D::WidthLess:

binary_function

List of all members.


Detailed Description

Comparator for the width.

Lexicographical comparison from dimension 0 to dimension D is done.

Public Member Functions

bool operator() (const PickedPeak1D &a, const PickedPeak1D &b)
bool operator() (PositionType const &left, PositionType const &right) const throw ()
 Operator to check if comparison is done increasing or decreasing.


Member Function Documentation

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

bool operator() ( PositionType const &  left,
PositionType const &  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