ARB
|
Go to the source code of this file.
Classes | |
class | ED4_SearchPosition |
class | ED4_SearchResults |
Macros | |
#define | MAX_MISMATCHES 5 |
Enumerations | |
enum | ED4_SEARCH_CASE { ED4_SC_CASE_SENSITIVE, ED4_SC_CASE_INSENSITIVE } |
enum | ED4_SEARCH_TU { ED4_ST_T_NOT_EQUAL_U, ED4_ST_T_EQUAL_U } |
enum | ED4_SEARCH_GAPS { ED4_SG_CONSIDER_GAPS, ED4_SG_IGNORE_GAPS } |
enum | ED4_SearchPositionType { ED4_USER1_PATTERN = 0, ED4_USER2_PATTERN, ED4_PROBE_PATTERN, ED4_PRIMER1_PATTERN, ED4_PRIMER2_PATTERN, ED4_PRIMER3_PATTERN, ED4_SIG1_PATTERN, ED4_SIG2_PATTERN, ED4_SIG3_PATTERN, SEARCH_PATTERNS, ED4_ANY_PATTERN = SEARCH_PATTERNS } |
Functions | |
int | ED4_encodeSearchDescriptor (int direction, ED4_SearchPositionType pattern) |
void | ED4_search_cb (UNFIXED, int searchDescriptor, ED4_window *ed4w) |
GB_ERROR | ED4_repeat_last_search (class ED4_window *ed4w) |
void | ED4_popup_search_window (AW_window *aww, ED4_SearchPositionType type) |
void | ED4_create_search_awars (AW_root *root) |
Variables | |
const char * | ED4_SearchPositionTypeId [] |
#define MAX_MISMATCHES 5 |
Definition at line 32 of file ed4_search.hxx.
Referenced by ED4_SearchPosition::ED4_SearchPosition(), and SearchTree::findMatches().
enum ED4_SEARCH_CASE |
Enumerator | |
---|---|
ED4_SC_CASE_SENSITIVE | |
ED4_SC_CASE_INSENSITIVE |
Definition at line 15 of file ed4_search.hxx.
enum ED4_SEARCH_TU |
Enumerator | |
---|---|
ED4_ST_T_NOT_EQUAL_U | |
ED4_ST_T_EQUAL_U |
Definition at line 20 of file ed4_search.hxx.
enum ED4_SEARCH_GAPS |
Enumerator | |
---|---|
ED4_SG_CONSIDER_GAPS | |
ED4_SG_IGNORE_GAPS |
Definition at line 25 of file ed4_search.hxx.
Definition at line 34 of file ed4_search.hxx.
|
inline |
Definition at line 50 of file ed4_search.hxx.
References e4_assert, and SEARCH_PATTERNS.
Referenced by ED4_popup_search_window(), ED4_root::generate_window(), insert_search_fields(), and searchParamsChanged().
void ED4_search_cb | ( | UNFIXED | , |
int | searchDescriptor, | ||
ED4_window * | ed4w | ||
) |
Definition at line 1264 of file ED4_search.cxx.
References aw_message(), current_cursor(), decodeSearchDescriptor(), ED4_ANY_PATTERN, ED4_JUMP_KEEP_POSITION, ED4_ROOT, ED4_SearchResults::get_first_starting_after(), ED4_manager::get_first_terminal(), ED4_SearchResults::get_last_starting_before(), ED4_manager::get_last_terminal(), ED4_base::get_next_terminal(), ED4_base::get_prev_terminal(), ED4_cursor::get_sequence_pos(), ED4_SearchPosition::get_start_pos(), ED4_base::is_in_folded_group(), ED4_base::is_sequence_terminal(), NULp, ED4_cursor::owner_of_cursor, pattern, ED4_sequence_terminal::results(), ED4_root::root_group_man, ED4_SearchResults::search(), and ED4_terminal::setCursorTo().
Referenced by ED4_popup_search_window(), ED4_repeat_last_search(), ED4_root::generate_window(), insert_search_fields(), and searchParamsChanged().
GB_ERROR ED4_repeat_last_search | ( | class ED4_window * | ed4w | ) |
Definition at line 1255 of file ED4_search.cxx.
References ED4_search_cb(), GBS_global_string(), and NULp.
void ED4_popup_search_window | ( | AW_window * | aww, |
ED4_SearchPositionType | type | ||
) |
Definition at line 1656 of file ED4_search.cxx.
References SearchAwarList::autoJump, AW_HORIZONTAL, AW_POPDOWN(), AW_ROOT_DEFAULT, aws_init_localized(), AWT_insert_config_manager(), SearchAwarList::case_sensitive, SearchAwarList::complement, ED4_encodeSearchDescriptor(), ED4_mark_matching_species(), ED4_search_cb(), SearchAwarList::exact, ED4_WinContext::get_ed4w(), AW_window::get_root(), ED4_window::id, loadsave_search_parameters(), makeHelpCallback(), SearchAwarList::max_mismatches, SearchAwarList::min_mismatches, SearchAwarList::openFolded, SearchAwarList::pat_gaps, SearchAwarList::pattern, SearchAwarList::reverse, SearchAwarList::seq_gaps, setup_search_config(), SearchAwarList::show, SearchAwarList::tu, type, and search_windows::windows.
Referenced by ED4_root::generate_window(), and insert_search_fields().
void ED4_create_search_awars | ( | AW_root * | root | ) |
Definition at line 735 of file ED4_search.cxx.
References ARB_strdup(), SearchAwarList::autoJump, AW_create_fileselection_awars(), AW_root::awar(), AW_root::awar_int(), AW_root::awar_string(), SearchAwarList::complement, DO_AUTO_JUMP, ED4_AWAR_SEARCH_RESULT_CHANGED, ED4_ROOT, ED4_SC_CASE_INSENSITIVE, ED4_SEARCH_SAVE_BASE, ED4_SG_IGNORE_GAPS, ED4_ST_T_EQUAL_U, SearchAwarList::exact, gb_main, GB_path_in_arbprop(), ED4_root::get_gb_main(), SearchAwarList::max_mismatches, SearchAwarList::min_mismatches, NULp, SearchAwarList::openFolded, SearchAwarList::pat_gaps, RECALC_SEARCH_TREE, REFRESH_ALWAYS, REFRESH_IF_SHOWN, SearchAwarList::reverse, SEARCH_PATTERNS, SearchAwarList::seq_gaps, SearchAwarList::show, TEST_MAX_MISMATCH, TEST_MIN_MISMATCH, SearchAwarList::tu, and AW_awar::write_string().
Referenced by ed4_create_all_awars().
const char* ED4_SearchPositionTypeId[] |
Definition at line 35 of file ED4_search.cxx.
Referenced by ED4_root::generate_window().