181     template <
typename T1, 
typename T2>
 
  184       return cmp_(*left, *right);          
 
  230     template <
typename T1, 
typename T2>
 
  233       return cmp_(right, left);          
 
  270   template <
typename Cmp1, 
typename Cmp2>
 
  276     template <
typename T1, 
typename T2>
 
  280       if (
cmp1_(left, right))
 
  286         if (
cmp1_(right, left))
 
  292           return cmp2_(left, right);
 
  310   template <
typename Cmp1, 
typename Cmp2>
 
  319   template <
typename PairType>
 
  322     bool operator()(
const PairType & left, 
const PairType & right)
 const 
  324       return left.first < right.first;
 
  332   template <
typename PairType>
 
  335     bool operator()(
const PairType & left, 
const PairType & right)
 const 
  337       return left.second < right.second;
 
  345   template <
typename PairType>
 
  348     bool operator()(
const PairType & left, 
const PairType & right)
 const 
  350       return left.first > right.first;
 
  358   template <
typename PairType>
 
  361     bool operator()(
const PairType & left, 
const PairType & right)
 const 
  363       return left.second > right.second;
 
  371   template <
typename PairType>
 
  374     bool operator()(
const PairType & left, 
const PairType & right)
 const 
  376       return left.first == right.first;
 
  384   template <
typename PairType>
 
  387     bool operator()(
const PairType & left, 
const PairType & right)
 const 
  389       return left.second == right.second;
 
  401   template <
typename CompareType>
 
  412       CompareType diff = fabs(i - j);
 
const double c
Definition: Constants.h:209
 
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
 
Struct for binary predicate to consider equality with a certain tolerance.
Definition: ComparatorUtils.h:403
 
EqualInTolerance(CompareType &c)
Definition: ComparatorUtils.h:406
 
bool operator()(CompareType i, CompareType j)
Definition: ComparatorUtils.h:410
 
CompareType & tolerance
Definition: ComparatorUtils.h:404
 
A wrapper class that combines two comparators lexicographically. Normally you should use the make-fun...
Definition: ComparatorUtils.h:272
 
bool operator()(T1 left, T2 right) const
Definition: ComparatorUtils.h:278
 
Cmp1 const  & cmp1_
Definition: ComparatorUtils.h:298
 
Cmp2 const  & cmp2_
Definition: ComparatorUtils.h:299
 
LexicographicComparator< Cmp1, Cmp2 > lexicographicComparator(Cmp1 const &cmp1, Cmp2 const &cmp2)
Make-function to create a LexicographicComparator from two other comparators without the need to spec...
Definition: ComparatorUtils.h:311
 
LexicographicComparator(Cmp1 const &cmp1=Cmp1(), Cmp2 const &cmp2=Cmp2())
Definition: ComparatorUtils.h:273
 
Class for comparison of std::pair using first ONLY e.g. for use with std::sort.
Definition: ComparatorUtils.h:347
 
bool operator()(const PairType &left, const PairType &right) const
Definition: ComparatorUtils.h:348
 
Class for comparison of std::pair using first ONLY e.g. for use with std::sort.
Definition: ComparatorUtils.h:321
 
bool operator()(const PairType &left, const PairType &right) const
Definition: ComparatorUtils.h:322
 
Class for comparison of std::pair using second ONLY e.g. for use with std::sort.
Definition: ComparatorUtils.h:360
 
bool operator()(const PairType &left, const PairType &right) const
Definition: ComparatorUtils.h:361
 
Class for comparison of std::pair using second ONLY e.g. for use with std::sort.
Definition: ComparatorUtils.h:334
 
bool operator()(const PairType &left, const PairType &right) const
Definition: ComparatorUtils.h:335
 
Class for comparison of std::pair using first ONLY e.g. for use with std::sort.
Definition: ComparatorUtils.h:373
 
bool operator()(const PairType &left, const PairType &right) const
Definition: ComparatorUtils.h:374
 
Struct for comparison of std::pair using second ONLY e.g. for use with std::sort.
Definition: ComparatorUtils.h:386
 
bool operator()(const PairType &left, const PairType &right) const
Definition: ComparatorUtils.h:387
 
Wrapper that takes a comparator for `something' and makes a comparator for pointers to `something' ou...
Definition: ComparatorUtils.h:173
 
bool operator()(T1 left, T2 right) const
Definition: ComparatorUtils.h:182
 
Cmp const  & cmp_
Definition: ComparatorUtils.h:188
 
PointerComparator(PointerComparator const &pCmp)
Definition: ComparatorUtils.h:174
 
PointerComparator(Cmp const &cmp=Cmp())
Definition: ComparatorUtils.h:177
 
PointerComparator< Cmp > pointerComparator(Cmp const &cmp)
Make-function to create a PointerComparator from another comparator without the need to specify the t...
Definition: ComparatorUtils.h:207
 
Wrapper that reverses (exchanges) the two arguments of a comparator. Normally you should use the make...
Definition: ComparatorUtils.h:223
 
bool operator()(T1 left, T2 right) const
Definition: ComparatorUtils.h:231
 
ReverseComparator(Cmp const &cmp=Cmp())
Definition: ComparatorUtils.h:227
 
Cmp const  & cmp_
Definition: ComparatorUtils.h:237
 
ReverseComparator< Cmp > reverseComparator(Cmp const &cmp)
Make-function to create a ReverseComparator from another comparator without the need to specify the t...
Definition: ComparatorUtils.h:256
 
ReverseComparator(ReverseComparator const &cmp)
Definition: ComparatorUtils.h:224