Spec Shifter
Shifts the input stream by delta elements.

Extends Pipe
All Extended Pipe
Defined in <seqan/pipe.h>
Signature template <typename TInput, int DELTA[, bool OMIT_BLANK]> class Pipe<TInput, Shifter<DELTA, OMIT_BLANK> >;

Template Parameters

TInput The type of the pipeline module this module reads from.
OMIT_BLANK Omit undefined entries. If true, the output stream is |delta| elements shorter than the input stream. If false, the lengths are equal and blanks (default constructed elements) are inserted on the cut-off-opposite side, defaults to false.
DELTA The shift size. For the output stream holds out[i]=in[i+delta]. For delta>0 the input stream is cut of at the beginning and for delta<0 at the end.

Member Function Overview

Member Functions Inherited From Pipe

Interface Function Overview

Interface Functions Inherited From Pipe

Interface Metafunction Overview

Interface Metafunctions Inherited From Pipe

Detailed Description

The output type equals the input type.