ARB
Functions | Variables
SAIs.cxx File Reference
#include "item_sel_list.h"
#include <arbdbt.h>
#include <aw_root.hxx>
#include <aw_awars.hxx>
Include dependency graph for SAIs.cxx:

Go to the source code of this file.

Functions

static GBDATAget_first_SAI_data (GBDATA *gb_main, AW_root *, QUERY_RANGE)
 
static GBDATAget_next_SAI_data (GBDATA *, QUERY_RANGE)
 
static void select_SAI (GBDATA *, AW_root *aw_root, const char *item_name)
 
static GBDATAget_selected_SAI (GBDATA *gb_main, AW_root *aw_root)
 
static void add_selected_SAI_changed_cb (AW_root *aw_root, const RootCallback &cb)
 
static charget_SAI_id (GBDATA *, GBDATA *gb_sai)
 
static GBDATAfind_SAI_by_id (GBDATA *gb_main, const char *id)
 
static GBDATAget_first_SAI (GBDATA *gb_SAI_data, QUERY_RANGE range)
 
static GBDATAget_next_SAI (GBDATA *gb_prev, QUERY_RANGE range)
 
static void refresh_displayed_SAI ()
 
ItemSelectorSAI_get_selector ()
 

Variables

static struct MutableItemSelector ITEM_sai
 

Function Documentation

static GBDATA* get_first_SAI_data ( GBDATA gb_main,
AW_root ,
QUERY_RANGE   
)
static

Definition at line 18 of file SAIs.cxx.

References GBT_get_SAI_data().

static GBDATA* get_next_SAI_data ( GBDATA ,
QUERY_RANGE   
)
static

Definition at line 21 of file SAIs.cxx.

References NULp.

static void select_SAI ( GBDATA ,
AW_root aw_root,
const char item_name 
)
static

Definition at line 25 of file SAIs.cxx.

References AW_root::awar(), AWAR_SAI_NAME, and AW_awar::write_string().

static GBDATA* get_selected_SAI ( GBDATA gb_main,
AW_root aw_root 
)
static

Definition at line 28 of file SAIs.cxx.

References AW_root::awar(), AWAR_SAI_NAME, GBT_find_SAI(), NULp, and AW_awar::read_char_pntr().

Referenced by get_first_SAI().

static void add_selected_SAI_changed_cb ( AW_root aw_root,
const RootCallback &  cb 
)
static

Definition at line 32 of file SAIs.cxx.

References AW_awar::add_callback(), AW_root::awar(), and AWAR_SAI_NAME.

static char* get_SAI_id ( GBDATA ,
GBDATA gb_sai 
)
static

Definition at line 36 of file SAIs.cxx.

References GB_entry(), GB_read_as_string(), and NULp.

static GBDATA* find_SAI_by_id ( GBDATA gb_main,
const char id 
)
static

Definition at line 42 of file SAIs.cxx.

References GBT_find_SAI().

static GBDATA* get_first_SAI ( GBDATA gb_SAI_data,
QUERY_RANGE  range 
)
static
static GBDATA* get_next_SAI ( GBDATA gb_prev,
QUERY_RANGE  range 
)
static
static void refresh_displayed_SAI ( )
static

Definition at line 68 of file SAIs.cxx.

ItemSelector& SAI_get_selector ( )

Definition at line 92 of file SAIs.cxx.

References ITEM_sai.

Referenced by mg_initialize_SAI_selectors(), and NT_create_extendeds_window().

Variable Documentation

struct MutableItemSelector ITEM_sai
static
Initial value:
= {
NULp,
-1,
NULp,
"SAI",
"SAIs",
"name",
}
static void select_SAI(GBDATA *, AW_root *aw_root, const char *item_name)
Definition: SAIs.cxx:25
static char * get_SAI_id(GBDATA *, GBDATA *gb_sai)
Definition: SAIs.cxx:36
static void add_selected_SAI_changed_cb(AW_root *aw_root, const RootCallback &cb)
Definition: SAIs.cxx:32
static GBDATA * find_SAI_by_id(GBDATA *gb_main, const char *id)
Definition: SAIs.cxx:42
static GBDATA * get_next_SAI(GBDATA *gb_prev, QUERY_RANGE range)
Definition: SAIs.cxx:55
static void refresh_displayed_SAI()
Definition: SAIs.cxx:68
static GBDATA * get_next_SAI_data(GBDATA *, QUERY_RANGE)
Definition: SAIs.cxx:21
static GBDATA * get_selected_SAI(GBDATA *gb_main, AW_root *aw_root)
Definition: SAIs.cxx:28
static GBDATA * get_first_SAI(GBDATA *gb_SAI_data, QUERY_RANGE range)
Definition: SAIs.cxx:46
#define NULp
Definition: cxxforward.h:114
static GBDATA * get_first_SAI_data(GBDATA *gb_main, AW_root *, QUERY_RANGE)
Definition: SAIs.cxx:18

Definition at line 71 of file SAIs.cxx.

Referenced by SAI_get_selector().