innerclass necessary for using the sort algo. More...
Public Member Functions | |
| Compare (bool b=false) | |
| Default constructor with an order flag. | |
| bool | operator() (const std::pair< std::pair< Int, Real >, Real > &c1, const std::pair< std::pair< Int, Real >, Real > &c2) |
| overloaded operator() for comparing maps of maps std::pair<std::pair<Int,Real>,Real>. If flag is false the second argument of the outer map is selected. The output is an ascending order. If the order flag is true, the first argument of the inner class is selected to get a descending oder. | |
| bool | operator() (const std::pair< Real, Real > &c1, const std::pair< Real, Real > &c2) |
| overloaded operator() for comparing pairs of Real, Real std::pair<Real,Real>. If the order flag is false, an ascending order are returned else a descending. The comparison is done by the first argument of the map. | |
Protected Attributes | |
| bool | flag |
innerclass necessary for using the sort algo.
Defines serveral overloaded operator() for using the std::sort algorithm
| Compare | ( | bool | b = false |
) | [inline] |
Default constructor with an order flag.
| bool operator() | ( | const std::pair< std::pair< Int, Real >, Real > & | c1, | |
| const std::pair< std::pair< Int, Real >, Real > & | c2 | |||
| ) | [inline] |
overloaded operator() for comparing maps of maps std::pair<std::pair<Int,Real>,Real>. If flag is false the second argument of the outer map is selected. The output is an ascending order. If the order flag is true, the first argument of the inner class is selected to get a descending oder.
overloaded operator() for comparing pairs of Real, Real std::pair<Real,Real>. If the order flag is false, an ascending order are returned else a descending. The comparison is done by the first argument of the map.
bool flag [protected] |
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:49 using doxygen 1.7.1 |