Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ZipWindowReader< ZipWindowNode, true > Class Template Reference

Detailed Description

template<typename ZipWindowNode>
class thrill::api::ZipWindowReader< ZipWindowNode, true >

template specialization Reader which delivers std::array<>s to ZipFunction

Definition at line 536 of file zip_window.hpp.

+ Collaboration diagram for ZipWindowReader< ZipWindowNode, true >:

#include <zip_window.hpp>

Public Types

using Reader = data::CatStream::CatReader
 
template<size_t Index>
using ZipArgN = typename ZipWindowTraits< ZipFunction >::template value_type_plain< Index >
 
using ZipFunction = typename ZipWindowNode::ZipFunction
 
template<size_t Index>
using ZipVectorN = typename ZipWindowTraits< ZipFunction >::template vector_plain< Index >
 

Public Member Functions

 ZipWindowReader (ZipWindowNode &zip_node, std::array< Reader, kNumInputs > &readers)
 
bool HasNext ()
 helper for PushData() which checks all inputs More...
 
template<typename Index >
const ZipVectorN< Index::index > & operator() (const Index &)
 

Static Public Attributes

static constexpr size_t kNumInputs = ZipWindowNode::kNumInputs
 
static constexpr size_t Pad = ZipWindowNode::Pad
 

Private Attributes

std::array< Reader, kNumInputs > & readers_
 reference to the reader array in PushData(). More...
 
ZipWindowTraits< ZipFunction >
::vector_tuple_plain 
vectors_
 tuple of std::vector<>s More...
 
ZipWindowNodezip_node_
 

Member Typedef Documentation

Definition at line 539 of file zip_window.hpp.

using ZipArgN = typename ZipWindowTraits<ZipFunction> ::template value_type_plain<Index>

Definition at line 547 of file zip_window.hpp.

Definition at line 540 of file zip_window.hpp.

using ZipVectorN = typename ZipWindowTraits<ZipFunction> ::template vector_plain<Index>

Definition at line 552 of file zip_window.hpp.

Constructor & Destructor Documentation

ZipWindowReader ( ZipWindowNode zip_node,
std::array< Reader, kNumInputs > &  readers 
)
inline

Definition at line 554 of file zip_window.hpp.

Member Function Documentation

const ZipVectorN<Index::index>& operator() ( const Index &  )
inline

Member Data Documentation

constexpr size_t kNumInputs = ZipWindowNode::kNumInputs
static

Definition at line 542 of file zip_window.hpp.

constexpr size_t Pad = ZipWindowNode::Pad
static

Definition at line 541 of file zip_window.hpp.

std::array<Reader, kNumInputs>& readers_
private

reference to the reader array in PushData().

Definition at line 600 of file zip_window.hpp.

ZipWindowTraits<ZipFunction>::vector_tuple_plain vectors_
private

tuple of std::vector<>s

Definition at line 603 of file zip_window.hpp.

ZipWindowNode& zip_node_
private

Definition at line 597 of file zip_window.hpp.


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