1 #ifndef QNANO_NEW_DISTRIBUTE_SEQUENTIAL_READER_DEFINED_H 2 #define QNANO_NEW_DISTRIBUTE_SEQUENTIAL_READER_DEFINED_H 4 #include "tools/Reader.h" 42 std::string get_line(
int local_line_nr);
44 void setup(
const std::string &filename, std::streampos spos){
48 Reader::check_open(ifs, filename);
53 setup(filename, spos);
Definition: Random_Access_Reader.h:29
std::streampos startpos
position in stream corresponding to starting point for the present thread
Definition: Random_Access_Reader.h:36
int lastline
Number of last processed line; check if we have to seek position or not.
Definition: Random_Access_Reader.h:38
std::ifstream ifs
input stream: only closed on destruction:
Definition: Random_Access_Reader.h:34
std::string lastline_string
String value of last line; good for reading IA files.
Definition: Random_Access_Reader.h:40