58 template<
typename T,
typename Compare>
65 mySortManager(&myInternalSorter, &myMergeHeap);
67 mySortManager.
sort(&instream, &outstream, &indicator);
77 sort(instream, outstream, comp, *indicator);
92 template<
typename T,
typename Compare>
95 sort(instream, instream, comp, indicator);
104 sort(instream, instream, &indicator);
111 template <
typename T>
113 sort(instream, instream);
120 #endif // _AMI_SORT_H
The base class for indicating the progress of some task.
Null-object progress indicator.
Comparision object based Internal_Sorter_base subclass implementation; uses quick_sort_obj().
This file contains a few deprecated definitions for legacy code.
void sort(file_stream< T > *in, file_stream< T > *out, progress_indicator_base *indicator=NULL)
Sort in stream to out stream an save in stream (uses 3x space)
Contains deprecated sorting algorithms.
Simple class acting both as file and a file::stream.
A class of manager objects for merge sorting objects of type T.
void sort(file_stream< T > &instream, file_stream< T > &outstream, Compare comp, progress_indicator_base &indicator)
Sort elements of a stream using the given STL-style comparator object.