Function
beginPosition
Begin position of object in host.
Include Headers
seqan/sequence.h
Parameters
An object. |
Remarks
For most classes beginPosition always returns 0. Exceptions are e.g. InfixSegment and SuffixSegment.
Return Values
The position of the first item in host(object) that belongs of object .
Metafunctions: Position
Member of
Examples
std::cout << beginPosition(str) << std::endl;
Infix<CharString >::Type myInfix = infix(str, 1, 5);
std::cout << beginPosition(myInfix) << std::endl;
Part of Concept
See Also
SeqAn - Sequence Analysis Library - www.seqan.de