Class
RecordReader
Buffer management for streams.
RecordReader<TStream, TSpec>
Include Headers
seqan/stream.h
Parameters
TStream
The Stream type to work on.
TSpec
The record reader specialization to chose.
Specializations
Double-Pass RecordReaderRecord reader specialization for double-pass reading.
Single-Pass RecordReaderRecord reader specialization for single-pass reading.
Member Functions
RecordReaderConstructor
Functions
atEndDetermines whether an iterator is at the end position.
checkStreamFormatcheck whether the data provided by reader is (one of) the specified format(s).
countLinecount characters in a line not including \r and \n
goNextIterates to next position.
nextIsQuery whether the next record is of a given type.
read2reads an entire document from a Stream, by the means of RecordReader
readAlphaNumsRead characters from stream as long as characters are letters
readDigitsRead characters from stream as long as characters are digits
readDna5IgnoringWhitespacesRead characters from stream, as long as they are DNA5 characters. Skip over whitespaces.
readFloatRead characters from stream as long as the number is a valid floating point numbers.
readGraphsRead characters from stream as long as characters are graph characters.
readIdentifierRead characters from stream as long as characters are identifiers (alphanumeric, '-', and '_').
readLettersRead characters from stream as long as characters are letters
readLineRead a line from stream and save it to buffer
readLineStripTrailingBlanksRead a line from stream and save it to buffer, remove trailing blanks
readNCharsRead exactly n characters from stream into buffer
readNCharsIgnoringWhitespaceRead n characters from stream into buffer, but skip certain Chars
readRecordreads one record (e.g. a single DNA-sequence and its meta data) from a Stream, by the means of RecordReader Read Lastz "general" format record.
readUntilBlankRead characters from stream into buffer until Blank is encountered
readUntilCharRead characters from stream into buffer until Char is encountered
readUntilOneOfRead characters from stream into buffer until one of the given characters is encountered
readUntilTabOrLineBreakRead characters from stream until a tab or line-break occurs.
readUntilWhitespaceRead characters from stream into buffer until Whitespace is encountered
resultCodeReturns int current status code for reader (0 on success).
skipBlanksSkip (i.e. read without saving) characters from stream until non-Blank is encountered
skipCharSkip one character that must be equal to a given one for this function to succeed.
skipLineSkip a line in stream and go to beginning of next
skipNCharsSkip exactly n characters from stream
skipNCharsIgnoringWhitespaceSkip n characters from stream, not counting whitespaces
skipUntilBlankSkip (i.e. read without saving) characters from stream until Blank is encountered
skipUntilCharSkip (i.e. read without saving) characters from stream until Char is encountered
skipUntilGraphSkip (i.e. read without saving) characters from stream until printable, non-' ' character is encountered
skipUntilLineBeginsWithCharSkip input until the first graphical(see isgraph) character of a line is equal to c
skipUntilLineBeginsWithOneCharOfStrSkip input until a line begins with a one of the characters in str
skipUntilLineBeginsWithStrSkip input until a line begins with str.
skipUntilStringSkip (i.e. read without saving) characters from stream until String is encountered
skipUntilWhitespaceSkip (i.e. read without saving) characters from stream until Whitespace is encountered
skipWhitespacesSkip (i.e. read without saving) characters from stream until non-Whitespace is encountered
valueReference to the value.
SeqAn - Sequence Analysis Library - www.seqan.de
 

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