Lux::Sorter< T > Class Template Reference

#include <sorter.h>

List of all members.

Public Member Functions

 Sorter (SortCondition sort, uint32_t num_of_sorted)
 ~Sorter (void)
void sort (std::vector< T > &rs)


Detailed Description

template<class T>
class Lux::Sorter< T >

sorter interface


Constructor & Destructor Documentation

template<class T>
Lux::Sorter< T >::Sorter ( SortCondition  sort,
uint32_t  num_of_sorted 
) [inline]

constructor

Parameters:
sort SortCondition object
num_of_sorted the number of records to be sorted

template<class T>
Lux::Sorter< T >::~Sorter ( void   )  [inline]

destructor


Member Function Documentation

template<class T>
void Lux::Sorter< T >::sort ( std::vector< T > &  rs  )  [inline]

sort records @

[TODO] BAD CODE. only functor should be selected in the case clause.


The documentation for this class was generated from the following file:
Generated on Fri Feb 5 15:50:30 2010 for Lux by  doxygen 1.4.7