ARB
|
#include <db_query_local.h>
Public Member Functions | |
DbQuery (ItemSelector &selector_) | |
~DbQuery () | |
bool | is_queried (GBDATA *gb_item) const |
const char * | get_tree_name () const |
void | set_tree_awar_name (const char *tree_awar_name) |
SmartPtr< QueryExpr > | buildQueryExpr () |
Public Attributes | |
AW_window * | aws |
GBDATA * | gb_main |
GBDATA * | gb_ref |
bool | expect_hit_in_ref_list |
char * | awar_keys [QUERY_EXPRESSIONS] |
char * | awar_queries [QUERY_EXPRESSIONS] |
char * | awar_not [QUERY_EXPRESSIONS] |
char * | awar_operator [QUERY_EXPRESSIONS] |
char * | species_name |
char * | awar_writekey |
char * | awar_writelossy |
char * | awar_protectkey |
char * | awar_setprotection |
char * | awar_setvalue |
char * | awar_parskey |
char * | awar_parsvalue |
char * | awar_parspredefined |
char * | awar_acceptConvError |
char * | awar_acceptIdMod |
char * | awar_ere |
char * | awar_where |
char * | awar_by |
char * | awar_use_tag |
char * | awar_double_pars |
char * | awar_deftag |
char * | awar_tag |
char * | awar_count |
char * | awar_sort |
unsigned long | sort_mask |
AW_selection_list * | hitlist |
ItemSelector & | selector |
int | select_bit |
GB_HASH * | hit_description |
Definition at line 59 of file db_query_local.h.
|
inline |
Definition at line 106 of file db_query_local.h.
References dbq_assert.
DbQuery::~DbQuery | ( | ) |
Definition at line 2300 of file db_query.cxx.
References awar_acceptConvError, awar_acceptIdMod, awar_by, awar_count, awar_deftag, awar_double_pars, awar_ere, awar_keys, awar_not, awar_operator, awar_parskey, awar_parspredefined, awar_parsvalue, awar_protectkey, awar_queries, awar_setprotection, awar_setvalue, awar_sort, awar_tag, awar_use_tag, awar_where, awar_writekey, awar_writelossy, GBS_free_hash(), hit_description, QUERY_EXPRESSIONS, s, and species_name.
|
inline |
Definition at line 113 of file db_query_local.h.
References GB_user_flag().
Referenced by QUERY::IS_QUERIED().
const char * DbQuery::get_tree_name | ( | ) | const |
Definition at line 2293 of file db_query.cxx.
References AW_root::awar(), aws, AW_window::get_root(), NULp, and AW_awar::read_char_pntr().
Referenced by modify_fields_of_queried_cb().
|
inline |
Definition at line 118 of file db_query_local.h.
Referenced by QUERY::create_query_box().
Definition at line 897 of file db_query.cxx.
References QueryExpr::append(), AW_root::awar(), awar_keys, awar_not, awar_operator, awar_queries, awarvalue2query_operator(), aws, gb_main, AW_window::get_root(), ILLEGAL, NO_FIELD_SELECTED, NULp, OR, QUERY_EXPRESSIONS, AW_awar::read_char_pntr(), AW_awar::read_int(), and QueryExpr::setError().
Referenced by perform_query_cb().
AW_window* QUERY::DbQuery::aws |
Definition at line 63 of file db_query_local.h.
Referenced by buildQueryExpr(), colorize_queried_cb(), QUERY::copy_selection_list_2_query_box(), QUERY::count_queried_items(), QUERY::create_query_box(), QUERY::DbQuery_update_list(), delete_queried_species_cb(), get_tree_name(), mark_queried_cb(), modify_fields_of_queried_cb(), perform_query_cb(), query_count_items(), QUERY::search_duplicated_field_content(), set_field_of_queried_cb(), and set_protection_of_queried_cb().
GBDATA* QUERY::DbQuery::gb_main |
Definition at line 64 of file db_query_local.h.
Referenced by buildQueryExpr(), CLEAR_QUERIED(), colorize_queried_cb(), compare_hits(), QUERY::copy_selection_list_2_query_box(), QUERY::count_queried_items(), create_colorize_queried_window(), create_modify_fields_window(), QUERY::create_query_box(), create_set_protection_window(), create_writeFieldOfListed_window(), QUERY::DbQuery_update_list(), delete_queried_species_cb(), getHitInfo(), hits_sort_params::hits_sort_params(), mark_queried_cb(), modify_fields_of_queried_cb(), new_selection_made_cb(), perform_query_cb(), predef_prg(), query_count_items(), QUERY::query_get_gb_main(), QUERY::search_duplicated_field_content(), set_field_of_queried_cb(), set_protection_of_queried_cb(), SET_QUERIED(), toggle_flag_cb(), and QUERY::unquery_all().
GBDATA* QUERY::DbQuery::gb_ref |
Definition at line 65 of file db_query_local.h.
Referenced by QUERY::create_query_box(), create_ref_hash(), and perform_query_cb().
bool QUERY::DbQuery::expect_hit_in_ref_list |
Definition at line 66 of file db_query_local.h.
Referenced by QUERY::create_query_box(), create_ref_hash(), and perform_query_cb().
char* QUERY::DbQuery::awar_keys[QUERY_EXPRESSIONS] |
Definition at line 68 of file db_query_local.h.
Referenced by buildQueryExpr(), QUERY::create_query_box(), QUERY::DbQuery_update_list(), perform_query_cb(), query_box_setup_config(), QUERY::search_duplicated_field_content(), and ~DbQuery().
char* QUERY::DbQuery::awar_queries[QUERY_EXPRESSIONS] |
Definition at line 69 of file db_query_local.h.
Referenced by buildQueryExpr(), QUERY::create_query_box(), perform_query_cb(), query_box_setup_config(), and ~DbQuery().
char* QUERY::DbQuery::awar_not[QUERY_EXPRESSIONS] |
Definition at line 70 of file db_query_local.h.
Referenced by buildQueryExpr(), QUERY::create_query_box(), query_box_setup_config(), and ~DbQuery().
char* QUERY::DbQuery::awar_operator[QUERY_EXPRESSIONS] |
Definition at line 71 of file db_query_local.h.
Referenced by buildQueryExpr(), QUERY::create_query_box(), query_box_setup_config(), and ~DbQuery().
char* QUERY::DbQuery::species_name |
Definition at line 73 of file db_query_local.h.
Referenced by QUERY::create_query_box(), and ~DbQuery().
char* QUERY::DbQuery::awar_writekey |
Definition at line 75 of file db_query_local.h.
Referenced by QUERY::create_query_box(), create_writeFieldOfListed_window(), set_field_of_queried_cb(), and ~DbQuery().
char* QUERY::DbQuery::awar_writelossy |
Definition at line 76 of file db_query_local.h.
Referenced by QUERY::create_query_box(), create_writeFieldOfListed_window(), set_field_of_queried_cb(), and ~DbQuery().
char* QUERY::DbQuery::awar_protectkey |
Definition at line 78 of file db_query_local.h.
Referenced by QUERY::create_query_box(), create_set_protection_window(), set_protection_of_queried_cb(), and ~DbQuery().
char* QUERY::DbQuery::awar_setprotection |
Definition at line 79 of file db_query_local.h.
Referenced by QUERY::create_query_box(), create_set_protection_window(), set_protection_of_queried_cb(), and ~DbQuery().
char* QUERY::DbQuery::awar_setvalue |
Definition at line 80 of file db_query_local.h.
Referenced by QUERY::create_query_box(), create_writeFieldOfListed_window(), set_field_of_queried_cb(), and ~DbQuery().
char* QUERY::DbQuery::awar_parskey |
Definition at line 82 of file db_query_local.h.
Referenced by create_modify_fields_window(), QUERY::create_query_box(), modify_fields_of_queried_cb(), predef_prg(), setup_modify_fields_config(), and ~DbQuery().
char* QUERY::DbQuery::awar_parsvalue |
Definition at line 83 of file db_query_local.h.
Referenced by create_modify_fields_window(), QUERY::create_query_box(), modify_fields_of_queried_cb(), predef_prg(), setup_modify_fields_config(), and ~DbQuery().
char* QUERY::DbQuery::awar_parspredefined |
Definition at line 84 of file db_query_local.h.
Referenced by create_modify_fields_window(), QUERY::create_query_box(), predef_prg(), and ~DbQuery().
char* QUERY::DbQuery::awar_acceptConvError |
Definition at line 85 of file db_query_local.h.
Referenced by create_modify_fields_window(), QUERY::create_query_box(), modify_fields_of_queried_cb(), setup_modify_fields_config(), and ~DbQuery().
char* QUERY::DbQuery::awar_acceptIdMod |
Definition at line 86 of file db_query_local.h.
Referenced by create_modify_fields_window(), QUERY::create_query_box(), modify_fields_of_queried_cb(), setup_modify_fields_config(), and ~DbQuery().
char* QUERY::DbQuery::awar_ere |
Definition at line 88 of file db_query_local.h.
Referenced by QUERY::copy_selection_list_2_query_box(), QUERY::create_query_box(), perform_query_cb(), and ~DbQuery().
char* QUERY::DbQuery::awar_where |
Definition at line 89 of file db_query_local.h.
Referenced by colorize_queried_cb(), QUERY::create_query_box(), QUERY::DbQuery_update_list(), modify_fields_of_queried_cb(), perform_query_cb(), set_protection_of_queried_cb(), and ~DbQuery().
char* QUERY::DbQuery::awar_by |
Definition at line 90 of file db_query_local.h.
Referenced by QUERY::copy_selection_list_2_query_box(), QUERY::create_query_box(), perform_query_cb(), QUERY::search_duplicated_field_content(), and ~DbQuery().
char* QUERY::DbQuery::awar_use_tag |
Definition at line 91 of file db_query_local.h.
Referenced by create_modify_fields_window(), QUERY::create_query_box(), modify_fields_of_queried_cb(), setup_modify_fields_config(), and ~DbQuery().
char* QUERY::DbQuery::awar_double_pars |
Definition at line 92 of file db_query_local.h.
Referenced by create_modify_fields_window(), QUERY::create_query_box(), modify_fields_of_queried_cb(), setup_modify_fields_config(), and ~DbQuery().
char* QUERY::DbQuery::awar_deftag |
Definition at line 93 of file db_query_local.h.
Referenced by create_modify_fields_window(), QUERY::create_query_box(), modify_fields_of_queried_cb(), setup_modify_fields_config(), and ~DbQuery().
char* QUERY::DbQuery::awar_tag |
Definition at line 94 of file db_query_local.h.
Referenced by create_modify_fields_window(), QUERY::create_query_box(), modify_fields_of_queried_cb(), setup_modify_fields_config(), and ~DbQuery().
char* QUERY::DbQuery::awar_count |
Definition at line 95 of file db_query_local.h.
Referenced by QUERY::create_query_box(), QUERY::DbQuery_update_list(), modify_fields_of_queried_cb(), and ~DbQuery().
char* QUERY::DbQuery::awar_sort |
Definition at line 96 of file db_query_local.h.
Referenced by QUERY::create_query_box(), result_sort_order_changed_cb(), and ~DbQuery().
unsigned long QUERY::DbQuery::sort_mask |
Definition at line 98 of file db_query_local.h.
Referenced by QUERY::create_query_box(), QUERY::DbQuery_update_list(), first_searchkey_changed_cb(), and result_sort_order_changed_cb().
AW_selection_list* QUERY::DbQuery::hitlist |
Definition at line 100 of file db_query_local.h.
Referenced by QUERY::create_query_box(), and QUERY::DbQuery_update_list().
ItemSelector& QUERY::DbQuery::selector |
Definition at line 102 of file db_query_local.h.
Referenced by CLEAR_QUERIED(), colorize_queried_cb(), compare_hits(), QUERY::count_queried_items(), create_colorize_window(), create_modify_fields_window(), QUERY::create_query_box(), create_set_protection_window(), create_writeFieldOfListed_window(), QUERY::DbQuery_update_list(), delete_queried_species_cb(), QUERY::get_queried_itemtype(), getHitInfo(), hits_sort_params::hits_sort_params(), mark_queried_cb(), modify_fields_of_queried_cb(), new_selection_made_cb(), perform_query_cb(), query_count_items(), QUERY::search_duplicated_field_content(), set_field_of_queried_cb(), set_protection_of_queried_cb(), SET_QUERIED(), and toggle_flag_cb().
int QUERY::DbQuery::select_bit |
Definition at line 103 of file db_query_local.h.
Referenced by CLEAR_QUERIED(), QUERY::create_query_box(), and SET_QUERIED().
GB_HASH* QUERY::DbQuery::hit_description |
Definition at line 104 of file db_query_local.h.
Referenced by CLEAR_QUERIED(), compare_hits(), QUERY::create_query_box(), QUERY::DbQuery_update_list(), getHitInfo(), SET_QUERIED(), and ~DbQuery().