Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ReadLinesNode::InputLineIterator Class Reference

Detailed Description

Definition at line 102 of file read_lines.hpp.

+ Inheritance diagram for ReadLinesNode::InputLineIterator:
+ Collaboration diagram for ReadLinesNode::InputLineIterator:

#include <read_lines.hpp>

Public Member Functions

 InputLineIterator (const vfs::FileList &files, ReadLinesNode &node)
 InputLineIterator (const InputLineIterator &)=delete
 non-copyable: delete copy-constructor More...
 InputLineIterator (InputLineIterator &&)=default
 move-constructor: default More...
InputLineIteratoroperator= (const InputLineIterator &)=delete
 non-copyable: delete assignment operator More...
InputLineIteratoroperator= (InputLineIterator &&)=default
 move-assignment operator: default More...

Protected Member Functions

 ~InputLineIterator ()
bool ReadBlock (vfs::ReadStreamPtr &file, net::BufferBuilder &buffer)

Protected Attributes

net::BufferBuilder buffer_
 Byte buffer to create line std::string values. More...
unsigned char * current_
 Start of next element in current buffer. More...
std::string data_
 String, which Next() references to. More...
size_t file_nr_
 Index of current file in files_. More...
const vfs::FileListfiles_
 Input files with size prefixsum. More...
common::Range my_range_
 (exclusive) [begin,end) of local block More...
 Reference to node. More...
const size_t read_size = data::default_block_size
 Block read size. More...
common::StatsTimerStopped read_timer
size_t total_bytes_ = 0
size_t total_elements_ = 0
size_t total_reads_ = 0

Constructor & Destructor Documentation

InputLineIterator ( const vfs::FileList files,
ReadLinesNode node 

Definition at line 105 of file read_lines.hpp.

InputLineIterator ( const InputLineIterator )

non-copyable: delete copy-constructor

move-constructor: default

Member Function Documentation

InputLineIterator& operator= ( const InputLineIterator )

non-copyable: delete assignment operator

InputLineIterator& operator= ( InputLineIterator &&  )

move-assignment operator: default

Member Data Documentation

size_t total_bytes_ = 0
size_t total_reads_ = 0

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