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_strbuf.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 119 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 31 of file adname.cxx.

GB_HASH* old_species_hash

Definition at line 32 of file adname.cxx.

GBDATA* gb_main

Definition at line 33 of file adname.cxx.

Referenced by RefEntries::addRefsTo(), 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(), 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_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(), ED4_exit(), ED4_start_plugin(), ensure_trees_have_order(), MacroRecorder::execute(), EXP_create_experiment_query_window(), EXP_open_mask_window(), 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(), 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(), AWT_graphic_tree::get_gbmain(), RegFieldSelection::get_keytype(), InfoWindow::get_selected_item(), get_taxonomy(), hide_field_cb(), insdel_event(), insdel_sai_event(), 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(), 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(), 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(), DI_MATRIX::save(), KeySorter::save_changes(), save_tree_as_newick(), ARB_seqtree_root::saveToDB(), SEC_undo_cb(), ArbImporter::set_db_4_nameserver(), SQ_create_seq_quality_window(), st_remove_entries_cb(), start_SECEDIT_plugin(), startup_sequence_cb(), TreeAdmin::tree_copy_or_rename_cb(), unlink_awar_from_DB(), user_code_nr_changed_cb(), and write_sequence_autoinc_alisize().

GBDATA* gb_species_data
int all_flag
struct { ... } NameSession
const char* currentTreeName = NULp
static

Definition at line 135 of file adname.cxx.