htslib.hts_expr

Undocumented in source.

Members

Aliases

hts_expr_sym_func
alias hts_expr_sym_func = int function(void* data, char* str, char** end, hts_expr_val_t* res)

Type for expression symbol lookups; name -> value.

Functions

hts_expr_val_exists
int hts_expr_val_exists(hts_expr_val_t* v)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_expr_val_existsT
int hts_expr_val_existsT(hts_expr_val_t* v)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_expr_val_free
void hts_expr_val_free(hts_expr_val_t* f)

Frees a hts_expr_val_t type.

hts_expr_val_undef
void hts_expr_val_undef(hts_expr_val_t* v)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_filter_eval
int hts_filter_eval(hts_filter_t* filt, void* data, int function() sym_func, hts_expr_val_t* res)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hts_filter_eval2
int hts_filter_eval2(hts_filter_t* filt, void* data, int function() sym_func, hts_expr_val_t* res)

@param filt The filter, produced by hts_filter_init @param data Arbitrary caller data, passed into sym_func @param sym_func Callback function to lookup variables. @param res Filled out with the result of the filter evaluation @return Returns 0 on success, -1 on failure

hts_filter_free
void hts_filter_free(hts_filter_t* filt)

@param filt The filter pointer.

hts_filter_init
hts_filter_t* hts_filter_init(const(char)* str)

@param str The filter expression @return A pointer on success, NULL on failure

Structs

hts_expr_val_t
struct hts_expr_val_t

* The expression language has 3-states of string, numeric, and unknown. The unknown state is either a NaN numeric or a null string, with both internally considered to have the same "unknown" meaning.

hts_filter_t
struct hts_filter_t

Opaque hts_filter_t type. Definition in hts_expr.c

Meta