ARB
Macros | Functions | Variables
EXP_interface.cxx File Reference
#include "EXP_local.hxx"
#include "GEN_local.hxx"
#include <db_query.h>
#include <db_scanner.hxx>
#include <dbui.h>
#include <item_sel_list.h>
#include <info_window.h>
#include <awt_prompt.hxx>
#include <awt_sel_boxes.hxx>
#include <aw_awar_defs.hxx>
#include <aw_root.hxx>
#include <aw_msg.hxx>
#include <aw_question.hxx>
Include dependency graph for EXP_interface.cxx:

Go to the source code of this file.

Macros

#define AD_F_ALL   AWM_ALL
 

Functions

static GBDATAget_current_experiment_data (GBDATA *gb_main)
 
static void EXP_select_experiment (GBDATA *, AW_root *aw_root, const char *item_name)
 
static charEXP_get_experiment_id (GBDATA *, GBDATA *gb_experiment)
 
static GBDATAEXP_find_experiment_by_id (GBDATA *gb_main, const char *id)
 
void exp_restore_old_species_marks (GBDATA *gb_main)
 
static GBDATAEXP_get_first_experiment_data (GBDATA *gb_main, AW_root *aw_root, QUERY_RANGE range)
 
static GBDATAEXP_get_next_experiment_data (GBDATA *gb_experiment_data, QUERY_RANGE range)
 
static GBDATAEXP_get_current_experiment (GBDATA *gb_main, AW_root *aw_root)
 
static void add_selected_experiment_changed_cb (AW_root *aw_root, const RootCallback &cb)
 
static GBDATAfirst_experiment_in_range (GBDATA *gb_experiment_data, QUERY_RANGE range)
 
static GBDATAnext_experiment_in_range (GBDATA *gb_prev, QUERY_RANGE range)
 
static void refresh_displayed_experiments ()
 
ItemSelectorEXP_get_selector ()
 
AW_windowEXP_create_experiment_query_window (AW_root *aw_root, GBDATA *gb_main)
 
static void experiment_delete_cb (AW_window *aww, GBDATA *gb_main)
 
static GB_ERROR experiment_create_handler (const char *dest, GBDATA *gb_main)
 
static GB_ERROR experiment_rename_handler (const char *dest, GBDATA *gb_main)
 
static GB_ERROR experiment_copy_handler (const char *dest, GBDATA *gb_main)
 
static void experiment_create_cb (AW_window *aww, GBDATA *gb_main)
 
static void experiment_rename_cb (AW_window *aww, GBDATA *gb_main)
 
static void experiment_copy_cb (AW_window *aww, GBDATA *gb_main)
 
static void EXP_create_field_items (AW_window *aws, GBDATA *gb_main)
 
static AW_windowpopup_new_experiment_window (AW_root *aw_root, GBDATA *gb_main, int detach_id)
 
static void popup_detached_experiment_window (AW_window *aw_parent, const InfoWindow *infoWin)
 
void EXP_popup_experiment_window (AW_root *aw_root, GBDATA *gb_main)
 

Variables

static charold_species_marks = NULp
 
static struct MutableItemSelector EXP_item_selector
 
static QUERY::DbQueryGLOBAL_experiment_query = NULp
 

Macro Definition Documentation

#define AD_F_ALL   AWM_ALL

Definition at line 34 of file EXP_interface.cxx.

Referenced by EXP_create_field_items(), and popup_new_experiment_window().

Function Documentation

static GBDATA* get_current_experiment_data ( GBDATA gb_main)
static
static void EXP_select_experiment ( GBDATA ,
AW_root aw_root,
const char item_name 
)
static
static char* EXP_get_experiment_id ( GBDATA ,
GBDATA gb_experiment 
)
static
static GBDATA* EXP_find_experiment_by_id ( GBDATA gb_main,
const char id 
)
static

Definition at line 62 of file EXP_interface.cxx.

References ARB_strdup(), EXP_find_experiment(), GEN_find_organism(), NULp, and result.

