Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

vbl_sort.h File Reference


Detailed Description

Collection of common predicates for sorting.

Author:
Andrew W. Fitzgibbon, Oxford RRG
Date:
19 Nov 97
   Modifications
   971119 AWF Initial version.
   PDA (Manchester) 21/03/2001: Tidied up the documentation
   

Definition in file vbl_sort.h.

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.


Define Documentation

#define VBL_SORT_INSTANTIATE  )     template struct vbl_sort_helper<T >
 

Definition at line 40 of file vbl_sort.h.


Function Documentation

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.


Generated on Thu Jan 10 14:39:08 2008 for core/vbl by  doxygen 1.4.4