ARB
|
#include <aw_base.hxx>
#include <arbdbt.h>
Go to the source code of this file.
Classes | |
class | UniqueNameDetector |
struct | PersistentNameServerConnection |
Macros | |
#define | AWAR_NAMESERVER_ADDID "nt/nameserver_addid" |
Functions | |
void | AWTC_create_rename_awars (AW_root *root, AW_default db1) |
AW_window * | AWTC_create_rename_window (AW_root *root, GBDATA *gb_main) |
void | AW_create_namesadmin_awars (AW_root *aw_root, GBDATA *gb_main) |
void | AW_popup_namesadmin_window (AW_window *parent_win, GBDATA *gb_main) |
GB_ERROR | AW_select_nameserver (GBDATA *gb_main, GBDATA *gb_other_main) |
char * | AWTC_create_numbered_suffix (GB_HASH *species_name_hash, const char *shortname, GB_ERROR &warning) |
GB_ERROR | AWTC_pars_names (GBDATA *gb_main, bool *isWarning) |
GB_ERROR | AWTC_generate_one_name (GBDATA *gb_main, const char *full_name, const char *acc, const char *addid, char *&new_name) |
GB_ERROR | AWTC_recreate_name (GBDATA *gb_main) |
const char * | AW_get_nameserver_addid (GBDATA *gb_main) |
GB_ERROR | AW_test_nameserver (GBDATA *gb_main) |
char * | AWTC_makeUniqueShortName (const char *prefix, UniqueNameDetector &existingNames) |
char * | AWTC_generate_random_name (UniqueNameDetector &existingNames) |
int | AWTC_name_quality (const char *short_name) |
#define AWAR_NAMESERVER_ADDID "nt/nameserver_addid" |
Definition at line 21 of file AW_rename.hxx.
Referenced by AW_create_namesadmin_awars(), AW_popup_namesadmin_window(), get_addid(), MG_create_db_dependent_rename_awars(), and set_addid().
void AWTC_create_rename_awars | ( | AW_root * | root, |
AW_default | db1 | ||
) |
Definition at line 573 of file AW_rename.cxx.
References AW_POPDOWN(), AW_popup_namesadmin_window(), awt_rename_cb(), AW_window::load_xfig(), and makeHelpCallback().
Referenced by popup_new_main_window().
Definition at line 90 of file AW_names_admin.cxx.
References AWAR_NAMESERVER_ADDID, AWAR_NAMESERVER_STATUS, and AW_root::awar_string().
Referenced by nt_create_all_awars().
Definition at line 95 of file AW_names_admin.cxx.
References AW_window::activate(), AW_awar::add_callback(), addid_changed_cb(), AW_POPDOWN(), AW_root::awar(), AWAR_NAMESERVER_ADDID, AWAR_NAMESERVER_STATUS, AWM_ALL, AWM_EXP, awt_edit_arbtcpdat_cb(), awtc_delete_names_file(), awtc_edit_names_file(), awtc_remove_arb_acc(), AW_window::get_root(), makeHelpCallback(), and NULp.
Referenced by AWTC_create_rename_window(), and popup_new_main_window().
Definition at line 49 of file AW_rename.cxx.
References aw_assert, aw_question(), error(), GB_await_error(), GBS_get_arb_tcp_entries(), GBS_global_string(), GBS_read_arb_tcp(), GBS_scan_arb_tcp_param(), get_addid(), NULp, and set_addid().
Referenced by ArbImporter::import_data().
char* AWTC_create_numbered_suffix | ( | GB_HASH * | species_name_hash, |
const char * | shortname, | ||
GB_ERROR & | warning | ||
) |
Definition at line 446 of file AW_rename.cxx.
References ARB_alloc(), GBS_read_hash(), and NULp.
Referenced by AWTC_pars_names(), and MERGE_sequences_simple().
Definition at line 465 of file AW_rename.cxx.
References aisc_get(), aisc_nput(), AW_get_nameserver_addid(), AWTC_create_numbered_suffix(), NameServerConnection::connect(), NameServerConnection::disconnect(), arb_progress::done(), GB_await_error(), GB_entry(), GB_IGNORE_CASE, GB_read_as_string(), GB_read_string(), GBS_create_hash(), GBS_free_hash(), GBS_incr_hash(), GBT_abort_rename_session(), GBT_begin_rename_session(), GBT_commit_rename_session(), GBT_first_species(), GBT_gen_accession_number(), GBT_get_default_alignment(), GBT_get_species_count(), GBT_next_species(), GBT_rename_species(), NameServerConnection::getLink(), NameServerConnection::getLocs(), arb_progress::inc_and_check_user_abort(), NULp, arb_progress::sub_progress_skipped(), and warning().
Referenced by awt_rename_cb(), ArbImporter::import_data(), and renameDB().
GB_ERROR AWTC_generate_one_name | ( | GBDATA * | gb_main, |
const char * | full_name, | ||
const char * | acc, | ||
const char * | addid, | ||
char *& | new_name | ||
) |
Definition at line 317 of file AW_rename.cxx.
References aisc_get(), aisc_nput(), NameServerConnection::connect(), NameServerConnection::disconnect(), GB_export_errorf(), NameServerConnection::getLink(), NameServerConnection::getLocs(), and NULp.
Referenced by concatenateFieldsCreateNewSpecies(), create_new_species(), and gen_extract_gene_2_pseudoSpecies().
Definition at line 366 of file AW_rename.cxx.
References aisc_get(), aisc_nput(), AW_get_nameserver_addid(), NameServerConnection::connect(), NameServerConnection::disconnect(), error(), GB_await_error(), GB_entry(), GB_get_root(), gb_main, GB_read_as_string(), GB_read_string(), GBS_global_string(), GBT_abort_rename_session(), GBT_begin_rename_session(), GBT_commit_rename_session(), GBT_find_species(), GBT_gen_accession_number(), GBT_get_default_alignment(), GBT_rename_species(), NameServerConnection::getLink(), NameServerConnection::getLocs(), and NULp.
Referenced by species_rename_handler().
Definition at line 39 of file AW_rename.cxx.
References aw_assert, and get_addid().
Referenced by AWTC_pars_names(), AWTC_recreate_name(), concatenateFieldsCreateNewSpecies(), NameServerConnection::connect(), create_new_species(), and namesFilename().
Definition at line 311 of file AW_rename.cxx.
References NameServerConnection::connect().
Referenced by addid_changed_cb().
char* AWTC_makeUniqueShortName | ( | const char * | prefix, |
UniqueNameDetector & | existingNames | ||
) |
Definition at line 648 of file AW_rename.cxx.
References aw_assert, GB_export_errorf(), makeUniqueShortName(), NULp, and result.
Referenced by concatenateFieldsCreateNewSpecies(), create_new_species(), DBwriter::createOrganism(), and species_copy_cb().
char* AWTC_generate_random_name | ( | UniqueNameDetector & | existingNames | ) |
Definition at line 679 of file AW_rename.cxx.
References aw_message(), AWTC_generate_random_name(), GB_random(), UniqueNameDetector::name_known(), and NULp.
Referenced by AWTC_generate_random_name(), create_new_species(), and gen_extract_gene_2_pseudoSpecies().
Definition at line 707 of file AW_rename.cxx.
Referenced by InsertDatainGDE().