void exp_restore_old_species_marks ( GBDATA gb_main)
inline
static GBDATA* EXP_get_first_experiment_data ( GBDATA gb_main,
AW_root aw_root,
QUERY_RANGE  range 
)
static
static GBDATA* EXP_get_next_experiment_data ( GBDATA gb_experiment_data,
QUERY_RANGE  range 
)
static
static GBDATA* EXP_get_current_experiment ( GBDATA gb_main,
AW_root aw_root 
)
static
static void add_selected_experiment_changed_cb ( AW_root aw_root,
const RootCallback &  cb 
)
static
static GBDATA* first_experiment_in_range ( GBDATA gb_experiment_data,
QUERY_RANGE  range 
)
static
static GBDATA* next_experiment_in_range ( GBDATA gb_prev,
QUERY_RANGE  range 
)
static
static void refresh_displayed_experiments ( )
static

Definition at line 197 of file EXP_interface.cxx.

ItemSelector& EXP_get_selector ( )
AW_window* EXP_create_experiment_query_window ( AW_root aw_root,
GBDATA gb_main 
)
static void experiment_delete_cb ( AW_window aww,
GBDATA gb_main 
)
static
static GB_ERROR experiment_create_handler ( const char dest,
GBDATA gb_main 
)
static
static GB_ERROR experiment_rename_handler ( const char dest,
GBDATA gb_main 
)
static
static GB_ERROR experiment_copy_handler ( const char dest,
GBDATA gb_main 
)
static
static void experiment_create_cb ( AW_window aww,
GBDATA gb_main 
)
static
static void experiment_rename_cb ( AW_window aww,
GBDATA gb_main 
)
static
static void experiment_copy_cb ( AW_window aww,
GBDATA gb_main 
)
static
static void EXP_create_field_items ( AW_window aws,
GBDATA gb_main 
)
static
static AW_window * popup_new_experiment_window ( AW_root aw_root,
GBDATA gb_main,
int  detach_id 
)
static
static void popup_detached_experiment_window ( AW_window aw_parent,
const InfoWindow infoWin 
)
static
void EXP_popup_experiment_window ( AW_root aw_root,
GBDATA gb_main 
)

Variable Documentation

char* old_species_marks = NULp
static

Definition at line 79 of file EXP_interface.cxx.

struct MutableItemSelector EXP_item_selector
static
Initial value:
= {
-1,
"experiment",
"experiments",
"name",
}
static GBDATA * EXP_get_next_experiment_data(GBDATA *gb_experiment_data, QUERY_RANGE range)
ItemSelector & ORGANISM_get_selector()
Definition: species.cxx:140
static void refresh_displayed_experiments()
GBDATA * GB_get_grandfather(GBDATA *gbd)
Definition: arbdb.cxx:1702
static GBDATA * first_experiment_in_range(GBDATA *gb_experiment_data, QUERY_RANGE range)
static void add_selected_experiment_changed_cb(AW_root *aw_root, const RootCallback &cb)
static GBDATA * next_experiment_in_range(GBDATA *gb_prev, QUERY_RANGE range)
static void EXP_select_experiment(GBDATA *, AW_root *aw_root, const char *item_name)
static GBDATA * EXP_get_current_experiment(GBDATA *gb_main, AW_root *aw_root)
static GBDATA * EXP_find_experiment_by_id(GBDATA *gb_main, const char *id)
static char * EXP_get_experiment_id(GBDATA *, GBDATA *gb_experiment)
static GBDATA * EXP_get_first_experiment_data(GBDATA *gb_main, AW_root *aw_root, QUERY_RANGE range)
#define CHANGE_KEY_PATH_EXPERIMENTS
Definition: arbdbt.h:88
void experiment_field_selection_list_update_cb(AW_window *, GBDATA *gb_main)
Definition: changekey.cxx:195

Definition at line 203 of file EXP_interface.cxx.

Referenced by EXP_get_selector().

QUERY::DbQuery* GLOBAL_experiment_query = NULp
static

Definition at line 226 of file EXP_interface.cxx.