Class Specialization
Counter
Extends the input stream by a second field which enumerates the elements.
Pipe
Counter
Pipe<TInput, Counter>
Parameters
TInput
The type of the pipeline module this module reads from.
Specialization of
Functions
assignAssigns one object to another object. (Pipe)
atEndDetermines whether an iterator is at the end position. (Pipe)
beginReadInitiates a read process. (Pipe)
endReadTerminates a read process. (Pipe)
frontGets the first element of the remaining stream. (Pipe)
lengthThe number of items/characters. (Pipe)
popPops the first element of the remaining stream. (Pipe)
Remarks
The output type is a Pair of input type and size type (i.e. Pair<Value<TInput>::Type, Size<TInput>::Type>).
The first output field is the original input stream.
The second output field begins with 0 and increases by 1 per element.
SeqAn - Sequence Analysis Library - www.seqan.de