Function
atEnd
Determines whether an iterator is at the end position.
bool atEnd(iterator [, container])
atEnd(recordReader)
atEnd(file,object);
atEnd(file,it)
Include Headers
seqan/basic.h, seqan/blast.h, seqan/graph_types.h, seqan/stream.h
Parameters
iterator
An iterator.
container
Container of iterator.
Remarks: If iterator implements RootedIteratorConcept then container is optional.
recordReader
The RecordReader to query the state of.
file
A file stream.
A file stream.
it
A Blast report.
An iterator.
Return Values
true if iterator points behind the last item of the container, otherwise false.
This function returns true if the file is at end or there was an error reading. It returns false if there is more data to read. In parsing functions, you can use resultCode to get the result to return from your parsing function.
Example Programs
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2012/10/02 11:10:30