Stxxl  1.3.2
Public Types | Public Member Functions | Public Attributes | List of all members
stream::sorted_runs< TriggerEntryType > Struct Template Reference

All sorted runs of a sort operation. More...

#include <sorted_runs.h>

Inheritance diagram for stream::sorted_runs< TriggerEntryType >:
Inheritance graph
[legend]

Public Types

typedef TriggerEntryType trigger_entry_type
 
typedef
trigger_entry_type::block_type 
block_type
 
typedef block_type::value_type value_type
 
typedef std::vector
< trigger_entry_type > 
run_type
 
typedef std::vector< value_type > small_run_type
 
typedef stxxl::external_size_type size_type
 
typedef std::vector< run_type >
::size_type 
run_index_type
 

Public Member Functions

const small_run_type & small_run () const
 
void deallocate_blocks ()
 Deallocates the blocks which the runs occupy. More...
 
size_type size () const
 

Public Attributes

size_type elements
 
std::vector< run_type > runs
 
std::vector< size_type > runs_sizes
 
small_run_type small_
 

Detailed Description

template<typename TriggerEntryType>
struct stream::sorted_runs< TriggerEntryType >

All sorted runs of a sort operation.

Member Function Documentation

template<typename TriggerEntryType>
void stream::sorted_runs< TriggerEntryType >::deallocate_blocks ( )
inline

Deallocates the blocks which the runs occupy.

Remarks
Usually there is no need in calling this method, since the runs_merger calls it when it is being destructed

The documentation for this struct was generated from the following file: