ARB
Macros | Functions
arb_msg.h File Reference
#include <attributes.h>
#include <cstdlib>
#include "arb_core.h"
#include "arb_assert.h"
Include dependency graph for arb_msg.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RETURN_ERROR(err)   arb_assert(!GB_have_error()); return (err)
 

Functions

GlobalStringBuffersGBS_store_global_buffers (void)
 
void GBS_restore_global_buffers (GlobalStringBuffers *saved)
 
const charGBS_vglobal_string (const char *templat, va_list parg) __ATTR__VFORMAT(1)
 
charGBS_vglobal_string_copy (const char *templat, va_list parg) __ATTR__VFORMAT(1)
 
const charGBS_global_string_to_buffer (char *buffer, size_t bufsize, const char *templat,...) __ATTR__FORMAT(3)
 
charGBS_global_string_copy (const char *templat,...) __ATTR__FORMAT(1)
 
const charGBS_global_string (const char *templat,...) __ATTR__FORMAT(1)
 
const charGBS_static_string (const char *str)
 
GB_ERROR GBK_assert_msg (const char *assertion, const char *file, int linenr)
 
GB_ERROR GB_export_error (const char *error)
 
GB_ERROR GB_export_errorf (const char *templat,...) __ATTR__FORMAT(1) __ATTR__DEPRECATED_LATER("use GB_export_error(GBS_global_string(...))")
 
GB_ERROR GB_IO_error (const char *action, const char *filename)
 
GB_ERROR GB_export_IO_error (const char *action, const char *filename) __ATTR__DEPRECATED_TODO("use GB_export_error(GB_IO_error(...))")
 
GB_ERROR GB_print_error (void) __ATTR__DEPRECATED_TODO("will be removed completely")
 
GB_ERROR GB_get_error (void) __ATTR__DEPRECATED_TODO("consider using either GB_await_error() or GB_incur_error()")
 
bool GB_have_error (void)
 
GB_ERROR GB_await_error (void)
 
void GB_clear_error (void)
 
GB_ERROR GB_incur_error ()
 
GB_ERROR GB_incur_error_if (bool error_may_occur)
 
GB_ERROR GB_failedTo_error (const char *do_something, const char *special, GB_ERROR error)
 
GB_ERROR GB_append_exportedError (GB_ERROR error)
 
class BackTraceInfoGBK_get_backtrace (size_t skipFramesAtBottom)
 
void GBK_dump_former_backtrace (class BackTraceInfo *trace, FILE *out, const char *message)
 
void GBK_free_backtrace (class BackTraceInfo *trace)
 
void GBK_dump_backtrace (FILE *out, const char *message)
 
void GB_internal_error (const char *message)
 
void GB_internal_errorf (const char *templat,...) __ATTR__FORMAT(1)
 
void GBK_terminate (const char *error) __ATTR__NORETURN
 
void GBK_terminatef (const char *templat,...) __ATTR__FORMAT(1) __ATTR__NORETURN
 
void GBK_terminate_on_error (const char *error)
 
void GB_warning (const char *message)
 
void GB_warningf (const char *templat,...) __ATTR__FORMAT(1)
 
void GB_warning_if (const char *message)
 
void GB_information (const char *message)
 
void GB_informationf (const char *templat,...) __ATTR__FORMAT(1)
 
void GBS_reuse_buffer (const char *global_buffer)
 
GB_ERROR GBK_system (const char *system_command) __ATTR__USERESULT
 
charGBK_singlequote (const char *arg)
 
charGBK_doublequote (const char *arg)
 

Macro Definition Documentation

#define RETURN_ERROR (   err)    arb_assert(!GB_have_error()); return (err)

Function Documentation

GlobalStringBuffers* GBS_store_global_buffers ( void  )

Definition at line 156 of file arb_msg.cxx.

References GlobalStringBuffers::GlobalStringBuffers(), and globBuf.

void GBS_restore_global_buffers ( GlobalStringBuffers saved)

Definition at line 162 of file arb_msg.cxx.

References globBuf.

const char* GBS_vglobal_string ( const char templat,
va_list  parg 
)

Definition at line 167 of file arb_msg.cxx.

References globBuf.

char* GBS_vglobal_string_copy ( const char templat,
va_list  parg 
)

Definition at line 172 of file arb_msg.cxx.

References ARB_strduplen(), and globBuf.

Referenced by GBS_global_string_copy().

const char* GBS_global_string_to_buffer ( char buffer,
size_t  bufsize,
const char templat,
  ... 
)
char* GBS_global_string_copy ( const char templat,
  ... 
)

Definition at line 194 of file arb_msg.cxx.

References GBS_vglobal_string_copy(), GlobalStringBuffers::parg, result, va_end(), and va_start().

