Collection of common predicates for sorting. More...
Go to the source code of this file.
Classes | |
| struct | vbl_sort_helper< T > |
| Collection of common predicates for sorting. More... | |
Defines | |
| #define | VBL_SORT_INSTANTIATE(T) template struct vbl_sort_helper<T > |
Functions | |
| int | vbl_sort_double_ascending (double const &, double const &) |
| Predicate that will sort doubles in ascending order. | |
| int | vbl_sort_double_descending (double const &, double const &) |
| Predicate that will sort in descending order. | |
| int | vbl_sort_int_ascending (int const &, int const &) |
| Ascending integers. | |
| int | vbl_sort_int_descending (int const &, int const &) |
| Descending integers. | |
Collection of common predicates for sorting.
Modifications 971119 AWF Initial version. PDA (Manchester) 21/03/2001: Tidied up the documentation
Definition in file vbl_sort.h.
| #define VBL_SORT_INSTANTIATE | ( | T | ) | template struct vbl_sort_helper<T > |
Definition at line 40 of file vbl_sort.h.
| int vbl_sort_double_ascending | ( | double const & | , |
| double const & | |||
| ) |
Predicate that will sort doubles in ascending order.
Definition at line 14 of file vbl_sort.cxx.
| int vbl_sort_double_descending | ( | double const & | , |
| double const & | |||
| ) |
Predicate that will sort in descending order.
Definition at line 26 of file vbl_sort.cxx.
| int vbl_sort_int_ascending | ( | int const & | , |
| int const & | |||
| ) |
Ascending integers.
Definition at line 38 of file vbl_sort.cxx.
| int vbl_sort_int_descending | ( | int const & | , |
| int const & | |||
| ) |
Descending integers.
Definition at line 50 of file vbl_sort.cxx.
1.7.5.1