1 #ifndef gamgee__fastq_reader__guard
2 #define gamgee__fastq_reader__guard
53 explicit FastqReader(
const std::vector<std::string>& filenames);
92 std::shared_ptr<std::istream> m_input_stream;
94 void init_reader(
const std::string& filename);
99 #endif // gamgee__fastq_reader__guard
Utility class to read many Fastq records from a stream (e.g. Fastq file, stdin, ...) in a for-each loop in a for-each loop.
Definition: fastq_reader.h:36
FastqReader(const std::string &filename)
reads through all records in a file (fasta or fastq) parsing them into Fastq objects ...
Definition: fastq_reader.cpp:17
FastqIterator begin()
creates a FastqIterator pointing at the start of the input stream (needed by for-each loop) ...
Definition: fastq_reader.cpp:39
FastqIterator end()
creates a FastqIterator with a nullified input stream (needed by for-each loop)
Definition: fastq_reader.cpp:43
Utility class to enable for-each style iteration in the FastqReader class.
Definition: fastq_iterator.h:14
Definition: exceptions.h:9
FastqReader & operator=(FastqReader &&)=default