Referenced by TreeReader::add_warning(), ALI_translate_marked(), appendNameAndUsedBasePositions(), SEQIO::appendTo(), apply_ACI(), apply_auto_numeric_binop(), apply_double_binop(), apply_numeric_binop(), ARB_main(), arb_start_server(), ARB_textfiles_have_difflines(), arb_trace_argv(), ARB_zfopen(), AW_advice(), AW_edit(), AW_get_selected_fullname(), aw_help_back(), aw_help_helpfile_changed_cb(), aw_help_search(), aw_help_show_external_format(), aw_insert_message_in_tmp_message_delayed(), aw_install_xkeys(), AW_label_in_awar_list(), aw_message_save_cb(), AW_openURL(), aw_question(), aw_ref_to_title(), aw_root_init_font(), awar_matrix_cell(), awar_translate(), aws_init_localized(), awt_add_sequences_to_list(), awt_aps_go(), awt_create_input_mask(), awt_create_load_box(), AWT_create_mask_submenu(), awt_create_PTSERVER_selection_button(), awt_create_select_filter_win(), AWT_get_combined_filter_name(), awtc_move_hits(), awtc_remove_arb_acc(), binop_compare(), binop_contains(), binop_equals(), build_taxonomy_rek(), buildAllowedValuesString(), change_constraints(), check_and_correct_current_field(), colstat_2_gnuplot_cb(), CommandOutput::CommandOutput(), compress_sequence_tree(), concatenateAlignments(), concatenateFieldsCreateNewSpecies(), copy_field_into_partial_alignments(), AW_window::create_button(), create_calltexe_window(), create_color_button(), create_colorize_window(), create_colorset_representation(), create_config_manager_window(), create_font_button(), AW_window::create_input_field(), create_load_box_for_selection_lists(), create_loadsave_colored_window(), create_mark_menu_entry(), create_mark_menu_id(), create_modify_fields_window(), QUERY::create_query_box(), create_save_box_for_selection_lists(), create_split_gene(), create_tree_name(), createCallOnSocketHost(), createMergeSimilarSpeciesWindow(), Data::Data(), dated_info(), QUERY::DbQuery_update_list(), detect_sina_version(), ArbImporter::detectAvailableFields(), dump_internal(), dumpStreams(), ED4_get_NDS_text(), ed_submit_parse_event(), enter_stage_1_build_tree(), EXP_get_experiment_id(), expandSetVariables(), export_format_single(), export_to_DB(), export_tree_node_print(), export_tree_node_print_xml(), File_selection::fill(), EDB_root_bact::fill_species(), filter_posvar_SAI_for_ali(), SpecSetRegistry::find_best_matches_info(), find_macro_in(), format(), GB_find_all_files(), GB_find_executable(), GB_follow_unix_link(), gb_full_path(), GB_get_arb_revision_tag(), GB_get_callback_info(), GB_get_db_path(), GB_getenvARB_XCMD(), GB_install_pid(), GB_internal_error(), GB_read_as_string(), GB_symlink(), GB_TYPES_2_name(), GB_unique_filename(), GBP_add_callback(), gbp_create_callback_hashkey(), GBS_nameserver_tag(), GBS_ptserver_id_to_choice(), GBS_read_arb_tcp(), GBS_read_dir(), GBT_add_alignment_changekeys(), GBT_commit_rename_session(), GBT_create_alignment(), GBT_get_configuration_names(), GBT_macro_execute(), gbt_nonexisting_alignment(), gcman_specific_awarname(), gde_filter_weights(), GDE_makeawarname_in(), GDE_menuitem_cb(), GDE_startaction_cb(), gen_display(), gen_extract_gene_2_pseudoSpecies(), gen_get_gene_id(), GEN_global_gene_identifier(), GEN_root::GEN_root(), RefEntries::generate_item_error(), ED4_root::generate_window(), get_alitype_eval(), get_design_hinfo(), DisplayFormat::get_format(), get_full_qualified_help_file_name(), TypedDatabaseCallback::get_info(), get_local_help_url(), get_overlay_files(), RefEntries::RefSelector::get_refs(), DistanceCounter::get_report(), get_SAI_description(), export_sequence_data::get_seq_data(), get_shared_sellist_awar_base(), get_shared_sellist_awar_name(), get_short(), GroupFoldedKey::get_target_data(), GroupAIDkey::get_target_data(), GroupSizeKey::get_target_data(), GroupKeeledKey::get_target_data(), GroupZombiesKey::get_target_data(), GroupMarkedKey::get_target_data(), NestingLevelKey::get_target_data(), get_taxonomy_string(), ConsensusTreeBuilder::get_tree_remark(), getenv_autodirectory(), getenv_executable(), getenv_existing_directory(), GEN_map_window::init(), DBUI::init_info_window(), init_itemType_specific_window(), BI_helix::initFromData(), insert_genes_of_organism(), insert_section_header(), load_cb(), AW_window::local_id(), lookfont(), main(), make_async_call(), test_runtool::make_checked_piped_command(), make_limit_string(), makeTitle(), maxCompressionSteps(), mg_check_field_cb(), MG_exit(), MG_save_cb(), MG_update_example(), MP_Comment(), MP_new_sequence(), NameInformation::NameInformation(), NDS_create_window(), nds_restore_config(), ArbImporter::next_file(), GBT_config_parser::nextItem(), nt_create_config_after_import(), NT_create_sai_from_pfold(), NT_create_syncScroll_window(), nt_disconnect_from_db(), NT_fix_dict_compress(), NT_format_all_alignments(), nt_intro_start_merge(), NT_jump_cb(), NT_move_boot_branch(), NT_save_as_cb(), NT_start(), NTREE_move_tree_info(), pars_start_cb(), parse_helix_list(), pd_export_pt_server(), AWT_configuration::popup_edit_window(), popup_new_main_window(), predef_prg(), printFile(), ProbeMatchParser::ProbeMatchParser(), PT_dump_POS_TREE_recursive(), PT_prepare_data(), PV_SaveData(), PV_WriteTranslatedSequenceToDB(), query_rel_menu_entry(), quoted_if_containing_separator(), ArbImporter::read_data(), read_import_format(), readableItemname(), readXmlTree(), RecordingMacro::RecordingMacro(), remove_redundant_translation(), run_command(), save_cb(), save_search_paras_to_file(), ExportFieldScanner::scanFields(), QUERY::search_duplicated_field_content(), selectMnemonic(), TreeNode::set_bootstrap(), set_empty_addids(), BasicStatus::set_subtitle(), ACI_Labeler::speciesLabel(), split_alignment(), standard_list2file(), start_macro_cb(), start_pt_server(), string2enum_or_die(), FunInfo::switch_to(), target_ali_name(), trackAlignmentChanges(), AliAdmin::window_init(), NodeTextBuilder::work(), SpecSetRegistry::write_node_information(), and writeHistory().

const char* GBS_global_string ( const char templat,
  ... 
)

Definition at line 203 of file arb_msg.cxx.

References globBuf, GlobalStringBuffers::parg, result, va_end(), and va_start().

