Function
toCString
Access sequence as c-style string.
Include Headers
seqan/sequence.h
Parameters
A string. |
Remarks
If the alphabet of object is char or wchar_t the return value is a c-style string representing the contents of object .
Calling this function for non-contiguous containers will raise a compilation error.
To create c-style strings for non-contiguous strings or strings with different alphabets, use a CStyle String as an intermediate.
Return Values
For strings that store their elements in a contiguous block (see IsContiguous)
a pointer to first element of object is returned.
The last element is followed by a default constructed element.
Member of
SeqAn - Sequence Analysis Library - www.seqan.de