ARB
|
Go to the source code of this file.
Definition at line 16 of file adChangeKey.cxx.
References CHANGEKEY_NAME, GB_CREATE_CONTAINER, GB_find_string(), GB_get_father(), GB_IGNORE_CASE, GB_search(), NULp, and SEARCH_GRANDCHILD.
Referenced by field_delete_cb(), GBT_add_new_changekey_to_keypath(), GBT_convert_changekey(), GBT_get_type_of_changekey(), gbt_set_type_of_changekey(), RegFieldSelection::get_keytype(), hide_field_cb(), reorder_keys(), and reorder_up_down().
GB_TYPES GBT_get_type_of_changekey | ( | GBDATA * | gb_main, |
const char * | field_name, | ||
const char * | change_key_path | ||
) |
Definition at line 33 of file adChangeKey.cxx.
References CHANGEKEY_TYPE, GB_NONE, GBT_get_changekey(), GBT_read_int(), and type.
Referenced by awt_string_handler::awar_changed(), awtc_nn_search_all_listed(), field_convert_update_typesel_cb(), GBT_searchOrCreate_itemfield_according_to_changekey(), hits_sort_params::hits_sort_params(), modify_fields_of_queried_cb(), and SpeciesFlag::prepare_itemfield().
|
static |
Definition at line 48 of file adChangeKey.cxx.
References CHANGEKEY_TYPE, error(), GBS_global_string(), GBT_get_changekey(), GBT_write_int(), and NULp.
Referenced by GBT_convert_changekey().
GBDATA* GBT_searchOrCreate_itemfield_according_to_changekey | ( | GBDATA * | gb_item, |
const char * | field_name, | ||
const char * | change_key_path | ||
) |
search or create an item entry. If the entry exists, the result is identical to GB_search(gb_item, field_name, GB_FIND). If the entry does not exist, an entry with the type stored in the changekey-table will be created.
Definition at line 61 of file adChangeKey.cxx.
References gb_assert, GB_clear_error(), GB_export_errorf(), GB_FIND, GB_get_root(), GB_have_error(), GB_NONE, GB_search(), GBT_get_type_of_changekey(), and type.
Referenced by calc_and_update_alignment_errors_cb(), mark_action(), mergeSimilarSpecies(), set_field_of_queried_cb(), and st_ml_add_quality_string_to_species().
GB_ERROR GBT_add_new_changekey_to_keypath | ( | GBDATA * | gb_main, |
const char * | name, | ||
GB_TYPES | type, | ||
const char * | keypath | ||
) |
Add a new or check an existing changekey for items using 'keypath'
gb_main | database |
name | name of changekey. may be hierarchical (e.g. 'ali_16s/data') |
type | field type of the key (yields error on mismatch!) |
keypath | location in database where changekeys are stored. |
Definition at line 86 of file adChangeKey.cxx.
References ARB_strdup(), CHANGEKEY, CHANGEKEY_NAME, CHANGEKEY_TYPE, error(), gb_assert, GB_await_error(), GB_CREATE_CONTAINER, GB_create_container(), GB_DB, GB_first_non_key_char(), GB_search(), GBS_global_string(), GBT_get_changekey(), GBT_read_int(), GBT_write_int(), GBT_write_string(), and NULp.
Referenced by awt_string_handler::awar_changed(), field_create_cb(), GBT_add_new_experiment_changekey(), GBT_add_new_gene_changekey(), GBT_add_new_species_changekey(), prepare_and_get_selected_itemfield(), and SpeciesFlag::prepare_itemfield().
Definition at line 133 of file adChangeKey.cxx.
References CHANGE_KEY_PATH, and GBT_add_new_changekey_to_keypath().
Referenced by GBT_add_alignment_changekeys(), GBT_add_new_changekey(), MG_transfer_fields_info(), nt_add_partial(), species_field_selection_list_rescan(), and SQ_add_changekeys().
Definition at line 137 of file adChangeKey.cxx.
References CHANGE_KEY_PATH_GENES, and GBT_add_new_changekey_to_keypath().
Referenced by gene_field_selection_list_rescan().
Definition at line 141 of file adChangeKey.cxx.
References CHANGE_KEY_PATH_EXPERIMENTS, and GBT_add_new_changekey_to_keypath().
Referenced by experiment_field_selection_list_rescan().
Definition at line 145 of file adChangeKey.cxx.
References GBT_add_new_species_changekey().
add changekeys for alignment 'ali'
Definition at line 155 of file adChangeKey.cxx.
References error(), GB_STRING, GBS_global_string_copy(), and GBT_add_new_species_changekey().
Referenced by ALI_translate_marked(), concatenateAlignments(), copy_rename_handler(), create_ali_handler(), gene_extract_handler(), MG_copy_and_check_alignments(), MG_equal_alignments(), PV_WriteTranslatedSequenceToDB(), and split_alignment().
|
static |
Definition at line 164 of file adChangeKey.cxx.
References error(), GB_write_int(), GBS_global_string(), GBS_trim(), and NULp.
Referenced by GBT_write_int_converted().
Definition at line 201 of file adChangeKey.cxx.
References error(), GB_write_float(), GBS_global_string(), GBS_trim(), and NULp.
Referenced by GBT_write_float_converted().
Definition at line 224 of file adChangeKey.cxx.
References write_int_converted().
Referenced by GBT_convert_changekey().
Definition at line 228 of file adChangeKey.cxx.
References write_float_converted().
Referenced by GBT_convert_changekey().
Definition at line 233 of file adChangeKey.cxx.
References CHANGE_KEY_PATH, CHANGEKEY_TYPE, error(), GB_await_error(), GB_create(), GB_delete(), GB_end_transaction(), GB_entry(), GB_FLOAT, GB_INT, GB_push_transaction(), GB_read_as_string(), GB_STRING, GB_warningf(), GB_write_string(), GBS_global_string(), GBT_first_species(), GBT_get_changekey(), GBT_get_name_or_description(), GBT_next_species(), GBT_read_int(), gbt_set_type_of_changekey(), GBT_write_float_converted(), GBT_write_int_converted(), and NO_FIELD_SELECTED.
Referenced by field_convert_commit_cb().