ARB
Classes | Typedefs | Functions | Variables
RefEntries Namespace Reference

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_windowcreate_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 []
 

Typedef Documentation

typedef ARB_ERROR(* RefEntries::referred_item_handler)(GBDATA *gb_main, const DBItemSet &referred)

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.

Function Documentation

static ARB_ERROR RefEntries::generate_item_error ( const char format,
ItemSelector itemtype,
GBDATA gb_item 
)
static
static ARB_ERROR RefEntries::addRefsTo ( DBItemSet referred,
ItemSelector itemtype,
GBDATA gb_item,
const RefSelector &  ref 
)
static
static void RefEntries::perform_refentries ( AW_window aww,
ReferringEntriesHandler *  reh,
referred_item_handler  ricb 
)
static
static void RefEntries::refresh_result_cb ( AW_root aw_root,
ReferringEntriesHandler *  reh 
)
static
static void RefEntries::bind_result_refresh_cbs ( AW_root aw_root,
ReferringEntriesHandler *  reh 
)
static
void RefEntries::create_refentries_awars ( AW_root aw_root,
AW_default  aw_def 
)
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 
)

Variable Documentation

AWT_config_mapping_def RefEntries::markByRef_config_mapping[]
static
Initial value:
= {
{ AWAR_MARKBYREF_ALL, "examine" },
{ AWAR_MARKBYREF_FIELD, "field" },
{ AWAR_MARKBYREF_IGNORE_MISSING, "ignore_missing" },
{ AWAR_MARKBYREF_FILTER, "filter" },
{ AWAR_MARKBYREF_IGNORE_UNKNOWN, "ignore_unknown" },
{ NULp, NULp }
}
#define AWAR_MARKBYREF_FIELD
Definition: refentries.cxx:137
#define AWAR_MARKBYREF_FILTER
Definition: refentries.cxx:140
#define AWAR_MARKBYREF_IGNORE_UNKNOWN
Definition: refentries.cxx:139
#define AWAR_MARKBYREF_ALL
Definition: refentries.cxx:136
#define AWAR_MARKBYREF_IGNORE_MISSING
Definition: refentries.cxx:138
#define NULp
Definition: cxxforward.h:97

Definition at line 236 of file refentries.cxx.

AWT_predefined_config RefEntries::markByRef_predefined_config[]
static
Initial value:
= {
{ "*relatives_used_by_aligner", "For use with 'used_rels' entry as\ngenerated by fast-aligner.", "field='used_rels';filter='/:[0-9]+//'" },
{ "*next_relatives_of_listed", "For use with entries generated by\n'Search next relatives of listed'.", "field='tmp';filter='/[0-9.]+[%]://'" },
{ NULp, NULp, NULp }
}
#define NULp
Definition: cxxforward.h:97

Definition at line 246 of file refentries.cxx.