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

Go to the source code of this file.

Functions

static GBDATAget_first_species_data (GBDATA *gb_main, AW_root *, QUERY_RANGE)
 
static GBDATAget_next_species_data (GBDATA *, QUERY_RANGE)
 
static void select_species (GBDATA *, AW_root *aw_root, const char *item_name)
 
static void select_organism (GBDATA *, AW_root *aw_root, const char *item_name)
 
static GBDATAget_selected_species (GBDATA *gb_main, AW_root *aw_root)
 
static GBDATAget_selected_organism (GBDATA *gb_main, AW_root *aw_root)
 
static void add_selected_species_changed_cb (AW_root *aw_root, const RootCallback &cb)
 
static charget_species_id (GBDATA *, GBDATA *gb_species)
 
static GBDATAfind_species_by_id (GBDATA *gb_main, const char *id)
 
static GBDATAget_first_species (GBDATA *gb_species_data, QUERY_RANGE range)
 
static GBDATAget_next_species (GBDATA *gb_prev, QUERY_RANGE range)
 
static GBDATAget_first_organism (GBDATA *gb_species_data, QUERY_RANGE range)
 
static GBDATAget_next_organism (GBDATA *gb_prev, QUERY_RANGE range)
 
static void refresh_displayed_species ()
 
ItemSelectorSPECIES_get_selector ()
 
ItemSelectorORGANISM_get_selector ()
 

Variables

static struct MutableItemSelector ITEM_species
 
static struct MutableItemSelector ITEM_organism
 

Function Documentation

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

Definition at line 18 of file species.cxx.

References GBT_get_species_data().

static GBDATA* get_next_species_data ( GBDATA ,
QUERY_RANGE   
)
static

Definition at line 21 of file species.cxx.

References NULp.

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

Definition at line 25 of file species.cxx.

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

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

Definition at line 28 of file species.cxx.

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

static GBDATA* get_selected_species ( GBDATA gb_main,
AW_root aw_root 
)
static
static GBDATA* get_selected_organism ( GBDATA gb_main,
AW_root aw_root 
)
static
static void add_selected_species_changed_cb ( AW_root aw_root,
const RootCallback &  cb 
)
static

Definition at line 41 of file species.cxx.

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

static char* get_species_id ( GBDATA ,
GBDATA gb_species 
)
static

Definition at line 45 of file species.cxx.

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

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

Definition at line 51 of file species.cxx.

References GBT_find_species().

static GBDATA* get_first_species ( GBDATA gb_species_data,
QUERY_RANGE  range 
)
static
static GBDATA* get_next_species ( GBDATA gb_prev,
QUERY_RANGE  range 
)
static
static GBDATA* get_first_organism ( GBDATA gb_species_data,
QUERY_RANGE  range 
)
static
static GBDATA* get_next_organism ( GBDATA gb_prev,
QUERY_RANGE  range 
)
static
static void refresh_displayed_species ( )
static

Definition at line 93 of file species.cxx.

References AW_root::awar(), AWAR_TREE_REFRESH, AW_root::SINGLETON, and AW_awar::touch().

ItemSelector& SPECIES_get_selector ( )
ItemSelector& ORGANISM_get_selector ( )

Variable Documentation

struct MutableItemSelector ITEM_species
static
Initial value:
= {
12,
"species",
"species",
"name",
}
static void refresh_displayed_species()
Definition: species.cxx:93
static GBDATA * get_next_species(GBDATA *gb_prev, QUERY_RANGE range)
Definition: species.cxx:64
static GBDATA * find_species_by_id(GBDATA *gb_main, const char *id)
Definition: species.cxx:51
static GBDATA * get_first_species_data(GBDATA *gb_main, AW_root *, QUERY_RANGE)
Definition: species.cxx:18
static GBDATA * get_next_species_data(GBDATA *, QUERY_RANGE)
Definition: species.cxx:21
static GBDATA * get_first_species(GBDATA *gb_species_data, QUERY_RANGE range)
Definition: species.cxx:55
void species_field_selection_list_update_cb(AW_window *, GBDATA *gb_main)
Definition: changekey.cxx:189
static char * get_species_id(GBDATA *, GBDATA *gb_species)
Definition: species.cxx:45
static GBDATA * get_selected_species(GBDATA *gb_main, AW_root *aw_root)
Definition: species.cxx:32
static void add_selected_species_changed_cb(AW_root *aw_root, const RootCallback &cb)
Definition: species.cxx:41
static void select_species(GBDATA *, AW_root *aw_root, const char *item_name)
Definition: species.cxx:25
#define CHANGE_KEY_PATH
Definition: arbdbt.h:86
#define NULp
Definition: cxxforward.h:116

Definition at line 97 of file species.cxx.

Referenced by SPECIES_get_selector().

struct MutableItemSelector ITEM_organism
static
Initial value:
= {
12,
"organism",
"organisms",
"name",
}
static void refresh_displayed_species()
Definition: species.cxx:93
static GBDATA * find_species_by_id(GBDATA *gb_main, const char *id)
Definition: species.cxx:51
static GBDATA * get_first_species_data(GBDATA *gb_main, AW_root *, QUERY_RANGE)
Definition: species.cxx:18
static GBDATA * get_selected_organism(GBDATA *gb_main, AW_root *aw_root)
Definition: species.cxx:36
static GBDATA * get_next_species_data(GBDATA *, QUERY_RANGE)
Definition: species.cxx:21
void species_field_selection_list_update_cb(AW_window *, GBDATA *gb_main)
Definition: changekey.cxx:189
static char * get_species_id(GBDATA *, GBDATA *gb_species)
Definition: species.cxx:45
static void add_selected_species_changed_cb(AW_root *aw_root, const RootCallback &cb)
Definition: species.cxx:41
#define CHANGE_KEY_PATH
Definition: arbdbt.h:86
static GBDATA * get_first_organism(GBDATA *gb_species_data, QUERY_RANGE range)
Definition: species.cxx:73
static void select_organism(GBDATA *, AW_root *aw_root, const char *item_name)
Definition: species.cxx:28
static GBDATA * get_next_organism(GBDATA *gb_prev, QUERY_RANGE range)
Definition: species.cxx:83
#define NULp
Definition: cxxforward.h:116

Definition at line 118 of file species.cxx.

Referenced by ORGANISM_get_selector().