# Enum BamHeaderRecordType
Enumeration for the header record type.

Defined in | <seqan/bam_io.h>
Signature | `enum BamHeaderRecordType;`

## Enum Values

`BAM_HEADER_FIRST = 0` | Is the first header (HD).
`BAM_HEADER_REFERENCE = 1` | Is a reference (SQ) header.
`BAM_HEADER_READ_GROUP = 2` | Is a read group (RG) header.
`BAM_HEADER_PROGRAM = 3` | Is a program (PG) header.
`BAM_HEADER_COMMENT = 4` | Is a comment (CO) header.

#### Dox Sources

    /*!
     * @enum BamHeaderRecordType
     *
     * @headerfile <seqan/bam_io.h>
     *
     * @brief Enumeration for the header record type.
     *
     * @signature enum BamHeaderRecordType;
     *
     * @val BamHeaderRecordType BAM_HEADER_FIRST = 0;
     *
     * @brief Is the first header (HD).
     *
     * @val BamHeaderRecordType BAM_HEADER_REFERENCE = 1;
     *
     * @brief Is a reference (SQ) header.
     *
     * @val BamHeaderRecordType BAM_HEADER_READ_GROUP = 2;
     *
     * @brief Is a read group (RG) header.
     *
     * @val BamHeaderRecordType BAM_HEADER_PROGRAM = 3;
     *
     * @brief Is a program (PG) header.
     *
     * @val BamHeaderRecordType BAM_HEADER_COMMENT = 4;
     *
     * @brief Is a comment (CO) header.
     */