Referenced by PlugIn::activate(), ad_move_tree_info(), adaptCopiedAlignment(), Reference::add(), MetaInfo::add(), awt_input_mask_id_list::add(), AWT_config_definition::add(), References::add_dbid(), AW_gc_manager::add_gc_range(), awt_input_mask_global::add_global_id(), awt_input_mask_global::add_local_id(), MG_remap::add_reference(), add_species_to_merge_list(), addOrUpdateTransTable(), Feature::addQualifiedEntry(), RefEntries::addRefsTo(), adjustTreeRoot(), advice_id_offset(), after_callback_guard(), ALI_realign_marked(), ALI_translate_marked(), align_error(), SEC_region::align_helix_strands(), alignToNextRelative(), AW_window::alloc_named_data_color(), announce_renamed(), SaiBoolchainOperator::apply(), SaiAciApplicator::apply(), apply_ACI(), apply_to_origin(), applyToItemFoundByKey(), arb_gethostbyname(), ARB_insdel_columns(), arb_look_and_kill_server(), arb_look_and_start_server(), ARB_main(), arb_open_tcp_socket(), arb_open_unix_socket(), arb_prm_menu(), ARB_textfiles_have_difflines(), ARB_zfclose(), ARB_zfopen(), FINAL_TYPE< SEQTYPE >::ArbWriter(), SimpleLocation::as_string(), AW_advice(), AW_create_fileselection_awars(), AW_get_font_specification(), AW_get_selected_fullname(), aw_help_browse(), aw_help_edit_help(), aw_help_search(), aw_help_show_external_format(), aw_question(), AW_reactivate_all_advices(), AW_reactivate_all_questions(), AW_refresh_fileselection(), AW_select_nameserver(), AW_set_selected_fullname(), aw_status_timer_event(), AW_xfig::AW_xfig(), awt_numeric_input_field::awar2db(), awt_string_handler::awar_changed(), awarname(), awt_add_sequences_to_list(), awt_aps_go(), AWT_console(), awt_create_aww_vars(), awt_create_input_mask(), AWT_create_mask_submenu(), awt_create_select_filter(), AWT_get_combined_filter_name(), AWT_initialize_input_mask(), AWT_input_mask_browse_url(), AWT_is_codon(), awt_mask_awar_item::awt_mask_awar_item(), AWT_modify_managed_configs(), awt_openDefaultURL_on_selected_species(), awt_openDefaultURL_with_item(), AWT_trigger_remote_action(), awt_www_select_change(), awtc_nn_search(), awtc_nn_search_all_listed(), AWTC_recreate_name(), before_callback_guard(), GB_MAIN_TYPE::begin_transaction(), BI_helix_check_error(), AP_sequence::bind_to_species(), bond_awar_name(), build_consensus_tree(), build_taxonomy_rek(), buildNodeIdentifier(), calc_and_update_alignment_errors_cb(), ST_ML::calc_st_ml(), ColumnStat::calculate(), calculate_and_check_ranges(), calculateEndPosition(), callDelay(), Dict::canDecompress(), cannot_use_fun4entry(), FieldTransfer::cannotReadContainer(), canvas_to_printer(), canvas_to_xfig_and_run_xfig(), change_constraints(), AliInsertCommand::check_applicable_to(), AliDeleteCommand::check_applicable_to(), check_argument_for_mode(), check_for_remote_command(), GBL_IMPL::check_has_parameters(), FieldTransfer::WriteRule::check_hkey(), GBL_IMPL::check_item_referenced(), check_key(), check_last_parameter(), SaiCalcEnv::check_lengths_equal(), GBL_IMPL::check_no_parameter(), GBL_IMPL::check_optional_parameters(), GBL_IMPL::check_parameters(), check_socket_available(), check_tree_was_saved(), GBL_IMPL::check_valid_index(), check_valid_target_fts(), BaseCounter::checkOverallCounter(), FINAL_TYPE< SEQTYPE >::child_progress(), clearMacroExecutionAuthorization(), clientserver_error(), GB_transaction::close(), colorgroupname_awarname(), comment_changed_cb(), GB_MAIN_TYPE::commit_transaction(), compress_sequence_tree(), CON_calc_max_freq(), CON_export(), CON_insertSequences(), concatenateAlignments(), config_rename_handler(), FINAL_TYPE< SEQTYPE >::configure_active_plugin(), NameServerConnection::connect(), continue_with_namesDat_destruction(), FieldTransfer::convertAndWrite(), copy_move_del_alignment(), copy_SAI_cb(), copy_SAI_to_species_cb(), QUERY::copy_selection_list_2_query_box(), create_ali_intEntry(), create_ali_strEntry(), AW_window::create_button(), create_colorset_representation(), create_configuration_admin_window(), create_configuration_marker_window(), AW_gc_manager::create_gc_buttons(), create_gene_species(), ED4_root::create_hierarchy(), create_itemfield_selection_button(), create_loadsave_colored_window(), create_macro_variables(), create_modify_fields_window(), create_new_mask_cb(), create_new_species(), create_probe_design_variables(), QUERY::create_query_box(), RefEntries::create_refentries_window(), create_seq_color_awars(), create_splitAlignment_awars(), WeightedFilter::create_weights(), RegFieldSelection::create_window(), createCallOnSocketHost(), createCopy_table_handler(), createOpFromConfigAwar(), criterion_awar_name(), current_changed_cb(), ItemFieldShader::customize(), DB_create_byte_field(), DB_create_container(), DB_create_string_field(), QUERY::DbQuery_update_list(), ConfigMapping::decode_escapes(), decodeEscapes(), ColorGroupDef::defaultColorgroupName(), AW_root::define_remote_command(), delete_queried_species_cb(), InfoWindow::detach_selected_item(), detect_bitmap_size(), ArbImporter::detect_format(), detect_format_props(), detect_sina_version(), DI_MATRIX::detect_transformation(), di_calculate_tree_cb(), di_mark_by_distance(), ShaderPlugin::dimension_awar(), disexpectField(), InfoWindow::display_selected_item(), do_sth_with_species(), dot_missing_bases(), dot_sequence_by_consensus(), dump_internal(), dumpStreams(), ED4_finish_and_show_notFoundMessage(), ED4_get_and_jump_to_selected_SAI(), ED4_get_and_jump_to_species(), ED4_get_marked_from_menu(), ED4_jump_to_current_species(), ed4_nds_select_change(), ED4_pfold_set_SAI(), ED4_repeat_last_search(), ED4_set_helixnr(), ED4_start_plugin(), ED4_with_whole_block(), edit_SAI_description(), enter_stage_1_build_tree(), error_with_dbentry(), execute_macro(), existingPixmap(), EXP_update_combined_cb(), expandSetVariables(), expect_species_selected(), expect_used_in_genome_db(), StringParser::expectContent(), expectedError(), BaseCounter::expectEqual(), expectField(), Feature::expectLocationInSequence(), StringParser::expectSpaces(), experiment_create_handler(), export_format_multiple(), export_to_DB(), export_tree_label(), export_tree_node_print(), export_tree_node_print_xml(), ExposeOpenGLWindow(), extended_rename_handler(), StringParser::extractNumber(), StringParser::extractWord(), FastAligner_start(), FeatureLine::FeatureLine(), Itemfield_Selection::fill(), File_selection::fill(), AWT_configuration_selection::fill(), fillSelNamList(), GroupBuilder::find_best_matching_subtree(), RootSynchronizer::find_good_roots_for_trees(), find_SAI_candidates(), find_species_candidates(), find_sub_by_quark(), findAffectedKeys(), findSegmentContaining(), FINAL_TYPE< SEQTYPE >::finish(), ArbDBWriter::finishSave(), fit_pages(), flush_taxonomy_cb(), format(), gb_add_reference(), GB_append_exportedError(), GB_canonical_path(), GB_close(), GB_command_interpreter_in_env(), gb_convert_compression(), gb_create_reference(), GB_failedTo_error(), gb_find_value_equal(), gb_fix_recursive(), GB_fopen_tempfile(), GB_get_macro_error(), GB_install_pid(), GB_IO_error(), gb_is_valid_mapfile(), GB_login(), GB_move_file(), gb_parse_ascii(), gb_parse_ascii_rek(), gb_read_bin(), gb_read_bin_rek_V2(), GB_read_key_pntr(), gb_recover_corrupt_file(), GB_resort_data_base(), GB_safe_atof(), gb_scan_directory(), gb_security_error(), GB_set_macro_error(), GB_set_mode_of_file(), GB_test_delete_possible(), GB_textprint(), gb_transactable_type(), gb_uncompress_by_dictionary(), gb_uncompress_data(), GB_write_autoconv_string(), gbcm_login(), gbcm_unfold_client(), gbcmc_sendupdate_create(), gbcmc_sendupdate_update(), GBCMS_open(), gbcms_sighup(), GBK_system(), GBK_test_address(), gbl_command(), gbl_define(), gbl_do(), gbl_eval(), gbl_exec(), gbl_extract_sequence(), gbl_findgene(), gbl_read_seq_sai_or_species(), gbl_split(), gbl_taxonomy(), gbl_trace(), gbl_translate(), GBP_add_callback(), GBP_remove_callback(), gbs_build_replace_string(), GBS_compile_matcher(), GBS_eval_env(), GBS_read_arb_tcp(), GBS_readable_size(), GBS_regreplace(), GBS_static_string(), GBS_string_eval_in_env(), GBS_unwrap_regexpr(), GBT_add_data(), GBT_add_new_changekey_to_keypath(), GBT_check_alignment(), GBT_check_alignment_name(), GBT_check_arb_file(), GBT_check_data(), GBT_check_tree_name(), GBT_commit_rename_session(), GBT_config::GBT_config(), GBT_convert_changekey(), GBT_create_alignment(), GBT_determine_T_or_U(), GBT_gen_accession_number(), GBT_get_name_or_description(), GBT_install_message_handler(), gbt_invalid_because(), GBT_load_colorset(), GBT_log_to_named_trees_remark(), GBT_read_gene_sequence_and_length(), gbt_read_tree_rek(), gbt_rename_alignment_of_item(), GBT_rename_species(), GBT_rename_tree(), GBT_set_color_group(), GBT_set_startup_alignment(), gbt_set_type_of_changekey(), GBT_tree_info_string(), GBT_write_group_name(), gbt_write_tree(), gen_extract_gene_2_pseudoSpecies(), GEN_mark_command(), GEN_read_position(), GEN_root::GEN_root(), GEN_select_gene(), GEN_testAndRemoveTranslations(), GEN_update_combined_cb(), GEN_window_local_awar_name(), GEN_write_position(), gene_copy_handler(), gene_create_cb(), gene_rename_handler(), gene_requires(), GroupBuilder::generate_group_name(), RefEntries::generate_item_error(), ED4_root::generate_window(), ConsensusTreeBuilder::get(), MO_Liste::get_all_species(), get_and_fix_range_from_awar(), get_awar_name(), RegFieldSelection::get_button_awarname(), get_cached_taxonomy(), get_canvas_awar(), SaiBoolchainOperator::get_config(), get_db_path(), Deletable::get_delete_error(), SelectedDatabase::get_description(), get_downgroups(), ID_checker::get_dup_error(), Candidate::get_entry(), RegExpr::get_error(), SEQIO::get_exportFormat_evalForm(), get_full_qualified_help_file_name(), DisplayFormat::get_header(), awt_input_mask_global::get_identified_item(), Cluster::get_list_display(), FINAL_TYPE< SEQTYPE >::get_marker_name(), ProbeCollDisplay::get_marker_name(), get_match_info_formatted(), FINAL_TYPE< SEQTYPE >::get_name(), ParentGroupNameQueryKey::get_name(), ParsedProbeMatch::get_probe_region(), LongBranchMarker::get_report(), DepthMarker::get_report(), EdgeDistances::get_report(), ShaderPlugin::get_shader_local_id(), get_source_and_check_target_tree(), FINAL_TYPE< SEQTYPE >::get_target_data(), get_taxonomy(), get_taxonomy_string(), RegFieldSelection::get_type_awarname(), Cluster::get_upgroup_info(), GetDisplayInfo(), QueryExpr::getError(), GetImageFile(), GI_importGenomeFile(), group_species(), GS_calc_resulting_groupname(), FormatTester::handle_action_cb(), MacroRecorder::handle_tracked_client_action(), helix_pair_awar(), helix_symbol_awar(), highlight_and_update(), ArbImporter::import_data(), import_structure_from_file(), TreeNode::LengthCollector::independent_distribution(), GBENTRY::index_check_out(), BI_helix::init(), BI_ecoli_ref::init(), init(), ED4_root::init_alignment(), initial_progress::initial_progress(), input_cb(), input_history_cb(), input_history_insert(), insert_genes_of_organism(), InsertDatainGDE(), itemAwar(), FieldTransfer::ItemClonedByRuleSet::ItemClonedByRuleSet(), itemTypeSpecificWindowID(), jump_to_next_helix_cb(), AWT_configuration::keep_changed_fields(), ArbParsimony::kernighan_optimize_tree(), known_modes(), known_modules(), link_to_tree(), lintRuleset(), StorableSelectionList::load(), AWT_configuration::Load(), DI_MATRIX::load(), load_and_startup_main_window(), load_search_paras_from_file(), LoadData(), FieldTransfer::RuleSet::loadFrom(), LoadMenus(), loadsave_colorset_cb(), InfoWindowRegistry::localize_scanner_id(), GB_MAIN_TYPE::login_remote(), main(), SaiBoolRule::make(), SaiBoolchainOperator::make(), TreeAdmin::make_dest_treename_unique_cb(), FilterDefinition::make_filter(), make_limit_string(), di_protdist::makedists(), FieldTransfer::Rule::makeFromConfig(), makeFromConfigRule(), Structure3D::MapCurrentSpeciesToEcoliTemplate(), mapping_awar_name(), mark_action(), AP_tree::mark_duplicates(), BranchWindow::markDegeneratedBranches(), QueryExpr::matches(), ColumnWidths::max2width(), merge_from_to(), MERGE_sequences_simple(), mergeKnownFields(), mergeSimilarSpecies(), mg_check_field_cb(), MG_copy_and_check_alignments(), MG_create_field_content(), MG_create_remap(), MG_create_save_as_window(), MG_delete_selected_field_def(), MG_dest_field_changed_cb(), MG_equal_alignments(), MG_export_fields(), MG_save_cb(), MG_transfer_config(), MG_transfer_extended(), MG_transfer_one_species(), mg_transfer_selected_species(), MG_transfer_tree(), modify_fields_of_queried_cb(), modsai_cb(), AP_tree::move_group_to(), move_species_to_extended(), mp_file2list(), MP_new_sequence(), MP_Window::MP_Window(), multiroot_sync_subsetTrees(), mutexDir(), namesFilename(), NDS_create_window(), nds_maintain_viewkeys(), nds_restore_config(), neverTranslatesError(), SEC_structure_toggler::next(), ArbImporter::next_file(), no_data_error(), no_files_found_error(), awt_input_mask_global::no_item_selected(), not_in_match_error(), NT_activate_configMarkers_display(), nt_add(), nt_add_partial(), NT_alltree_remove_leafs(), NT_convert_gene_locations(), nt_create_configuration(), nt_create_intro_window(), NT_create_select_tree_window(), NT_create_syncScroll_window(), NT_createConcatenationAwars(), NT_del_mark_move_REF(), nt_delete_database(), nt_extract_configuration(), NT_fill_canvas_selection_list(), NT_fix_dict_compress(), NT_fix_gene_data(), NT_reload_tree_event(), nt_rename_configuration(), nt_start_editor_on_configuration(), NT_update_marked_counter(), SelectedDatabase::open_db_for_merge(), openMaskWindowByType(), ArbParsimony::optimize_tree(), SAI_graphic::paint(), SEC_root::paint(), SEC_root::paintPosAnnotation(), Parameter::Parameter(), pars_check_size(), pars_start_cb(), NtreeCommandLine::parse(), parse_CMD_RADIO(), parse_names_into_gene_struct(), parseCounter(), parseCSV(), ConfigMapping::parseFrom(), parseLocationList(), ParseMenus(), parsePositions(), parsesize(), pd_export_pt_server(), pd_get_the_gene_names(), pd_get_the_names(), pd_kill_pt_server(), perform_query_cb(), GroupSearch::perform_search(), performmode_relative_id(), PH_create_ml_multiline_SAI(), ShaderPlugin::plugin_awar(), popup_group_search_window(), PosGene::PosGene(), preCreateTempfile(), prepare_and_get_selected_itemfield(), primer_design_event_go(), primer_design_event_init(), primer_design_event_update_memory(), print_prototype_parse_error(), probe_design_event(), probe_match(), probe_match_all_event(), probe_match_event(), probe_match_with_specificity_event(), probe_read_data_base(), pseudo_species_hash_key(), PT_init_map(), PT_prepare_species_sequence(), PT_start_design(), PTD_read_leafs_from_disk(), PTD_write_chain_to_disk(), ptpd_read_names(), ptserver_directory_info_command(), PV_PrintMissingDBentryInformation(), PV_WriteTranslatedSequenceToDB(), quick_scan_input_mask(), react_to_command(), SEC_region::read(), ArbImporter::read_data(), SEC_root::read_data(), read_export_format(), ArbImporter::read_format(), read_import_format(), read_keyword(), read_tree_and_size_internal(), ReadArbdb(), readCompactedSequence(), realign_event(), Realigner::realign_seq(), AP_tree::recompute_and_write_folding(), RecordingMacro::RecordingMacro(), recursiveNNI(), refresh_availfield_selbox_cb(), RefEntries::refresh_result_cb(), refresh_rule_selection_box_cb(), UserlandCheck::Register(), RegFieldSelection::registrate(), awt_input_mask_id_list::remove(), awt_input_mask_global::remove_id(), remove_redundant_translation(), rename_SAI_cb(), renameDB(), DBwriter::renumberDuplicateGenes(), ReplaceArgs(), rerun_importTest_cb(), resolve_IUPAC_target_string(), restore_colorset_representation(), LocationEditor::revcomp(), reverseComplement(), rootsync_subsetTrees_vs_selected(), ruleSelId(), Aligner::run(), run_command(), run_rnacma(), run_server(), sai_transtab_awar(), AP_pos_var::save_aliEntry_to_SAI(), GB_MAIN_TYPE::save_quick(), GB_MAIN_TYPE::save_quick_as(), save_search_paras_to_file(), AWT_graphic_tree::save_to_DB(), save_tree_as_newick(), GBT_config::saveAsOver(), AP_tree_root::saveToDB(), parameters::scan(), scan_flag_parameter(), scan_keyword_parameter(), scan_long_parameter(), scan_string_or_keyword_parameter(), ItemFieldShader::scan_value_range_cb(), QUERY::search_duplicated_field_content(), searchParamsChanged(), SEC_delete_structure(), sec_expect_closing_bracket(), sec_expect_keyword_and_doubles(), sec_expect_keyword_and_ints(), SEC_foldedHelixList_to_xstring(), SEC_new_structure(), SEC_structure_toggler::SEC_structure_toggler(), SEC_xstring_to_foldedHelixList(), selected_group_changed_by_canvas_cb(), selectValidNameFromList(), server_load(), set_advice_id(), set_diff_reference(), set_field_of_queried_cb(), set_marks_of(), awt_mask_item::set_name(), set_protection_level(), set_protection_of_queried_cb(), BoundActionTracker::set_recording(), set_SAI_group(), setup_helix_config(), setup_keymap_config(), setup_pfold_config(), FINAL_TYPE< SEQTYPE >::shader_awar(), show_error(), GroupChanges::show_message(), show_soft_link(), showDeconstructingSubtitle(), sigsegv_handler(), sina_cmd_changed_cb(), sina_start(), spaced_weightable(), species_copy_cb(), species_create_handler(), species_delete_cb(), species_not_found(), species_requires(), split_ali_cb(), split_alignment(), SEC_root::split_loop(), SQ_add_changekeys(), sq_calc_seq_quality_cb(), SQ_evaluate(), st_ml_add_quality_string_to_species(), start_pt_server(), ArbDBWriter::startSaveAs(), startup_dbserver(), startup_gui(), sync_changed_cb(), References::tagged_content(), throwItemError(), FINAL_TYPE< SEQTYPE >::tmp_shader_awar(), AWT_graphic_tree::toggle_group(), GBL_IMPL::trace_params(), RecordingMacro::track_action(), ClientActionTracker::track_action(), RecordingMacro::track_awar_change(), ClientActionTracker::track_awar_change(), trackAlignmentChanges(), transfer_field_of_listed_cb(), transfer_field_of_selected_cb(), transfer_single_field(), transfer_tree(), ScopedTransporter::transferAllIn(), FieldTransfer::RuleSet::transferBy(), transform_gbd_to_leaf(), translate_config_changed_cb(), translate_getInfo(), translate_saveInfo(), TranslateGeneToAminoAcidSequence(), TreeAdmin::tree_copy_or_rename_cb(), TREE_load(), tree_size_ok(), tree_vars_callback(), TREE_write_Newick(), ArbTcpDat::update(), RegFieldSelection::update_button_text(), update_example(), update_exportTest_result_cb(), AWT_configuration::update_field_content(), AWT_configuration::update_field_selection_list(), update_format_description(), AW_gc_manager::update_gc_font(), GroupBuilder::update_group(), update_main_window_title(), update_RangeList(), update_restore_label(), update_rulesAwar(), updateValNameList(), use_editor_range_cb(), viewkeyAwarName(), ED4_folding_line::warn_illegal_dimension(), warn_unknown_awar(), warn_unrecordable(), NodeTextBuilder::work(), AWT_config_definition::write(), write_configs_to_awar(), write_file(), write_float_converted(), write_int_converted(), AWT_config::write_to_awars(), writeDefaultMaskfile(), writeStringToAlignment(), writeToArb(), XFER_getFullFTS(), EG2PS_data::~EG2PS_data(), and MessageSpamFilter::~MessageSpamFilter().

