Thrill  0.1
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 48 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()

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

Definition at line 51 of file location_detection.hpp.

Member Function Documentation

◆ Emit()

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

Definition at line 58 of file location_detection.hpp.

◆ SetModulo()

void SetModulo ( size_t  modulo)
inline

Definition at line 54 of file location_detection.hpp.

Member Data Documentation

◆ modulo_

◆ vec_

std::vector<HashCount>& vec_
private

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