Stxxl
1.4.0
|
Forms sorted runs of data from a stream. More...
#include <sort_stream.h>
Public Types | |
typedef base::cmp_type | cmp_type |
typedef base::value_type | value_type |
typedef base::block_type | block_type |
typedef base::sorted_runs_data_type | sorted_runs_data_type |
typedef base::sorted_runs_type | sorted_runs_type |
Public Member Functions | |
runs_creator (Input_ &input, CompareType_ cmp, unsigned_type memory_to_use) | |
Creates the object. | |
Private Types | |
typedef basic_runs_creator < Input_, CompareType_, BlockSize_, AllocStr_ > | base |
Forms sorted runs of data from a stream.
Input_ | type of the input stream |
CompareType_ | type of omparison object used for sorting the runs |
BlockSize_ | size of blocks used to store the runs |
AllocStr_ | functor that defines allocation strategy for the runs |
Definition at line 353 of file sort_stream.h.
typedef basic_runs_creator<Input_, CompareType_, BlockSize_, AllocStr_> stxxl::stream::runs_creator< Input_, CompareType_, BlockSize_, AllocStr_ >::base [private] |
Definition at line 356 of file sort_stream.h.
typedef base::block_type stxxl::stream::runs_creator< Input_, CompareType_, BlockSize_, AllocStr_ >::block_type |
Reimplemented from stxxl::stream::basic_runs_creator< Input_, CompareType_, BlockSize_, AllocStr_ >.
Definition at line 361 of file sort_stream.h.
typedef base::cmp_type stxxl::stream::runs_creator< Input_, CompareType_, BlockSize_, AllocStr_ >::cmp_type |
Reimplemented from stxxl::stream::basic_runs_creator< Input_, CompareType_, BlockSize_, AllocStr_ >.
Definition at line 359 of file sort_stream.h.
typedef base::sorted_runs_data_type stxxl::stream::runs_creator< Input_, CompareType_, BlockSize_, AllocStr_ >::sorted_runs_data_type |
Reimplemented from stxxl::stream::basic_runs_creator< Input_, CompareType_, BlockSize_, AllocStr_ >.
Definition at line 362 of file sort_stream.h.
typedef base::sorted_runs_type stxxl::stream::runs_creator< Input_, CompareType_, BlockSize_, AllocStr_ >::sorted_runs_type |
Reimplemented from stxxl::stream::basic_runs_creator< Input_, CompareType_, BlockSize_, AllocStr_ >.
Definition at line 363 of file sort_stream.h.
typedef base::value_type stxxl::stream::runs_creator< Input_, CompareType_, BlockSize_, AllocStr_ >::value_type |
Reimplemented from stxxl::stream::basic_runs_creator< Input_, CompareType_, BlockSize_, AllocStr_ >.
Definition at line 360 of file sort_stream.h.
stxxl::stream::runs_creator< Input_, CompareType_, BlockSize_, AllocStr_ >::runs_creator | ( | Input_ & | input, |
CompareType_ | cmp, | ||
unsigned_type | memory_to_use | ||
) | [inline] |
Creates the object.
i | input stream |
c | comparator object |
memory_to_use | memory amount that is allowed to used by the sorter in bytes |
Definition at line 370 of file sort_stream.h.