#include <sorter.h>
Public Member Functions | |
Sorter (SortCondition sort, uint32_t num_of_sorted) | |
~Sorter (void) | |
void | sort (std::vector< T > &rs) |
Lux::Sorter< T >::Sorter | ( | SortCondition | sort, | |
uint32_t | num_of_sorted | |||
) | [inline] |
constructor
sort | SortCondition object | |
num_of_sorted | the number of records to be sorted |
Lux::Sorter< T >::~Sorter | ( | void | ) | [inline] |
destructor
void Lux::Sorter< T >::sort | ( | std::vector< T > & | rs | ) | [inline] |
sort records @
[TODO] BAD CODE. only functor should be selected in the case clause.