ARB
|
#include "merge.hxx"
#include <item_sel_list.h>
#include <aw_awar.hxx>
#include <aw_root.hxx>
#include <aw_msg.hxx>
#include <arb_progress.h>
#include <arbdbt.h>
#include <arb_strbuf.h>
#include <arb_global_defs.h>
#include <cctype>
Go to the source code of this file.
Macros | |
#define | AWAR_CHECK AWAR_MERGE_TMP "chk/" |
#define | AWAR_COMPARE_FIELD AWAR_CHECK "compare" |
#define | AWAR_REPORT_FIELD AWAR_CHECK "report" |
#define | AWAR_TOUPPER AWAR_CHECK "ToUpper" |
#define | AWAR_EXCLUDE AWAR_CHECK "exclude" |
#define | AWAR_CORRECT AWAR_CHECK "correct" |
#define | AWAR_ETAG AWAR_CHECK "tag" |
Functions | |
static int | gbs_cmp_strings (char *str1, char *str2, int *tab) |
static char * | MG_diff_strings (char *str1, char *&str2, char *exclude, bool ToUpper, bool correct, char **res1, char **res2, bool &corrrected) |
long | mg_count_queried (GBDATA *gb_main) |
static void | mg_check_field_cb (AW_window *aww) |
AW_window * | create_mg_check_fields_window (AW_root *aw_root) |
#define AWAR_CHECK AWAR_MERGE_TMP "chk/" |
Definition at line 26 of file MG_checkfield.cxx.
#define AWAR_COMPARE_FIELD AWAR_CHECK "compare" |
Definition at line 28 of file MG_checkfield.cxx.
Referenced by create_mg_check_fields_window(), and mg_check_field_cb().
#define AWAR_REPORT_FIELD AWAR_CHECK "report" |
Definition at line 29 of file MG_checkfield.cxx.
Referenced by create_mg_check_fields_window(), and mg_check_field_cb().
#define AWAR_TOUPPER AWAR_CHECK "ToUpper" |
Definition at line 30 of file MG_checkfield.cxx.
Referenced by create_mg_check_fields_window(), and mg_check_field_cb().
#define AWAR_EXCLUDE AWAR_CHECK "exclude" |
Definition at line 31 of file MG_checkfield.cxx.
Referenced by create_mg_check_fields_window(), and mg_check_field_cb().
#define AWAR_CORRECT AWAR_CHECK "correct" |
Definition at line 32 of file MG_checkfield.cxx.
Referenced by create_mg_check_fields_window(), and mg_check_field_cb().
#define AWAR_ETAG AWAR_CHECK "tag" |
Definition at line 33 of file MG_checkfield.cxx.
Referenced by create_mg_check_fields_window(), and mg_check_field_cb().
Definition at line 36 of file MG_checkfield.cxx.
Referenced by MG_diff_strings().
|
static |
Definition at line 54 of file MG_checkfield.cxx.
References ARB_strdup(), GBS_strstruct::cat(), gbs_cmp_strings(), GBS_strstruct::ncat(), NULp, GBS_strstruct::put(), GBS_strstruct::release(), and tab().
Referenced by mg_check_field_cb().
Definition at line 179 of file MG_checkfield.cxx.
References GBT_first_species(), GBT_next_species(), and IS_QUERIED_SPECIES.
Referenced by mg_check_field_cb(), MG_merge_tagged_field_cb(), mg_transfer_listed_species(), transfer_field_of_listed_cb(), and ScopedTransporter::transferAllIn().
|
static |
Definition at line 190 of file MG_checkfield.cxx.
References aw_message(), AW_root::awar(), AWAR_COMPARE_FIELD, AWAR_CORRECT, AWAR_ETAG, AWAR_EXCLUDE, AWAR_REPORT_FIELD, AWAR_TOUPPER, error(), GB_await_error(), GB_begin_transaction(), GB_delete(), GB_end_transaction(), GB_FIND, GB_find_string(), GB_get_father(), GB_IGNORE_CASE, GB_read_as_tagged_string(), GB_search(), GB_write_autoconv_string(), GB_write_flag(), GBS_global_string(), GBS_global_string_copy(), GBT_first_species_rel_species_data(), GBT_get_name_or_description(), GBT_get_species_data(), GBT_next_species(), GBT_write_string(), AW_window::get_root(), GLOBAL_gb_dst, GLOBAL_gb_src, arb_progress::inc_and_check_user_abort(), IS_QUERIED_SPECIES, mg_assert, mg_count_queried(), MG_diff_strings(), NO_FIELD_SELECTED, NULp, prepare_and_get_selected_itemfield(), AW_awar::read_int(), AW_awar::read_string(), SEARCH_GRANDCHILD, and SPECIES_get_selector().
Referenced by create_mg_check_fields_window().
Definition at line 330 of file MG_checkfield.cxx.
References AW_POPDOWN(), AW_ROOT_DEFAULT, AWAR_COMPARE_FIELD, AWAR_CORRECT, AWAR_ETAG, AWAR_EXCLUDE, AW_root::awar_int(), AWAR_REPORT_FIELD, AW_root::awar_string(), AWAR_TOUPPER, create_itemfield_selection_button(), FIELD_FILTER_STRING_READABLE, FIELD_FILTER_STRING_WRITEABLE, GLOBAL_gb_dst, makeHelpCallback(), mg_check_field_cb(), NO_FIELD_SELECTED, SF_ALLOW_NEW, and SPECIES_get_selector().
Referenced by MG_create_merge_species_window().