Class Specialization
Char Array Stream
Thin wrapper around char * to the Stream concept.
![]() | ![]() | ||||||
Char Array Stream |
Include Headers
seqan/stream.h
Parameters
Specification of the pointer type to work on. Types: |
Remarks
This class consists of the char * , another char * to the beginning of the array and a flag signifying EOF.
Note that this is a bounded string variant and might have some performance problems.
One major use case for this is to create a RecordReader of a string for parsing.
Specialization of
Member Functions
Constructor |
Functions
Determines whether an iterator is at the end position. (Stream) | |
Closes a file. (Stream) | |
Opens a file, stream, or persistent string. (Stream) |
Examples
Create a Char Array Stream from a CharString.
Stream<CharArray<char const *> > stream(&buffer[0], &buffer[0] + length(buffer));
SeqAn - Sequence Analysis Library - www.seqan.de