ARB
Classes | Functions | Variables
adname.cxx File Reference
#include "gb_local.h"
#include <ad_config.h>
#include "TreeNode.h"
#include <arb_progress.h>
#include <arb_strarray.h>
#include <arb_file.h>
#include <arb_diff.h>
#include <cctype>
#include "ad_colorset.h"
Include dependency graph for adname.cxx:

Go to the source code of this file.

Classes

struct  gbt_renamed
 

Functions

GB_ERROR GBT_begin_rename_session (GBDATA *gb_main, int all_flag)
 
GB_ERROR GBT_rename_species (const char *oldname, const char *newname, bool ignore_protection)
 
static void gbt_free_rename_session_data ()
 
GB_ERROR GBT_abort_rename_session ()
 
static GB_ERROR gbt_rename_tree_rek (TreeNode *tree, int tree_index)
 
GB_ERROR GBT_commit_rename_session ()
 

Variables

struct {
   GB_HASH *   renamed_hash
 
   GB_HASH *   old_species_hash
 
   GBDATA *   gb_main
 
   GBDATA *   gb_species_data
 
   int   all_flag
 
NameSession
 
static const charcurrentTreeName = NULp
 

Function Documentation

GB_ERROR GBT_begin_rename_session ( GBDATA gb_main,
int  all_flag 
)
GB_ERROR GBT_rename_species ( const char oldname,
const char newname,
bool  ignore_protection 
)
static void gbt_free_rename_session_data ( )
static

Definition at line 116 of file adname.cxx.

References GBS_free_hash(), NameSession, and NULp.

Referenced by GBT_abort_rename_session(), and GBT_commit_rename_session().

GB_ERROR GBT_abort_rename_session ( void  )
static GB_ERROR gbt_rename_tree_rek ( TreeNode tree,
int  tree_index 
)
static
GB_ERROR GBT_commit_rename_session ( void  )

Variable Documentation

GB_HASH* renamed_hash

Definition at line 30 of file adname.cxx.

GB_HASH* old_species_hash

Definition at line 31 of file adname.cxx.

GBDATA* gb_main

Definition at line 32 of file adname.cxx.

Referenced by RefEntries::addRefsTo(), adjustTreeRoot(), ali_checklen_cb(), ALI_create_admin_window(), alignment_vars_callback(), alignToNextRelative(), AP_tree_root::AP_tree_root(), ARB_bind_global_awars(), ARB_main(), awt_create_select_filter(), awtc_mark_hits(), awtc_nn_search(), awtc_nn_search_all_listed(), AWTC_recreate_name(), BoundTreeAwarCallback::bind_tree_callback(), bindAdmin(), boundloc_changed_cb(), build_reverse_complement(), calc_pvp(), calculate_clusters(), ED4_terminal::changed_by_database(), check_for_remote_command(), AP_tree_root::check_update(), config_rename_handler(), copy_rename_handler(), QUERY::count_queried_items(), create_ali_handler(), create_colorset_representation(), create_consense_tree_cb(), create_macro_variables(), create_new_species(), create_pars_init_window(), QUERY::create_query_box(), DBUI::create_species_query_window(), CreateRNA3DMainWindow(), createValNameList(), EXP_item_type_species_selector::current(), FINAL_TYPE< SEQTYPE >::current(), delete_ali_cb(), TreeAdmin::delete_tree_cb(), di_calculate_compressed_matrix_cb(), di_calculate_matrix(), di_calculate_tree_cb(), di_mark_by_distance(), dot_missing_bases(), ED4_alignment_length_changed(), ed4_create_all_awars(), ed4_create_mainDB_awars(), ED4_create_search_awars(), ED4_CreateProteinViewer_window(), ED4_exit(), ED4_get_marked_from_menu(), ED4_getSaiColorString(), ED4_jump_to_current_species(), ED4_menu_highlight(), ED4_pfold_select_SAI_and_update_option_menu(), ED4_remove_faligner_entries(), ED4_start_plugin(), ED4_timer(), ED4_undo_redo(), ED4_with_whole_block(), ensure_trees_have_order(), MacroRecorder::execute(), executeKeystroke(), EXP_create_experiment_query_window(), EXP_open_mask_window(), export_newick(), export_seq_data(), export_to_DB(), FastAligner_start(), field_convert_commit_cb(), field_convert_update_typesel_cb(), field_delete_cb(), AWT_tree_selection::fill(), SAI_selection::fill(), EDB_root_bact::fill_data(), MO_Liste::fill_marked_bakts(), flush_taxonomy_cb(), gb_abort_and_close_all_DBs(), gb_create_dictionaries(), GB_delete(), gb_delete_dummy_father(), GB_get_gb_main_during_cb(), gb_load_key_data_and_dictionaries(), GBCMS_open(), gbcms_talking_begin_transaction(), gbcms_talking_init_transaction(), gbl_ali_name(), gbl_sequence_type(), GBT_begin_rename_session(), GBT_compress_sequence_tree2(), gbt_read_tree_rek(), GDE_init(), GEN_create_gene_query_window(), GEN_open_mask_window(), GEN_root::GEN_root(), RefEntries::generate_item_error(), ArbParsimony::generate_tree(), MO_Liste::get_all_species(), get_first_organism(), ColumnStat::get_gb_main(), GroupUIdata::get_gb_main(), export_sequence_data::get_gb_main(), LocationEditor::get_gb_main(), ED4_root::get_gb_main(), AWT_graphic_tree::get_gbmain(), RegFieldSelection::get_keytype(), InfoWindow::get_selected_item(), get_taxonomy(), group_species(), hide_field_cb(), insdel_event(), insdel_sai_event(), insert_new_species_terminal(), AWT_canvas::instant_resize(), DI_MATRIX::load(), PHDATA::load(), PARSIMONY_testenv< SEQTYPE >::load_tree(), ARB_seqtree_root::loadFromDB(), macro_terminated(), main(), TreeAdmin::make_dest_treename_unique_cb(), map_extended(), mark_action(), mark_clusters(), GroupUIdata::mark_species(), member_of_DB(), MG_config_delete_cb(), MG_map_species(), MO_Liste::MO_Liste(), modsai_cb(), NT_activate_configMarkers_display(), nt_add(), nt_add_partial(), nt_disconnect_from_db(), NT_fix_dict_compress(), NT_open_mask_window(), AP_main::open(), SelectedDatabase::open_db_for_merge(), SAI_graphic::paint(), pars_generate_aliview(), pars_start_cb(), PARS_tree_init(), ph_exit(), PH_save_ml_cb(), AWT_canvas::pop_transaction(), popup_gene_location_editor(), popupSaiProbeMatchWindow(), SpeciesFlag::prepare_itemfield(), probe_match_event(), probe_read_data_base(), AWT_canvas::push_transaction(), PV_AddOrfTerminalsToLoadedSpecies(), PV_ManageTerminals(), PV_PrintMissingDBentryInformation(), PV_WriteTranslatedSequenceToDB(), query_count_items(), read_tree_and_size_internal(), realign_event(), BoundActionTracker::reconfigure(), GroupUIdata::refill_result_list(), RefEntries::refresh_result_cb(), RegFieldSelection::registrate(), reorder_configs_cb(), reorder_keys(), reorder_up_down(), restore_colorset_representation(), reverseComplement(), RNA3D_Graphics::RNA3D_Graphics(), run_close_callbacks(), run_command(), run_server(), SAI_graphic::SAI_graphic(), saiChanged_callback(), DI_MATRIX::save(), KeySorter::save_changes(), EDB_root_bact::save_current_config(), save_tree_as_newick(), ARB_seqtree_root::saveToDB(), SEC_undo_cb(), ArbImporter::set_db_4_nameserver(), sina_start(), ACI_Labeler::speciesLabel(), SQ_create_seq_quality_window(), SQ_pass2_on_tree(), st_remove_entries_cb(), start_SECEDIT_plugin(), startup_sequence_cb(), TranslateGeneToAminoAcidSequence(), TreeAdmin::tree_copy_or_rename_cb(), unlink_awar_from_DB(), user_code_nr_changed_cb(), ED4_terminal::write_sequence(), and write_sequence_autoinc_alisize().

GBDATA* gb_species_data
int all_flag

Definition at line 34 of file adname.cxx.

Referenced by GBT_begin_rename_session().

struct { ... } NameSession
const char* currentTreeName = NULp
static

Definition at line 132 of file adname.cxx.