inner class necessary for using the sort algorithm. More...
Public Member Functions | |
Compare (bool b=false) | |
Default constructor with an order flag. More... | |
bool | operator() (const std::pair< std::pair< Int, float >, float > &c1, const std::pair< std::pair< Int, float >, float > &c2) |
overloaded operator() for comparing maps of maps std::pair<std::pair<Int,float>,float>. More... | |
bool | operator() (const std::pair< float, float > &c1, const std::pair< float, float > &c2) |
overloaded operator() for comparing pairs of float, float std::pair<float,float>. More... | |
Protected Attributes | |
bool | flag |
inner class necessary for using the sort algorithm.
Defines several overloaded operator() for usage with the std::sort algorithm
|
inlineexplicit |
Default constructor with an order flag.
|
inline |
overloaded operator() for comparing maps of maps std::pair<std::pair<Int,float>,float>.
If the order 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 order.
|
inline |
overloaded operator() for comparing pairs of float, float std::pair<float,float>.
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 |
OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:10 using doxygen 1.8.13 |