27 #define GB_SYSTEM_FOLDER "__SYSTEM__"
28 #define GB_SYSTEM_KEY_DATA "@key_data"
30 #define GB_DEFAULT_ALIGNMENT "presets/use" // has to match ../WINDOW/aw_awar_defs.hxx@AWAR_DEFAULT_ALIGNMENT
54 #define GB_USERFLAG_ANY 127 // maximum for gb_flag_types2::usr_ref
55 #define GB_USERFLAG_QUERY 1 // bit used for search&query (used on species, genes, experiments)
56 #define GB_USERFLAG_WASMARKED 2 // bit used to temp. store marks
57 #define GB_USERFLAG_GHOSTNODE 1 // bit used by gbt_write_tree (only used on tree-nodes; so it does not clash with GB_USERFLAG_QUERY)
138 typedef const char *(*gb_getenv_hook)(
const char *varname);
148 #if defined(ASSERTION_USED)
149 mutable int checked_for_error;
150 void CFE(
int flag)
const {
if (ta_err) checked_for_error = checked_for_error|
flag; }
152 void CFE(
int)
const {}
162 bool ok()
const { CFE(1);
return ta_open && !ta_err; }
192 int whats_my_security()
const;
193 void change_my_security(
int level);
199 int current()
const {
return whats_my_security(); }
205 change_my_security(level);
236 GB_SizeInfo() : containers(0), terminals(0), structure(0), data(0), mem(0) {}
238 void collect(
GBDATA *gbd);
262 return const_cast<char*
>(
GBS_find_string(const_cast<GB_CSTR>(content), key, match_mode));
277 #error arbdb.h included twice
bool GB_TYPE_readable_as_string(GB_TYPES type)
int(* gbs_hash_compare_function)(const char *key0, long val0, const char *key1, long val1)
GB_topSecurityLevel(GBDATA *gbd)
long(* gb_hash_loop_type)(const char *key, long val, void *client_data)
char * GBS_find_string(char *content, GB_CSTR key, int match_mode)
GB_initial_transaction(GBDATA *gb_main)
GB_transaction(GBDATA *gb_main, bool)
static void ensure_inside()
static void error(const char *msg)
ARB_ERROR GB_end_transaction(GBDATA *gbd, ARB_ERROR &error)
GB_previousSecurityLevel(const GB_securityLevel &active)
GB_securityLevel(GBDATA *gbd, int level)
void(* gb_hash_const_loop_type)(const char *key, long val, void *client_data)
GB_ERROR close(GB_ERROR error)
GB_transaction(GBDATA *gb_main)
void GB_end_transaction_show_error(GBDATA *gbd, ARB_ERROR &error, void(*error_handler)(GB_ERROR))