const char* GBS_static_string ( const char str)
GB_ERROR GBK_assert_msg ( const char assertion,
const char file,
int  linenr 
)
GB_ERROR GB_export_error ( const char error)

Definition at line 257 of file arb_msg.cxx.

References arb_assert, and GB_export_errorf().

Referenced by colorize_marked_cb(), colorize_queried_cb(), compress_sequence_tree(), create_gene_species(), ED4_pfold_calculate_secstruct_match(), ED4_show_protein_match_on_device(), EXP_get_first_experiment_data(), expandSetVariables(), find_sub_sub_by_quark(), findOrCreate_configuration(), gb_build_uncompress_tree(), GB_canonical_path(), gb_check_huffmann_tree(), GB_clone(), gb_clone_explicit(), GB_command_interpreter_in_env(), gb_copy_explicit(), GB_create(), GB_create_container(), GB_export_IO_error(), GB_fopen_tempfile(), GB_get_dictionary(), gb_is_valid_mapfile(), gb_load_dictionary_data(), GB_login(), GB_map_FILE(), gb_read_bin(), gb_read_bin_rek_V2(), GB_read_file(), GB_read_old_size(), GB_read_old_value(), gb_recover_corrupt_file(), gb_resort_system_folder_to_top(), gb_save_dictionary_data(), gb_search(), GB_searchOrCreate_float(), GB_searchOrCreate_int(), GB_searchOrCreate_string(), GB_size_of_FILE(), gb_uncompress_by_dictionary(), gb_uncompress_data(), GB_undo_info(), GB_unlink(), gbcmc_close(), GBCMC_find(), gbcmc_key_alloc(), gbcmc_send_undo_info_commands(), gbl_read_seq_sai_or_species(), GBS_compile_matcher(), GBS_eval_env(), GBS_get_arb_tcp_entries(), GBS_modify_tagged_string_with_ACI(), GBS_read_arb_tcp(), GBS_string_eval_in_env(), GBT_add_data(), GBT_create(), GBT_create_sequence_data(), GBT_gen_accession_number(), GBT_get_alignment(), GBT_is_partial(), GBT_open(), GEN_create_nonexisting_gene_rel_gene_data(), GEN_find_or_create_gene_rel_gene_data(), GEN_get_first_gene_data(), GEN_read_position(), get_default_alignment(), get_local_help_url(), RefEntries::RefSelector::get_refs(), main(), FilterDefinition::make_filter(), MG_equal_alignments(), PG_initSpeciesMaps(), prepare_and_get_selected_itemfield(), DI_MATRIX::save(), ACI_Labeler::speciesLabel(), TREE_export_tree(), and undo_entry().

