Thrill  0.1
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:

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...
 
ReadLinesNodenode_
 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() [1/3]

InputLineIterator ( const vfs::FileList files,
ReadLinesNode node 
)
inline

Definition at line 105 of file read_lines.hpp.

References ReadLinesNode::InputLineIterator::operator=().

◆ InputLineIterator() [2/3]

InputLineIterator ( const InputLineIterator )
delete

non-copyable: delete copy-constructor

◆ InputLineIterator() [3/3]

move-constructor: default

◆ ~InputLineIterator()

~InputLineIterator ( )
inlineprotected

Member Function Documentation

◆ operator=() [1/2]

InputLineIterator& operator= ( const InputLineIterator )
delete

non-copyable: delete assignment operator

Referenced by ReadLinesNode::InputLineIterator::InputLineIterator().

◆ operator=() [2/2]

InputLineIterator& operator= ( InputLineIterator &&  )
default

move-assignment operator: default

◆ ReadBlock()

Member Data Documentation

◆ buffer_

◆ current_

◆ data_

◆ file_nr_

◆ files_

◆ my_range_

◆ node_

◆ read_size

◆ read_timer

common::StatsTimerStopped read_timer
protected

◆ total_bytes_

size_t total_bytes_ = 0
protected

Definition at line 139 of file read_lines.hpp.

◆ total_elements_

size_t total_elements_ = 0
protected

◆ total_reads_

size_t total_reads_ = 0
protected

Definition at line 140 of file read_lines.hpp.


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