ARB
|
#include <aw_base.hxx>
#include <cb.h>
Go to the source code of this file.
Macros | |
#define | AWAR_IMPORT_PREFIX "import/" |
#define | AWAR_IMPORT_TMP_PREFIX "tmp/import/" |
#define | AWAR_IMPORT_GENOM_DB AWAR_IMPORT_TMP_PREFIX "genom_db" |
#define | AWAR_IMPORT_AUTOCONF AWAR_IMPORT_PREFIX "autoconf" |
Enumerations | |
enum | AWTI_ImportType { IMP_GENOME_FLATFILE, IMP_PLAIN_SEQUENCE } |
Functions | |
void | AWTI_import_set_ali_and_type (AW_root *awr, const char *ali_name, const char *ali_type, GBDATA *gbmain) |
void | AWTI_open_import_window (AW_root *awr, const char *def_importname, bool do_exit, GBDATA *gb_main, const RootCallback &after_import_cb) |
void | AWTI_set_importDB_pointer (GBDATA *&dbPtr) |
void | AWTI_cleanup_importer () |
GBDATA * | AWTI_acquire_imported_DB_and_cleanup_importer () |
#define AWAR_IMPORT_PREFIX "import/" |
Definition at line 22 of file awti_import.hxx.
#define AWAR_IMPORT_TMP_PREFIX "tmp/import/" |
Definition at line 23 of file awti_import.hxx.
#define AWAR_IMPORT_GENOM_DB AWAR_IMPORT_TMP_PREFIX "genom_db" |
Definition at line 25 of file awti_import.hxx.
Referenced by AWTI_open_import_window(), create_import_awars(), NT_import_sequences(), and wants_import_genome().
#define AWAR_IMPORT_AUTOCONF AWAR_IMPORT_PREFIX "autoconf" |
Definition at line 26 of file awti_import.hxx.
Referenced by AWTI_open_import_window(), create_import_awars(), nt_seq_load_cb(), and start_main_window_after_import().
enum AWTI_ImportType |
Enumerator | |
---|---|
IMP_GENOME_FLATFILE | |
IMP_PLAIN_SEQUENCE |
Definition at line 28 of file awti_import.hxx.
void AWTI_import_set_ali_and_type | ( | AW_root * | awr, |
const char * | ali_name, | ||
const char * | ali_type, | ||
GBDATA * | gbmain | ||
) |
Definition at line 1359 of file AWTI_import.cxx.
References AW_root::awar(), AWAR_IMPORT_ALI, AWAR_IMPORT_ALI_PROTECTION, AWAR_IMPORT_ALI_TYPE, GB_clear_error(), GB_entry(), GB_read_int(), GBT_get_alignment(), GENOM_ALIGNMENT, last_ali, NULp, AW_awar::read_string(), ta, AW_awar::write_int(), and AW_awar::write_string().
Referenced by genom_flag_changed(), and NT_import_sequences().
void AWTI_open_import_window | ( | AW_root * | awr, |
const char * | def_importname, | ||
bool | do_exit, | ||
GBDATA * | gb_main, | ||
const RootCallback & | after_import_cb | ||
) |
Definition at line 1522 of file AWTI_import.cxx.
References AW_awar::add_callback(), ANY_DIR, AW_create_fileselection(), aw_message_if(), AW_root::awar(), AWAR_IMPORT_ALI, AWAR_IMPORT_ALI_PROTECTION, AWAR_IMPORT_ALI_TYPE, AWAR_IMPORT_AUTOCONF, AWAR_IMPORT_FILEBASE, AWAR_IMPORT_FILENAME, AWAR_IMPORT_FORMAT_DESC, AWAR_IMPORT_FORMATBASE, AWAR_IMPORT_FORMATNAME, AWAR_IMPORT_FTS, AWAR_IMPORT_GENOM_DB, AWM_ALL, AWM_EXP, AWTI_activate_import_test_window(), awti_assert, configure_macro_recording(), create_import_awars(), detect_input_format_cb(), got_macro_ability(), IMP_GENOME_FLATFILE, IMP_PLAIN_SEQUENCE, import_and_continue_cb(), import_window_close_cb(), makeHelpCallback(), MULTI_DIRS, NULp, ArbImporter::peekImportDB(), SCAN_INPUT_FIELDS, ArbImporter::set_db_4_nameserver(), update_format_description(), AW_awar::write_string(), XFER_refresh_available_fields(), and XFER_select_RuleSet().
Referenced by NT_import_sequences(), nt_intro_start_import(), and startup_gui().
void AWTI_set_importDB_pointer | ( | GBDATA *& | dbPtr | ) |
Definition at line 1469 of file AWTI_import.cxx.
References awti_assert, and ArbImporter::peekImportDB().
Referenced by NT_import_sequences(), nt_intro_start_import(), and startup_gui().
void AWTI_cleanup_importer | ( | ) |
Definition at line 1415 of file AWTI_import.cxx.
References importer, NULp, and ArbImporter::peekImportDB().
Referenced by AWTI_acquire_imported_DB_and_cleanup_importer(), import_window_close_cb(), NT_exit(), and nt_seq_load_cb().
GBDATA* AWTI_acquire_imported_DB_and_cleanup_importer | ( | ) |
Definition at line 1476 of file AWTI_import.cxx.
References awti_assert, AWTI_cleanup_importer(), ArbImporter::peekImportDB(), and ArbImporter::takeImportDB().
Referenced by start_main_window_after_import().