BL_VCF_SET_SINGLE_SAMPLE_AE(3)

LIBRARY
#include <biolibc/vcf.h>
-lbiolibc -lxtend

SYNOPSIS

BL_VCF_SET_SINGLE_SAMPLE_AE(ptr, c, new_single_sample_element)

ARGUMENTS
ptr                     Pointer to a bl_vcf_t structure
c                       Subscript to single_sample array
new_single_sample_element New value for single_sample[c]

DESCRIPTION
Mutator macro for single_sample array elements. Use this macro to set an element of single_sample in a bl_vcf_t structure from functions that are not members of the class. This allows separation of implementation from interface. While the implementation of the bl_vcf_t structure may change, effort is made to preserve the API of functions and macros used to access it. Note that there is an equivalent function bl_vcf_set_single_sample_ae(), which performs this function with data verification. Use the function version for more robust code with a slight performance penalty if the value of new_single_sample_element is not validated by other means.

EXAMPLES
bl_vcf_t        bl_vcf;
size_t          c;
char *          new_single_sample_element;
BL_VCF_SET_SINGLE_SAMPLE_AE(&bl_vcf, c, new_single_sample_element);

SEE ALSO
bl_vcf_set_single_sample_ae(3)
See biolibc/vcf.h for a full list of macros.