fn() getBamTypeCharReturn char identifying the type of the argument type.
Return char identifying the type of the argument type.
Defined in | <seqan/bam_io.h> |
---|---|
Signature |
char getBamTypeChar<T>();
BamTypeChar<T>::VALUE
|
Template Parameters
T |
The type to query for its type char. |
---|
Detailed Description
Remarks
Note that this function is defined for the int16_t, uint16_t etc. but not for the types short, int etc. An exception are 8-bit characters/char, where it is defined for int8_t, uint8_t, and char unless char is equal to one of the other two types. This is important when used in setTagValue etc. since BAM gives type chars for printable characters, signed 8-bit numbers and unsigned 8-bit numbers.
If int8_t and uint8_t are not identical to char, we can make this decision from the type, otherwise we cannot and we will give the integer types a higher precedence.
In your programs, this should not make any difference, only the written SAM/BAM will differ.
Data Races
Thread safety unknown!