Function
prefix
Creates prefix object.
prefix(host, end)
Include Headers
seqan/sequence.h
Parameters
host
The complete sequence.
end
Position or iterator behind the last element of the segment.
Remarks
Note that a prefix of a Segment object is an SuffixSegment object having the same host type.
Notational sugar.
Return Values
The prefix of host that ends atend.
Remarks: The type of the prefix is given by Prefix.
Examples
CharString str = "ABCDEF";
Prefix<CharString >::Type myPrefix = prefix(str, 3);
 
std::cout << myPrefix << std::endl;
SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2013/07/11 09:12:37