GB_ERROR GB_export_errorf ( const char templat,
  ... 
)

Definition at line 262 of file arb_msg.cxx.

References GB_error_buffer, GBS_GLOBAL_STRING_SIZE, GlobalStringBuffers::parg, and va_start().

Referenced by apply_ACI(), arb_shell_expand(), arb_start_server(), AWTC_generate_one_name(), AWTC_makeUniqueShortName(), colstat_2_gnuplot_cb(), concatenateFieldsCreateNewSpecies(), count_bases(), createDataFromConsensus(), expect_entry(), experiment_copy_handler(), experiment_rename_handler(), export_structure_to_file(), find_or_create(), fullMacroname(), GB_canonical_path(), gb_clone_explicit(), gb_copy_explicit(), GB_create(), gb_expect_type(), GB_export_error(), GB_is_dictionary_compressed(), GB_map_FILE(), GB_map_file(), gb_read_bin_error(), gb_recover_corrupt_file(), GB_release(), gb_search(), GB_set_undo_mem(), gbcm_logout(), GBCMC_find(), gbcms_talking_begin_transaction(), gbcms_talking_find(), gbcms_talking_init_transaction(), GBS_read_dir(), GBT_create_alignment(), GBT_expect_item_rel_item_data(), GBT_find_or_create_item_rel_item_data(), GBT_get_alignment(), GBT_get_alignment_len(), GBT_get_alignment_type_string(), GBT_read_gene_sequence_and_length(), GBT_read_tree_and_size(), GBT_searchOrCreate_itemfield_according_to_changekey(), GBT_tree_info_string(), gen_extract_gene_2_pseudoSpecies(), GEN_organism_not_found(), GEN_species_add_entry(), get_default_alignment(), import_structure_from_file(), MG_equal_alignments(), MG_update_example(), nds_restore_config(), NTREE_move_tree_info(), SpeciesFlag::prepare_itemfield(), primer_design_event_init(), probe_design_event(), ArbImporter::read_data(), ED4_seq_colors::reload(), split_stat_filename(), GBL_IMPL::trace_params(), TranslateGeneToAminoAcidSequence(), TREE_load(), and TREE_write_XML().

