1 #ifndef __foghorn__fastq_reader__
2 #define __foghorn__fastq_reader__
85 std::istream* m_input_stream;
86 std::ifstream m_file_stream;
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:34
FastqReader(const std::string &filename)
reades through all records in a file (fasta or fastq) parsing them into Fastq objects ...
Definition: fastq_reader.cpp:14
FastqIterator begin()
creates a FastqIterator pointing at the start of the input stream (needed by for-each loop) ...
Definition: fastq_reader.cpp:29
FastqIterator end()
creates a FastqIterator with a nullified input stream (needed by for-each loop)
Definition: fastq_reader.cpp:33
Utility class to enable for-each style iteration in the FastqReader class.
Definition: fastq_iterator.h:12
~FastqReader()
closes the file stream if there is one (in case we are reading a fasta/fastq file) ...
Definition: fastq_reader.cpp:21