dhtslib.memory

Undocumented in source.

Members

Aliases

Bam1
alias Bam1 = SafeHtslibPtr!(bam1_t, bam_destroy1)

reference counted bam1_t wrapper can be used directly as a bam1_t *

BamHdr
alias BamHdr = SafeHtslibPtr!(bam_hdr_t, bam_hdr_destroy)

reference counted bam_hdr_t wrapper can be used directly as a bam_hdr_t *

Bcf1
alias Bcf1 = SafeHtslibPtr!(bcf1_t, bcf_destroy)

reference counted bcf1_t wrapper can be used directly as a bcf1_t *

BcfHdr
alias BcfHdr = SafeHtslibPtr!(bcf_hdr_t, bcf_hdr_destroy)

reference counted bcf_hdr_t wrapper can be used directly as a bcf_hdr_t *

Bgzf
alias Bgzf = SafeHtslibPtr!(BGZF, bgzf_close)

reference counted BGZF wrapper can be used directly as a BGZF *

Faidx
alias Faidx = SafeHtslibPtr!(faidx_t, fai_destroy)

reference counted faidx_t wrapper can be used directly as a faidx_t *

HtsFile
alias HtsFile = SafeHtslibPtr!(htsFile, hts_close)

reference counted htsFile wrapper can be used directly as a htsFile *

HtsIdx
alias HtsIdx = SafeHtslibPtr!(hts_idx_t, hts_idx_destroy)

reference counted htsFile wrapper can be used directly as a htsFile *

HtsItr
alias HtsItr = SafeHtslibPtr!(hts_itr_t, hts_itr_destroy)

reference counted htsFile wrapper can be used directly as a htsFile *

HtsItrMulti
alias HtsItrMulti = HtsItr
Undocumented in source.
Kstring
alias Kstring = SafeHtslibPtr!(kstring_t, ks_free)

reference counted Kstring wrapper can be used directly as a kstring_t *

Tbx
alias Tbx = SafeHtslibPtr!(tbx_t, tbx_destroy)

reference counted tbx_t wrapper can be used directly as a tbx_t *

VcfFile
alias VcfFile = HtsFile

reference counted htsFile wrapper can be used directly as a htsFile *

Manifest constants

dip1000Enabled
enum dip1000Enabled;

can we use @live for scope checking?

Structs

SafeHtslibPtr
struct SafeHtslibPtr(T, alias destroyFun)

Template struct that wraps an htslib pointer and reference counts it and then destroys with destroyFun when it goes truly out of scope

Meta