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

#define BL_SAM_BUFF_BUFF_SIZE(ptr)      ((ptr)->buff_size)
#define BL_SAM_BUFF_MAX_ALIGNMENTS(ptr) ((ptr)->max_alignments)
#define BL_SAM_BUFF_ALIGNMENTS(ptr)     ((ptr)->alignments)
#define BL_SAM_BUFF_ALIGNMENTS_AE(ptr,c) ((ptr)->alignments[c])
#define BL_SAM_BUFF_BUFFERED_COUNT(ptr) ((ptr)->buffered_count)
#define BL_SAM_BUFF_MAX_COUNT(ptr)      ((ptr)->max_count)
#define BL_SAM_BUFF_PREVIOUS_POS(ptr)   ((ptr)->previous_pos)
#define BL_SAM_BUFF_PREVIOUS_RNAME(ptr) ((ptr)->previous_rname)
#define BL_SAM_BUFF_PREVIOUS_RNAME_AE(ptr,c) ((ptr)->previous_rname[c])
#define BL_SAM_BUFF_MAPQ_MIN(ptr)       ((ptr)->mapq_min)
#define BL_SAM_BUFF_MAPQ_LOW(ptr)       ((ptr)->mapq_low)
#define BL_SAM_BUFF_MAPQ_HIGH(ptr)      ((ptr)->mapq_high)
#define BL_SAM_BUFF_MAPQ_SUM(ptr)       ((ptr)->mapq_sum)
#define BL_SAM_BUFF_READS_USED(ptr)     ((ptr)->reads_used)
#define BL_SAM_BUFF_TOTAL_ALIGNMENTS(ptr) ((ptr)->total_alignments)
#define BL_SAM_BUFF_TRAILING_ALIGNMENTS(ptr) ((ptr)->trailing_alignments)
#define BL_SAM_BUFF_DISCARDED_ALIGNMENTS(ptr) ((ptr)->discarded_alignments)
#define BL_SAM_BUFF_DISCARDED_SCORE_SUM(ptr) ((ptr)->discarded_score_sum)
#define BL_SAM_BUFF_DISCARDED_TRAILING(ptr) ((ptr)->discarded_trailing)
#define BL_SAM_BUFF_MIN_DISCARDED_SCORE(ptr) ((ptr)->min_discarded_score)
#define BL_SAM_BUFF_MAX_DISCARDED_SCORE(ptr) ((ptr)->max_discarded_score)
#define BL_SAM_BUFF_UNMAPPED_ALIGNMENTS(ptr) ((ptr)->unmapped_alignments)
