Gamgee
You miserable little maggot. I'll stove your head in!
|
Utility class to enable for-each style iteration in the FastqReader class. More...
#include <fastq_iterator.h>
Public Member Functions | |
FastqIterator () | |
creates an empty iterator (used for the end() method) More... | |
FastqIterator (std::istream *in) | |
initializes a new iterator based on an input stream (e.g. fastq/a file, stdin, ...) More... | |
FastqIterator (const FastqIterator &)=delete | |
a FastqIterator should never be copied as the underlying stream can only be manipulated by one object. More... | |
FastqIterator (FastqIterator &&) | |
a FastqIterator move constructor guarantees all objects will have the same state. More... | |
bool | operator!= (const FastqIterator &rhs) |
inequality operator (needed by for-each loop) More... | |
Fastq & | operator* () |
dereference operator (needed by for-each loop) More... | |
Fastq & | operator++ () |
increment operator (needed by for-each loop) More... | |
Utility class to enable for-each style iteration in the FastqReader class.
gamgee::FastqIterator::FastqIterator | ( | ) |
creates an empty iterator (used for the end() method)
gamgee::FastqIterator::FastqIterator | ( | std::istream * | in | ) |
initializes a new iterator based on an input stream (e.g. fastq/a file, stdin, ...)
in | input stream |
|
delete |
a FastqIterator should never be copied as the underlying stream can only be manipulated by one object.
gamgee::FastqIterator::FastqIterator | ( | FastqIterator && | original | ) |
a FastqIterator move constructor guarantees all objects will have the same state.
bool gamgee::FastqIterator::operator!= | ( | const FastqIterator & | rhs | ) |
inequality operator (needed by for-each loop)
rhs | the other FastqIterator to compare to |
Fastq & gamgee::FastqIterator::operator* | ( | ) |
dereference operator (needed by for-each loop)
Fastq & gamgee::FastqIterator::operator++ | ( | ) |
increment operator (needed by for-each loop)