    
/*
 *  Generated by /usr/local/bin/auto-gen-get-set
 *
 *  Accessor macros.  Use these to access structure members from functions
 *  outside the bl_sam_t class.
 *
 *  These generated macros are not expected to be perfect.  Check and edit
 *  as needed before adding to your code.
 */

#define BL_SAM_QNAME(ptr)               ((ptr)->qname)
#define BL_SAM_QNAME_AE(ptr,c)          ((ptr)->qname[c])
#define BL_SAM_FLAG(ptr)                ((ptr)->flag)
#define BL_SAM_RNAME(ptr)               ((ptr)->rname)
#define BL_SAM_RNAME_AE(ptr,c)          ((ptr)->rname[c])
#define BL_SAM_POS(ptr)                 ((ptr)->pos)
#define BL_SAM_MAPQ(ptr)                ((ptr)->mapq)
#define BL_SAM_CIGAR(ptr)               ((ptr)->cigar)
#define BL_SAM_CIGAR_AE(ptr,c)          ((ptr)->cigar[c])
#define BL_SAM_RNEXT(ptr)               ((ptr)->rnext)
#define BL_SAM_RNEXT_AE(ptr,c)          ((ptr)->rnext[c])
#define BL_SAM_PNEXT(ptr)               ((ptr)->pnext)
#define BL_SAM_TLEN(ptr)                ((ptr)->tlen)
#define BL_SAM_SEQ(ptr)                 ((ptr)->seq)
#define BL_SAM_SEQ_AE(ptr,c)            ((ptr)->seq[c])
#define BL_SAM_QUAL(ptr)                ((ptr)->qual)
#define BL_SAM_QUAL_AE(ptr,c)           ((ptr)->qual[c])
#define BL_SAM_CIGAR_ARRAY_SIZE(ptr)    ((ptr)->cigar_array_size)
#define BL_SAM_CIGAR_LEN(ptr)           ((ptr)->cigar_len)
#define BL_SAM_SEQ_ARRAY_SIZE(ptr)      ((ptr)->seq_array_size)
#define BL_SAM_SEQ_LEN(ptr)             ((ptr)->seq_len)
#define BL_SAM_QUAL_ARRAY_SIZE(ptr)     ((ptr)->qual_array_size)
#define BL_SAM_QUAL_LEN(ptr)            ((ptr)->qual_len)
