ARB
|
Classes | |
class | ReferringEntriesHandler |
class | RefSelector |
Typedefs | |
typedef ARB_ERROR(* | referred_item_handler )(GBDATA *gb_main, const DBItemSet &referred) |
typedef void(* | client_area_builder )(AW_window *aw_reh) |
Functions | |
static ARB_ERROR | generate_item_error (const char *format, ItemSelector &itemtype, GBDATA *gb_item) |
static ARB_ERROR | addRefsTo (DBItemSet &referred, ItemSelector &itemtype, GBDATA *gb_item, const RefSelector &ref) |
static void | perform_refentries (AW_window *aww, ReferringEntriesHandler *reh, referred_item_handler ricb) |
static void | refresh_result_cb (AW_root *aw_root, ReferringEntriesHandler *reh) |
static void | bind_result_refresh_cbs (AW_root *aw_root, ReferringEntriesHandler *reh) |
void | create_refentries_awars (AW_root *aw_root, AW_default aw_def) |
AW_window * | create_refentries_window (AW_root *aw_root, ReferringEntriesHandler *reh, const char *window_id, const char *title, const char *help, client_area_builder build_client_area, const char *action, referred_item_handler action_cb) |
Variables | |
static AWT_config_mapping_def | markByRef_config_mapping [] |
static AWT_predefined_config | markByRef_predefined_config [] |
Definition at line 43 of file refentries.h.
typedef void(* RefEntries::client_area_builder)(AW_window *aw_reh) |
Definition at line 93 of file refentries.h.
|
static |
Definition at line 28 of file refentries.cxx.
References error(), GB_get_root(), gb_main, GBS_global_string(), GBS_global_string_copy(), MutableItemSelector::generate_item_id, MutableItemSelector::item_name, and re_assert.
Referenced by addRefsTo(), and RefEntries::RefSelector::get_refs().
|
static |
Definition at line 60 of file refentries.cxx.
References error(), RefEntries::RefSelector::filter_refs(), MutableItemSelector::find_item_by_id, GB_get_root(), GB_incur_error_if(), gb_main, GBS_global_string(), GBT_split_string(), generate_item_error(), RefEntries::RefSelector::get_field(), RefEntries::RefSelector::get_refs(), RefEntries::RefSelector::ignore_unknown_refs(), MutableItemSelector::item_name, re_assert, CharPtrArray::size(), and SPLIT_DROPEMPTY.
Referenced by RefEntries::ReferringEntriesHandler::with_all_referred_items().
|
static |
Definition at line 147 of file refentries.cxx.
References aw_message_if(), AW_root::awar(), AWAR_MARKBYREF_ALL, AWAR_MARKBYREF_FIELD, AWAR_MARKBYREF_FILTER, AWAR_MARKBYREF_IGNORE_MISSING, AWAR_MARKBYREF_IGNORE_UNKNOWN, error(), AW_window::get_root(), QUERY_ALL_ITEMS, QUERY_MARKED_ITEMS, AW_awar::read_char_pntr(), AW_awar::read_int(), and RefEntries::ReferringEntriesHandler::with_all_referred_items().
Referenced by create_refentries_window().
|
static |
Definition at line 160 of file refentries.cxx.
References AW_root::awar(), AWAR_MARKBYREF_CONTENT, AWAR_MARKBYREF_FIELD, AWAR_MARKBYREF_FILTER, AWAR_MARKBYREF_RESULT, AWAR_MARKBYREF_SELECTED, GB_await_error(), gb_main, GBS_global_string(), GBS_string_eval(), MutableItemSelector::generate_item_id, RefEntries::ReferringEntriesHandler::get_gbmain(), RefEntries::ReferringEntriesHandler::get_referring_item(), RefEntries::RefSelector::get_refs(), MutableItemSelector::get_selected_item, MutableItemSelector::item_name, AW_awar::read_char_pntr(), result, ta, and AW_awar::write_string().
Referenced by bind_result_refresh_cbs(), and create_refentries_window().
|
static |
Definition at line 215 of file refentries.cxx.
References AW_awar::add_callback(), AW_root::awar(), AWAR_MARKBYREF_FIELD, AWAR_MARKBYREF_FILTER, AWAR_SPECIES_NAME, and refresh_result_cb().
Referenced by create_refentries_window().
void RefEntries::create_refentries_awars | ( | AW_root * | aw_root, |
AW_default | aw_def | ||
) |
Definition at line 223 of file refentries.cxx.
References AW_root::awar_int(), AWAR_MARKBYREF_ALL, AWAR_MARKBYREF_CONTENT, AWAR_MARKBYREF_FIELD, AWAR_MARKBYREF_FILTER, AWAR_MARKBYREF_IGNORE_MISSING, AWAR_MARKBYREF_IGNORE_UNKNOWN, AWAR_MARKBYREF_RESULT, AWAR_MARKBYREF_SELECTED, and AW_root::awar_string().
Referenced by nt_create_all_awars().
AW_window * RefEntries::create_refentries_window | ( | AW_root * | aw_root, |
ReferringEntriesHandler * | reh, | ||
const char * | window_id, | ||
const char * | title, | ||
const char * | help, | ||
client_area_builder | build_client_area, | ||
const char * | action, | ||
referred_item_handler | action_cb | ||
) |
Definition at line 253 of file refentries.cxx.
References AW_window::at(), AW_POPDOWN(), AW_ROOT_DEFAULT, AWAR_MARKBYREF_ALL, AWAR_MARKBYREF_CONTENT, AWAR_MARKBYREF_FIELD, AWAR_MARKBYREF_FILTER, AWAR_MARKBYREF_IGNORE_MISSING, AWAR_MARKBYREF_IGNORE_UNKNOWN, AWAR_MARKBYREF_RESULT, AWAR_MARKBYREF_SELECTED, AWT_insert_config_manager(), bind_result_refresh_cbs(), create_itemfield_selection_button(), FIELD_FILTER_STRING, GBS_global_string(), RefEntries::ReferringEntriesHandler::get_gbmain(), RefEntries::ReferringEntriesHandler::get_referring_item(), MutableItemSelector::items_name, makeHelpCallback(), NULp, perform_refentries(), refresh_result_cb(), and SPECIES_get_selector().
Referenced by create_mark_by_refentries_window().
|
static |
Definition at line 236 of file refentries.cxx.
|
static |
Definition at line 246 of file refentries.cxx.