GB_ERROR GB_IO_error ( const char action,
const char filename 
)
GB_ERROR GB_export_IO_error ( const char action,
const char filename 
)
GB_ERROR GB_print_error ( void  )
GB_ERROR GB_get_error ( void  )
bool GB_have_error ( void  )

Definition at line 338 of file arb_msg.cxx.

References GB_error_buffer.

Referenced by after_callback_guard(), alignment_vars_callback(), arb_look_and_start_server(), awt_create_PTSERVER_selection_button(), AWT_install_cb_guards(), before_callback_guard(), calc_and_update_alignment_errors_cb(), Candidate::Candidate(), check_for_remote_command(), CON_calc_max_freq(), NameServerConnection::connect(), copy_move_del_alignment(), copy_rename_handler(), WeightedFilter::create_aliview(), dump_internal(), edit_SAI_description(), SEQIO::export_by_format(), export_go_cb(), FastAligner_start(), File_selection::File_selection(), find_or_create(), find_SAI_candidates(), find_species_candidates(), fullMacroname(), GB_append_exportedError(), GB_clone(), gb_clone_explicit(), GB_command_interpreter_in_env(), GB_create(), GB_create_container(), GB_incur_error(), GB_incur_error_if(), GB_read_lossless_byte(), GB_read_lossless_float(), GB_read_lossless_int(), gb_search(), GB_searchOrCreate_float(), GB_searchOrCreate_int(), GB_searchOrCreate_string(), gbs_build_replace_string(), GBS_read_dir(), GBT_create(), GBT_expect_item_rel_item_data(), GBT_find_or_create(), GBT_get_alignment(), GBT_get_alignment_len(), GBT_get_alignment_type_string(), GBT_load_colorset(), GBT_log_to_tree_remark(), GBT_open(), GBT_searchOrCreate_itemfield_according_to_changekey(), gbt_write_tree_nodes(), GDE_startaction_cb(), gene_create_cb(), get_default_alignment(), FINAL_TYPE< SEQTYPE >::get_target_data(), GetDisplayInfo(), ArbImporter::import_data(), LoadMenus(), modsai_cb(), no_files_found_error(), pars_check_size(), prepare_and_get_selected_itemfield(), PV_WriteTranslatedSequenceToDB(), ArbImporter::read_data(), FieldTransfer::ReadRule::readFrom(), remote_command_handler(), ExportFieldScanner::scanFields(), SequenceHandler::SequenceHandler(), FieldTransfer::Rule::transferBy(), FieldTransfer::RuleSet::transferBy(), TranslateGeneToAminoAcidSequence(), update_RangeList(), and NodeTextBuilder::work().

