Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ToVectorEmitter< HashCount > Class Template Reference

Detailed Description

template<typename HashCount>
class thrill::core::ToVectorEmitter< HashCount >

Emitter for a ReduceTable, which emits all of its data into a vector of hash-counter-pairs.

Definition at line 47 of file location_detection.hpp.

+ Inheritance diagram for ToVectorEmitter< HashCount >:

#include <location_detection.hpp>

Public Member Functions

 ToVectorEmitter (std::vector< HashCount > &vec)
 
void Emit (const size_t &, const HashCount &p)
 
void SetModulo (size_t modulo)
 

Private Attributes

size_t modulo_ = 1
 
std::vector< HashCount > & vec_
 

Constructor & Destructor Documentation

ToVectorEmitter ( std::vector< HashCount > &  vec)
inlineexplicit

Definition at line 50 of file location_detection.hpp.

Member Function Documentation

void Emit ( const size_t &  ,
const HashCount &  p 
)
inline
void SetModulo ( size_t  modulo)
inline

Member Data Documentation

std::vector<HashCount>& vec_
private

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