ARB
|
#include <arbtools.h>
#include <arbdb_base.h>
#include <arb_error.h>
#include <stdint.h>
#include <ad_prot.h>
#include <arb_mem.h>
#include <arb_msg.h>
#include <arb_string.h>
Go to the source code of this file.
Classes | |
class | GB_transaction |
struct | GB_initial_transaction |
class | GB_shell |
class | GB_securityLevel |
struct | GB_topSecurityLevel |
struct | GB_previousSecurityLevel |
Macros | |
#define | GB_SYSTEM_FOLDER "__SYSTEM__" |
#define | GB_SYSTEM_KEY_DATA "@key_data" |
#define | GB_DEFAULT_ALIGNMENT "presets/use" |
#define | GB_USERFLAG_ANY 127 |
#define | GB_USERFLAG_QUERY 1 |
#define | GB_USERFLAG_WASMARKED 2 |
#define | GB_USERFLAG_GHOSTNODE 1 |
Typedefs | |
typedef int | GB_COMPRESSION_MASK |
typedef long(* | gb_hash_loop_type )(const char *key, long val, void *client_data) |
typedef void(* | gb_hash_const_loop_type )(const char *key, long val, void *client_data) |
typedef int(* | gbs_hash_compare_function )(const char *key0, long val0, const char *key1, long val1) |
typedef const char *(* | gb_export_sequence_cb )(GBDATA *gb_species, size_t *seq_len, GB_ERROR *error) |
typedef GBDATA *(* | GB_Link_Follower )(GBDATA *GB_root, GBDATA *GB_elem, const char *link) |
typedef const char *(* | gb_getenv_hook )(const char *varname) |
Enumerations | |
enum | GB_TYPES { GB_NONE = 0, GB_BIT = 1, GB_BYTE = 2, GB_INT = 3, GB_FLOAT = 4, GB_POINTER = 5, GB_BITS = 6, GB_BYTES = 8, GB_INTS = 9, GB_FLOATS = 10, GB_OBSOLETE = 11, GB_STRING = 12, GB_STRING_SHRT = 13, GB_DB = 15, GB_TYPE_MAX = 16, GB_CREATE_CONTAINER = GB_DB, GB_FIND = GB_NONE } |
enum | GB_SEARCH_TYPE { SEARCH_BROTHER = 1, SEARCH_CHILD = 2, SEARCH_GRANDCHILD = 4, SEARCH_NEXT_BROTHER = SEARCH_BROTHER+8, SEARCH_CHILD_OF_NEXT = SEARCH_CHILD+8 } |
enum | GB_UNDO_TYPE { GB_UNDO_NONE, GB_UNDO_KILL, GB_UNDO_UNDO, GB_UNDO_REDO, GB_UNDO_UNDO_REDO } |
enum | XCMD_TYPE { _XCMD__ASYNC = 1, _XCMD__WAITKEY = 2, XCMD_ASYNC_WAITKEY = _XCMD__ASYNC|_XCMD__WAITKEY, XCMD_ASYNC_WAIT_ON_ERROR = _XCMD__ASYNC, XCMD_SYNC_WAITKEY = _XCMD__WAITKEY, XCMD_SYNC_WAIT_ON_ERROR = 0 } |
Functions | |
bool | GB_TYPE_readable_as_string (GB_TYPES type) |
char * | GBS_find_string (char *content, GB_CSTR key, int match_mode) |
void | GB_end_transaction_show_error (GBDATA *gbd, ARB_ERROR &error, void(*error_handler)(GB_ERROR)) |
ARB_ERROR | GB_end_transaction (GBDATA *gbd, ARB_ERROR &error) |
#define GB_SYSTEM_FOLDER "__SYSTEM__" |
Definition at line 27 of file arbdb.h.
Referenced by compress_sequence_tree(), gb_clone_explicit(), gb_convert_V2_to_V3(), gb_delete_main_entry(), gb_load_key_data_and_dictionaries(), gb_load_single_key_data(), gb_read_ascii_beyond_header(), gb_resort_system_folder_to_top(), gb_search_system_folder(), gb_search_system_folder_rek(), gb_write_one_child(), NT_fix_dict_compress(), and PT_prepare_data().
#define GB_SYSTEM_KEY_DATA "@key_data" |
Definition at line 28 of file arbdb.h.
Referenced by gb_load_key_data_and_dictionaries(), and NT_fix_dict_compress().
#define GB_DEFAULT_ALIGNMENT "presets/use" |
Definition at line 30 of file arbdb.h.
Referenced by GBT_set_default_alignment(), get_default_alignment(), and NT_create_alignment_vars().
#define GB_USERFLAG_ANY 127 |
Definition at line 54 of file arbdb.h.
Referenced by GB_clear_user_flag(), and legal_user_bitmask().
#define GB_USERFLAG_QUERY 1 |
Definition at line 55 of file arbdb.h.
Referenced by DBUI::create_species_query_window(), EXP_create_experiment_query_window(), GEN_create_gene_query_window(), ScopedTransporter::markTarget(), MERGE_sequences_simple(), MG_create_merge_species_window(), and NT_create_config_after_import().
#define GB_USERFLAG_WASMARKED 2 |
Definition at line 56 of file arbdb.h.
Referenced by NT_create_config_after_import().
#define GB_USERFLAG_GHOSTNODE 1 |
Definition at line 57 of file arbdb.h.
Referenced by gbt_write_tree(), and gbt_write_tree_nodes().
typedef int GB_COMPRESSION_MASK |
enum GB_TYPES |
enum GB_SEARCH_TYPE |
enum GB_UNDO_TYPE |
enum XCMD_TYPE |
|
inline |
returns true if 'type' is readable using GB_read_as_string(). For other types GB_read_as_string() returns NULp. Implies that it is writeable using GB_write_autoconv_string().
Definition at line 90 of file arbdb.h.
References GB_BITS, GB_BYTE, GB_FLOAT, GB_INT, and GB_STRING.
Referenced by GB_read_as_string(), GB_readable_as_string(), and FieldTransfer::Rule::makeFromConfig().
|
inline |
Definition at line 268 of file arbdb.h.
References ARB_ERROR::deliver().