GB_ERROR GB_await_error ( void  )

Definition at line 342 of file arb_msg.cxx.

References arb_assert, GB_error_buffer, and NULp.

Referenced by PlugIn::activate(), ad_move_tree_info(), adaptCopiedAlignment(), FilteredExport::add_SAI_filter(), FINAL_TYPE< SEQTYPE >::addSequence(), after_callback_guard(), ALI_translate_marked(), alignCompactedTo(), announce_recording(), AP_calc_pos_var_pars(), SaiAciApplicator::apply(), TreeNode::apply_aci_to_remarks(), apply_filters(), apply_to_origin(), applyToItemFoundByKey(), arb_look_and_kill_server(), arb_look_and_start_ptserver(), arb_look_and_start_server(), ARB_main(), arb_start_server(), aw_help_browse(), aw_help_helpfile_changed_cb(), aw_help_search(), AW_select_nameserver(), awt_aps_go(), awt_open_ACI_URL_with_item(), AWT_show_file(), awtc_nn_search_all_listed(), AWTC_pars_names(), AWTC_recreate_name(), before_callback_guard(), build_consensus_tree(), calc_and_update_alignment_errors_cb(), calc_pvp(), ST_ML::calc_st_ml(), FieldReader::calc_value(), ColumnStat::calculate(), calculateEndPosition(), canvas_to_printer(), colstat_2_gnuplot_cb(), CommandOutput::CommandOutput(), compress_sequence_tree(), CON_calc_max_freq(), CON_calc_max_freq_cb(), CON_calculate(), concatenateAlignments(), concatenateFieldsCreateNewSpecies(), config_rename_handler(), NameServerConnection::connect(), copy_move_del_alignment(), copy_SAI_cb(), copy_SAI_to_species_cb(), copy_tree_container(), SequenceHandler::create(), create_ali_handler(), create_ali_intEntry(), create_ali_strEntry(), create_concatInfo_SAI(), create_consense_tree_cb(), create_data_entry(), create_gene_species(), create_genelike_entry(), create_macro_variables(), create_new_species(), create_split_gene(), createCommentSkippingFileBuffer(), createFileBuffer(), Data::Data(), DBerror::DBerror(), EntryRemover::del_unwanted_entries(), delete_macro_cb(), deleteRuleset_cb(), deleteSuperfluousQuicksaves(), di_calculate_compressed_matrix_cb(), DI_create_matrix_variables(), AP_sequence::do_lazy_load(), dot_missing_bases(), dot_sequence_by_consensus(), dump_internal(), ED4_get_NDS_text(), ed_submit_info_event(), ed_submit_parse_event(), edit_SAI_description(), ensure_trees_have_order(), enter_stage_1_build_tree(), MacroRecorder::execute(), experiment_copy_handler(), experiment_create_handler(), experiment_rename_handler(), export_format_single(), export_newick(), export_seq_data(), export_species_using_form(), export_to_DB(), extended_rename_handler(), DI_MATRIX::extract_from_tree(), FastAligner_start(), Itemfield_Selection::fill(), AWT_tree_selection::fill(), PT_selection::fill(), find_SAI_candidates(), find_species_candidates(), findAffectedKeys(), Structure3D::FindTypeOfRNA(), FINAL_TYPE< SEQTYPE >::finish(), flush_taxonomy_cb(), g_bs_convert_string_to_tagged_hash_with_rewrite(), GB_append_exportedError(), gb_clone_explicit(), GB_close(), gb_convert_compression(), gb_create_key(), GB_delete_database(), GB_get_macro_error(), GB_incur_error(), GB_install_pid(), gb_load_key_data_and_dictionaries(), GB_login(), gb_parse_ascii_rek(), gb_read_bin(), gb_recover_corrupt_file(), GB_searchOrCreate_float(), GB_searchOrCreate_int(), GB_searchOrCreate_string(), gb_uncompress_by_sequence(), gb_uncompress_data(), GB_unlink_or_warn(), GBC_await_error(), gbcm_open_socket(), gbcms_sighup(), gbl_ali_name(), gbl_apply_binary_operator(), gbl_command(), gbl_do(), gbl_eval(), gbl_exec(), gbl_read_seq_sai_or_species(), gbl_select(), gbl_sequence(), gbl_sequence_type(), gbl_srt(), gbs_build_replace_string(), GBT_add_new_changekey_to_keypath(), GBT_commit_rename_session(), GBT_compress_sequence_tree2(), GBT_config::GBT_config(), GBT_convert_changekey(), GBT_create_alignment(), GBT_find_or_create_item_rel_item_data(), GBT_load_colorset(), GBT_log_to_tree_remark(), GBT_macro_execute(), GBT_message(), GBT_read_gene_sequence_and_length(), gbt_read_tree_rek(), gbt_rename_alignment_of_item(), GBT_set_alignment_len(), GBT_set_startup_alignment(), GBT_write_byte(), GBT_write_float(), GBT_write_int(), GBT_write_name_to_groupData(), GBT_write_string(), gbt_write_tree(), gbt_write_tree_nodes(), GEN_create_nds_vars(), GEN_create_nonexisting_gene_rel_gene_data(), gen_extract_gene_2_pseudoSpecies(), GEN_is_genome_db(), GEN_make_node_text_nds(), GEN_root::GEN_root(), GEN_species_add_entry(), GEN_update_GENE_CONTENT(), GEN_write_position(), gene_copy_handler(), gene_create_cb(), gene_extract_handler(), gene_rename_handler(), get_cached_taxonomy(), get_DB_state(), FINAL_TYPE< SEQTYPE >::get_target_data(), GetDisplayInfo(), group_set_folded(), GS_calc_resulting_groupname(), FormatTester::handle_action_cb(), ArbImporter::import_data(), GBENTRY::index_check_out(), BI_helix::init(), BI_ecoli_ref::init(), probe_input_data::init(), ED4_root::init_alignment(), init_data(), init_tmp_branch(), insert_genes_of_organism(), FieldTransfer::ItemClonedByRuleSet::ItemClonedByRuleSet(), jobLabel(), AWT_configuration::Load(), load_and_add_tree(), load_and_startup_main_window(), ARB_seqtree_root::loadFromDB(), loadsave_colorset_cb(), main(), FilterDefinition::make_filter(), AW_awar::make_global(), Structure3D::MapCurrentSpeciesToEcoliTemplate(), mark_action(), mark_gene_species_using_current_alignment(), mark_nontree_cb(), mark_tree_cb(), MERGE_sequences_simple(), mergeSimilarSpecies(), mg_check_field_cb(), MG_copy_and_check_alignments(), MG_create_db_dependent_rename_awars(), MG_create_field_content(), MG_merge_tagged_field_cb(), MG_transfer_extended(), MG_transfer_fields_info(), MG_transfer_one_species(), modify_fields_of_queried_cb(), modify_target_string(), modsai_cb(), move_species_to_extended(), SEC_structure_toggler::name(), nds_delete_database_entries(), nds_maintain_viewkeys(), ArbImporter::next_file(), no_files_found_error(), nt_add_partial(), nt_best_partial_match_rec(), NT_convert_gene_locations(), NT_count_different_chars(), NT_create_sai_from_pfold(), NT_createConcatenationAwars(), NT_del_mark_move_REF(), NT_import_sequences(), NT_importValidNames(), NT_mark_all_cb(), nt_species_join(), NT_suggestValidNames(), AP_main::open(), PH_root::open(), SelectedDatabase::open_db_for_merge(), parseCSV(), pd_export_pt_server(), pd_get_the_gene_names(), pd_get_the_names(), pd_kill_pt_server(), pd_query_pt_server(), PH_create_filter_variables(), PH_create_ml_multiline_SAI(), PH_save_ml_cb(), PosGene::PosGene(), preCreateTempfile(), predef_prg(), primer_design_event_go(), primer_design_event_init(), probe_design_event(), probe_match_event(), probe_read_data_base(), propertyName(), PT_prepare_data(), PT_prepare_species_sequence(), PTD_read_leafs_from_disk(), PV_WriteTranslatedSequenceToDB(), PVP_calculate(), react_to_command(), ArbImporter::read_data(), read_export_format(), read_tree_and_size_internal(), FieldTransfer::ReadRule::readFrom(), RecordingMacro::RecordingMacro(), RefEntries::refresh_result_cb(), CheckedConsistencies::register_as_performed(), resolve_IUPAC_target_string(), resort_data_base(), run_command(), run_server(), AP_pos_var::save_aliEntry_to_SAI(), GB_MAIN_TYPE::save_quick_as(), save_tree_as_newick(), GBT_config::saveAsOver(), scan_gene_positions(), ItemFieldShader::scan_value_range_cb(), SEC_structure_toggler::SEC_structure_toggler(), SequenceHandler::SequenceHandler(), AWT_configuration::set_config(), set_DB_state(), set_field_of_queried_cb(), set_intEntry_to(), BoundActionTracker::set_recording(), set_tree_idx(), setIntEntryToZero(), sina_start(), sort_tree_by_other_tree(), species_copy_cb(), species_create_handler(), ACI_Labeler::speciesLabel(), split_ali_cb(), split_alignment(), split_data_into_parts(), sq_calc_seq_quality_cb(), st_check_cb(), st_ml_add_quality_string_to_species(), start_remote_command_for_application(), StaticData::track_ali(), track_ali_change_cb(), trackAlignmentChanges(), transfer_field_of_listed_cb(), transfer_single_field(), transfer_tree(), translate_gene_sequence(), TranslateGeneToAminoAcidSequence(), translateSAItoColors(), TreeAdmin::tree_append_remark(), TREE_load_to_db(), tree_write_float(), TREE_write_Newick(), TREE_write_XML(), AW_awar::update(), GroupBuilder::update_group(), update_RangeList(), NodeTextBuilder::work(), FilteredExport::write_fasta(), SpecSetRegistry::write_node_information(), FieldTransfer::WriteRule::writeTo(), and writeToArb().

