const GtNodeStreamClass* gt_gff3_in_stream_class(void) { static const GtNodeStreamClass *nsc = NULL; gt_class_alloc_lock_enter(); if (!nsc) { nsc = gt_node_stream_class_new(sizeof (GtGFF3InStream), gff3_in_stream_free, gff3_in_stream_next); } gt_class_alloc_lock_leave(); return nsc; }
const GtMatchIteratorClass* gt_match_iterator_open_class(void) { static const GtMatchIteratorClass *mpc; gt_class_alloc_lock_enter(); if (!mpc) { mpc = gt_match_iterator_class_new(sizeof (GtMatchIteratorOpen), gt_match_iterator_open_next, gt_match_iterator_open_free); } gt_class_alloc_lock_leave(); return mpc; }
const GtNodeStreamClass* gt_ltrdigest_file_out_stream_class(void) { static const GtNodeStreamClass *nsc; gt_class_alloc_lock_enter(); if (!nsc) { nsc = gt_node_stream_class_new(sizeof (GtLTRdigestFileOutStream), gt_ltrfileout_stream_free, gt_ltrfileout_stream_next ); } gt_class_alloc_lock_leave(); return nsc; }
const GtMatchClass* gt_match_sw_class() { static const GtMatchClass *matchc = NULL; gt_class_alloc_lock_enter(); if (!matchc) { matchc = gt_match_class_new(sizeof (GtMatchSW), NULL, NULL); } gt_class_alloc_lock_leave(); return matchc; }
const GtNodeStreamClass* gt_cds_check_stream_class(void) { static const GtNodeStreamClass *nsc = NULL; gt_class_alloc_lock_enter(); if (!nsc) { nsc = gt_node_stream_class_new(sizeof (GtCDSCheckStream), cds_check_stream_free, cds_check_stream_next); } gt_class_alloc_lock_leave(); return nsc; }
const GtNodeStreamClass* gt_array_out_stream_class(void) { static const GtNodeStreamClass *gsc = NULL; gt_class_alloc_lock_enter(); if (!gsc) { gsc = gt_node_stream_class_new(sizeof (GtArrayOutStream), gt_array_out_stream_free, gt_array_out_stream_next); } gt_class_alloc_lock_leave(); return gsc; }
const GtNodeStreamClass* gt_lua_custom_stream_class(void) { static const GtNodeStreamClass *nsc = NULL; gt_class_alloc_lock_enter(); if (!nsc) { nsc = gt_node_stream_class_new(sizeof (GtLuaCustomStream), NULL, lua_custom_stream_next); } gt_class_alloc_lock_leave(); return nsc; }
const GtMatchClass* gt_match_blast_class() { static const GtMatchClass *matchc = NULL; gt_class_alloc_lock_enter(); if (!matchc) { matchc = gt_match_class_new(sizeof (GtMatchBlast), NULL, match_blast_accept); } gt_class_alloc_lock_leave(); return matchc; }
const GtNodeStreamClass* gt_select_stream_class(void) { static const GtNodeStreamClass *nsc = NULL; gt_class_alloc_lock_enter(); if (!nsc) { nsc = gt_node_stream_class_new(sizeof (GtSelectStream), select_stream_free, select_stream_next); } gt_class_alloc_lock_leave(); return nsc; }
const GtNodeStreamClass* gt_ltr_cluster_stream_class(void) { static const GtNodeStreamClass *nsc; gt_class_alloc_lock_enter(); if (!nsc) { nsc = gt_node_stream_class_new(sizeof(GtLTRClusterStream), gt_ltr_cluster_stream_free, gt_ltr_cluster_stream_next); } gt_class_alloc_lock_leave(); return nsc; }
/* map static local method to interface */ const GtCstrIteratorClass* gt_fasta_header_iterator_class(void) { static const GtCstrIteratorClass *sic = NULL; gt_class_alloc_lock_enter(); if (sic == NULL) { sic = gt_cstr_iterator_class_new(sizeof (GtFastaHeaderIterator), gt_fasta_header_iterator_next, gt_fasta_header_iterator_reset, gt_fasta_header_iterator_delete); } gt_class_alloc_lock_leave(); return sic; }
const GtTextWidthCalculatorClass* gt_text_width_calculator_cairo_class(void) { static const GtTextWidthCalculatorClass *twcc = NULL; gt_class_alloc_lock_enter(); if (!twcc) { twcc = gt_text_width_calculator_class_new( sizeof (GtTextWidthCalculatorCairo), gt_text_width_calculator_cairo_get_text_width, gt_text_width_calculator_cairo_delete); } gt_class_alloc_lock_leave(); return twcc; }
const GtLineBreakerClass* gt_line_breaker_captions_class(void) { static const GtLineBreakerClass *lbc = NULL; gt_class_alloc_lock_enter(); if (!lbc) { lbc = gt_line_breaker_class_new(sizeof (GtLineBreakerCaptions), gt_line_breaker_captions_is_line_occupied, gt_line_breaker_captions_register_block, gt_line_breaker_captions_delete); } gt_class_alloc_lock_leave(); return lbc; }
const GtNodeVisitorClass* gt_feature_visitor_class() { static const GtNodeVisitorClass *gvc = NULL; gt_class_alloc_lock_enter(); if (!gvc) { gvc = gt_node_visitor_class_new(sizeof (GtFeatureVisitor), feature_visitor_free, NULL, feature_visitor_feature_node, feature_visitor_region_node, NULL, NULL); } gt_class_alloc_lock_leave(); return gvc; }
const GtNodeVisitorClass* gt_ltr_visitor_class(void) { static const GtNodeVisitorClass *nvc = NULL; gt_class_alloc_lock_enter(); if (!nvc) { nvc = gt_node_visitor_class_new(sizeof (GtLTRVisitor), NULL, NULL, gt_ltr_visitor_feature_node, NULL, NULL, NULL); } gt_class_alloc_lock_leave(); return nvc; }
const GtSeqIteratorClass* gt_seq_iterator_sequence_buffer_class(void) { static const GtSeqIteratorClass *sic = NULL; gt_class_alloc_lock_enter(); if (!sic) { sic = gt_seq_iterator_class_new(sizeof (GtSeqIteratorSequenceBuffer), gt_seq_iterator_sequence_buffer_set_symbolmap, gt_seq_iterator_sequence_buffer_set_sequence_output, gt_seq_iterator_sequence_buffer_next, gt_seq_iterator_sequence_buffer_getcurrentcounter, NULL, gt_seq_iterator_sequence_buffer_delete); } gt_class_alloc_lock_leave(); return sic; }
const GtNodeVisitorClass* gt_snp_annotator_visitor_class() { static GtNodeVisitorClass *nvc = NULL; gt_class_alloc_lock_enter(); if (!nvc) { nvc = gt_node_visitor_class_new(sizeof (GtSNPAnnotatorVisitor), snp_annotator_visitor_free, NULL, snp_annotator_visitor_feature_node, NULL, NULL, NULL); } gt_class_alloc_lock_leave(); return nvc; }
const GtNodeVisitorClass* gt_orf_finder_visitor_class(void) { static const GtNodeVisitorClass *gvc = NULL; gt_class_alloc_lock_enter(); if (!gvc) { gvc = gt_node_visitor_class_new(sizeof (GtORFFinderVisitor), NULL, NULL, gt_orf_finder_visitor_feature_node, NULL, NULL, NULL); } gt_class_alloc_lock_leave(); return gvc; }
const GtCodonIteratorClass* gt_codon_iterator_simple_class(void) { static const GtCodonIteratorClass *cic = NULL; gt_class_alloc_lock_enter(); if (!cic) { cic = gt_codon_iterator_class_new(sizeof (GtCodonIteratorSimple), NULL, gt_codon_iterator_simple_current_position, gt_codon_iterator_simple_length, gt_codon_iterator_simple_rewind, gt_codon_iterator_simple_next); } gt_class_alloc_lock_leave(); return cic; }
const GtCodonIteratorClass* gt_codon_iterator_encseq_class(void) { static const GtCodonIteratorClass *cic = NULL; gt_class_alloc_lock_enter(); if (!cic) { cic = gt_codon_iterator_class_new(sizeof (GtCodonIteratorEncseq), gt_codon_iterator_encseq_delete, gt_codon_iterator_encseq_current_position, gt_codon_iterator_encseq_length, gt_codon_iterator_encseq_rewind, gt_codon_iterator_encseq_next); } gt_class_alloc_lock_leave(); return cic; }
const GtNodeVisitorClass* gt_inter_feature_visitor_class() { static const GtNodeVisitorClass *nvc = NULL; gt_class_alloc_lock_enter(); if (!nvc) { nvc = gt_node_visitor_class_new(sizeof (GtInterFeatureVisitor), inter_feature_visitor_free, NULL, inter_feature_visitor_feature_node, NULL, NULL, NULL); } gt_class_alloc_lock_leave(); return nvc; }
const GtRDBClass* gt_rdb_mysql_class(void) { static const GtRDBClass *rdbm = NULL; gt_class_alloc_lock_enter(); if (!rdbm) { rdbm = gt_rdb_class_new(sizeof (GtRDBMySQL), gt_rdb_mysql_delete, gt_rdb_mysql_prepare, gt_rdb_mysql_last_inserted_id, gt_rdb_mysql_accept, gt_rdb_mysql_get_indexes, gt_rdb_mysql_get_tables); } gt_class_alloc_lock_leave(); return rdbm; }
const GtNodeVisitorClass* gt_regioncov_visitor_class() { static const GtNodeVisitorClass *nvc = NULL; gt_class_alloc_lock_enter(); if (!nvc) { nvc = gt_node_visitor_class_new(sizeof (GtRegionCovVisitor), gt_regioncov_visitor_free, NULL, gt_regioncov_visitor_feature_node, gt_regioncov_visitor_region_node, NULL, NULL); } gt_class_alloc_lock_leave(); return nvc; }
const GtESAVisitorClass* gt_esa_spmitvs_visitor_class() { static const GtESAVisitorClass *esc = NULL; gt_class_alloc_lock_enter(); if (!esc) { esc = gt_esa_visitor_class_new(sizeof (GtESASpmitvsVisitor), gt_esa_spmitvs_visitor_delete, gt_esa_spmitvs_visitor_processleafedge, gt_esa_spmitvs_visitor_processbranchingedge, gt_esa_spmitvs_visitor_processlcpinterval, NULL, NULL); } gt_class_alloc_lock_leave(); return esc; }
const GtNodeVisitorClass* gt_check_boundaries_visitor_class() { static GtNodeVisitorClass *nvc = NULL; gt_class_alloc_lock_enter(); if (!nvc) { nvc = gt_node_visitor_class_new(sizeof (GtCheckBoundariesVisitor), NULL, NULL, check_boundaries_visitor_feature_node, NULL, NULL, NULL); } gt_class_alloc_lock_leave(); return nvc; }
const GtGenomeNodeClass* gt_feature_node_class() { static const GtGenomeNodeClass *gnc = NULL; gt_class_alloc_lock_enter(); if (!gnc) { gnc = gt_genome_node_class_new(sizeof (GtFeatureNode), feature_node_free, feature_node_get_seqid, feature_node_get_seqid, feature_node_get_range, feature_node_set_range, feature_node_change_seqid, feature_node_accept); } gt_class_alloc_lock_leave(); return gnc; }
const GtClusteredSetClass* gt_clustered_set_union_find_class(void) { static const GtClusteredSetClass *csc = NULL; gt_class_alloc_lock_enter(); if (!csc) { csc = gt_clustered_set_class_new(sizeof (GtClusteredSetUF), gt_clustered_set_union_find_num_of_clusters, gt_clustered_set_union_find_merge_clusters, gt_clustered_set_union_find_delete, gt_clustered_set_union_find_iterator_new, gt_clustered_set_union_find_num_of_elements, gt_clustered_set_union_find_cluster_num); } gt_class_alloc_lock_leave(); return csc; }
const GtNodeVisitorClass* lua_custom_visitor_class() { static GtNodeVisitorClass *nvc = NULL; gt_class_alloc_lock_enter(); if (!nvc) { nvc = gt_node_visitor_class_new(sizeof (GtLuaCustomVisitor), NULL, lua_custom_visitor_visit_comment, lua_custom_visitor_visit_feature , lua_custom_visitor_visit_region, lua_custom_visitor_visit_sequence, lua_custom_visitor_visit_eof); gt_node_visitor_class_set_meta_node_func(nvc, lua_custom_visitor_visit_meta); } gt_class_alloc_lock_leave(); return nvc; }
const GtNodeVisitorClass* gt_script_wrapper_visitor_class() { static GtNodeVisitorClass *nvc = NULL; gt_class_alloc_lock_enter(); if (!nvc) { nvc = gt_node_visitor_class_new(sizeof (GtScriptWrapperVisitor), script_wrapper_visitor_free, script_wrapper_visitor_comment_node, script_wrapper_visitor_feature_node, script_wrapper_visitor_region_node, script_wrapper_visitor_sequence_node, script_wrapper_visitor_eof_node); gt_node_visitor_class_set_meta_node_func(nvc, script_wrapper_visitor_meta_node); } gt_class_alloc_lock_leave(); return nvc; }
const GtRDBStmtClass* gt_rdb_stmt_mysql_class(void) { static const GtRDBStmtClass *rdbms = NULL; gt_class_alloc_lock_enter(); if (!rdbms) { rdbms = gt_rdb_stmt_class_new(sizeof (GtRDBStmtMySQL), gt_rdb_stmt_mysql_reset, gt_rdb_stmt_mysql_bind_int, gt_rdb_stmt_mysql_bind_ulong, gt_rdb_stmt_mysql_bind_string, gt_rdb_stmt_mysql_bind_double, gt_rdb_stmt_mysql_exec, gt_rdb_stmt_mysql_get_int, gt_rdb_stmt_mysql_get_ulong, gt_rdb_stmt_mysql_get_string, gt_rdb_stmt_mysql_get_double, gt_rdb_stmt_mysql_delete); } gt_class_alloc_lock_leave(); return rdbms; }