fm::icomparator< T > Class Template Reference

A utility to sort an array in descending order, using operator<. More...

#include <FMSort.h>

Inheritance diagram for fm::icomparator< T >:

fm::comparator< T > List of all members.

Public Member Functions

virtual ~icomparator ()
 Destructor.
virtual bool compare (const T &a, const T &b)
 Compares two elements in descending order, using operator<.

Detailed Description

template<class T>
class fm::icomparator< T >

A utility to sort an array in descending order, using operator<.


Member Function Documentation

template<class T>
virtual bool fm::icomparator< T >::compare const T &  a,
const T &  b
[inline, virtual]
 

Compares two elements in descending order, using operator<.

Override this function to define your custom comparator.

Parameters:
a The first element.
b The second element.
Returns:
True if a is greater than b, false otherwise.

Reimplemented from fm::comparator< T >.


The documentation for this class was generated from the following file:
Generated on Thu Feb 14 16:58:42 2008 for FCollada by  doxygen 1.4.6-NO