void GB_clear_error ( void  )
GB_ERROR GB_incur_error ( )
inline

Take over responsibility for any potential (exported) error.

Returns
NULp if no error was exported; the error otherwise Postcondition: no error is exported

Definition at line 49 of file arb_msg.h.

References GB_await_error(), GB_have_error(), and NULp.

Referenced by arb_open_socket(), calculateEndPosition(), VarUpdateInfo::change_from_widget(), export_newick(), GB_incur_error_if(), GB_read_lossless_byte(), GB_read_lossless_float(), GB_read_lossless_int(), LoadMenus(), loadsave_colorset_cb(), and mark_action().

GB_ERROR GB_incur_error_if ( bool  error_may_occur)
inline
GB_ERROR GB_failedTo_error ( const char do_something,
const char special,
GB_ERROR  error 
)
GB_ERROR GB_append_exportedError ( GB_ERROR  error)
class BackTraceInfo* GBK_get_backtrace ( size_t  skipFramesAtBottom)

Definition at line 405 of file arb_msg.cxx.

References BackTraceInfo::BackTraceInfo().

void GBK_dump_former_backtrace ( class BackTraceInfo trace,
FILE *  out,
const char message 
)

Definition at line 408 of file arb_msg.cxx.

References demangle_backtrace().

void GBK_free_backtrace ( class BackTraceInfo trace)

Definition at line 412 of file arb_msg.cxx.

void GBK_dump_backtrace ( FILE *  out,
const char message 
)

Definition at line 416 of file arb_msg.cxx.

References BackTraceInfo::BackTraceInfo(), and demangle_backtrace().

Referenced by GB_internal_error(), and GBK_terminate().

void GB_internal_error ( const char message)
void GB_internal_errorf ( const char templat,
  ... 
)
void GBK_terminate ( const char error)

Definition at line 509 of file arb_msg.cxx.

References ARB_CRASH_CODE, ARB_SIGSEGV, fflush(), fputs(), and GBK_dump_backtrace().

Referenced by GBK_terminatef().

void GBK_terminatef ( const char templat,
  ... 
)
void GBK_terminate_on_error ( const char error)
inline

Definition at line 75 of file arb_msg.h.

References GBK_terminatef().

Referenced by gb_create_key().

void GB_warning ( const char message)
void GB_warningf ( const char templat,
  ... 
)
void GB_warning_if ( const char message)

this is the equivalent to aw_message_if() (from libraries which know nothing about GUI)

Definition at line 541 of file arb_msg.cxx.

References GB_warning().

Referenced by experiment_field_selection_list_rescan(), gene_field_selection_list_rescan(), and species_field_selection_list_rescan().

void GB_information ( const char message)

Definition at line 548 of file arb_msg.cxx.

References active_arb_handlers, and arb_handlers::show_message.

Referenced by compress_sequence_tree(), and GB_informationf().

void GB_informationf ( const char templat,
  ... 
)
void GBS_reuse_buffer ( const char global_buffer)

Definition at line 563 of file arb_msg.cxx.

References globBuf.

Referenced by disexpectField(), GB_canonical_path(), and NT_convert_gene_locations().

GB_ERROR GBK_system ( const char system_command)

Definition at line 571 of file arb_msg.cxx.

References error(), fflush(), GB_IO_error(), GBS_global_string(), and NULp.

char* GBK_singlequote ( const char arg)
char* GBK_doublequote ( const char arg)

Enclose argument in single quotes (like "arg") for POSIX shell commands. Opposed to single quoted strings, shell will interpret double quoted strings.

Definition at line 624 of file arb_msg.cxx.

References GBS_strstruct::cat(), GBS_strstruct::ncat(), GBS_strstruct::put(), and GBS_strstruct::release().

Referenced by GB_xcmd().