ARB
Classes | Macros | Functions | Variables
gb_data.h File Reference
#include "gb_local.h"
#include "gb_memory.h"
#include "gb_storage.h"
Include dependency graph for gb_data.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gb_extern_data
 
struct  GB_INTern_strings
 
struct  GB_INTern
 
union  gb_data_base_type_union
 
struct  gb_db_extended
 
struct  gb_flag_types
 
struct  gb_flag_types2
 
struct  gb_flag_types3
 
struct  gb_data_list
 
struct  GBDATA
 
class  GBENTRY
 
class  GBCONTAINER
 

Macros

#define SIZOFINTERN   10
 
#define gb_strict_assert(cond)
 
#define GB_GBM_INDEX(gbd)   ((gbd)->flags2.gbm_index)
 
#define GB_GET_SECURITY_READ(gb)   ((gb)->flags.security_read)
 
#define GB_GET_SECURITY_WRITE(gb)   ((gb)->flags.security_write)
 
#define GB_GET_SECURITY_DELETE(gb)   ((gb)->flags.security_delete)
 
#define GB_PUT_SECURITY_READ(gb, i)   ((gb)->flags.security_read = (i))
 
#define GB_PUT_SECURITY_WRITE(gb, i)   ((gb)->flags.security_write = (i))
 
#define GB_PUT_SECURITY_DELETE(gb, i)   ((gb)->flags.security_delete = (i))
 

Functions

CONSTEXPR_INLINE gb_header_listGB_DATA_LIST_HEADER (gb_data_list &dl)
 
void SET_GB_DATA_LIST_HEADER (gb_data_list &dl, gb_header_list *head)
 
CONSTEXPR_INLINE GBCONTAINERGB_FATHER (GBDATA *gbd)
 
CONSTEXPR_INLINE GBCONTAINERGB_GRANDPA (GBDATA *gbd)
 
CONSTEXPR_INLINE_Cxx14 void SET_GB_FATHER (GBDATA *gbd, GBCONTAINER *father)
 
GB_MAIN_TYPEGBCONTAINER_MAIN (GBCONTAINER *gbc)
 
GB_MAIN_TYPEGB_MAIN (GBDATA *gbd)
 
GB_MAIN_TYPEGB_MAIN (GBCONTAINER *gbc)
 
GB_MAIN_TYPEGB_MAIN_NO_FATHER (GBDATA *gbd)
 
__ATTR__USERESULT GB_ERROR gb_commit_transaction_local_rek (GBCONTAINER *&gbc, long mode, int *pson_created)
 
void gb_abort_transaction_local_rek (GBCONTAINER *&gbc)
 

Variables

GB_MAIN_TYPEgb_main_array []
 

Macro Definition Documentation

#define SIZOFINTERN   10

Definition at line 25 of file gb_data.h.

Referenced by GB_read_float(), GB_write_float(), and store_inside_entry().

#define gb_strict_assert (   cond)

Definition at line 121 of file gb_data.h.

Referenced by GBDATA::as_container(), and GBDATA::as_entry().

#define GB_GBM_INDEX (   gbd)    ((gbd)->flags2.gbm_index)
#define GB_GET_SECURITY_READ (   gb)    ((gb)->flags.security_read)

Definition at line 301 of file gb_data.h.

Referenced by GB_read_security_read(), and GB_write_security_read().

#define GB_GET_SECURITY_WRITE (   gb)    ((gb)->flags.security_write)
#define GB_GET_SECURITY_DELETE (   gb)    ((gb)->flags.security_delete)
#define GB_PUT_SECURITY_READ (   gb,
 
)    ((gb)->flags.security_read = (i))

Definition at line 305 of file gb_data.h.

Referenced by GB_write_security_levels(), and GB_write_security_read().

#define GB_PUT_SECURITY_WRITE (   gb,
 
)    ((gb)->flags.security_write = (i))

Definition at line 306 of file gb_data.h.

Referenced by GB_write_security_levels(), and GB_write_security_write().

#define GB_PUT_SECURITY_DELETE (   gb,
 
)    ((gb)->flags.security_delete = (i))

Function Documentation

CONSTEXPR_INLINE gb_header_list* GB_DATA_LIST_HEADER ( gb_data_list dl)
void SET_GB_DATA_LIST_HEADER ( gb_data_list dl,
gb_header_list head 
)
inline

Definition at line 108 of file gb_data.h.

References GB_SETREL.

Referenced by gb_create_header_array().

CONSTEXPR_INLINE GBCONTAINER* GB_FATHER ( GBDATA gbd)
CONSTEXPR_INLINE GBCONTAINER* GB_GRANDPA ( GBDATA gbd)

Definition at line 272 of file gb_data.h.

References GB_FATHER().

Referenced by gbcms_talking_find(), GBENTRY::index_check_in(), and GBENTRY::index_check_out().

CONSTEXPR_INLINE_Cxx14 void SET_GB_FATHER ( GBDATA gbd,
GBCONTAINER father 
)
GB_MAIN_TYPE* GBCONTAINER_MAIN ( GBCONTAINER gbc)
inline
GB_MAIN_TYPE* GB_MAIN ( GBDATA gbd)
inline

Definition at line 291 of file gb_data.h.

References GB_FATHER(), and GBCONTAINER_MAIN().

Referenced by compress_sequence_tree(), dump_internal(), gb_abort_and_close_all_DBs(), GB_abort_transaction(), GB_add_hierarchy_callback(), gb_alloc_cache_index(), GB_allow_compression(), GB_atclose_callback(), GB_begin_transaction(), GB_change_my_security(), GB_close(), GB_commit_transaction(), gb_commit_transaction_local_rek(), gb_compress_data(), GB_delete(), gb_delete_dummy_father(), gb_delete_main_entry(), GB_disable_path(), GB_disable_quicksave(), gb_disable_undo(), gb_do_callbacks(), GB_find_existing_quark(), GB_find_or_create_quark(), gb_fix_recursive(), gb_free_all_undos(), GB_get_requested_undo_type(), gb_get_root(), GB_get_root(), GB_get_transaction_level(), gb_hierarchy_location::gb_hierarchy_location(), gb_info(), GB_inside_remote_action(), GB_is_server(), GB_KEY(), GB_last_saved_clock(), GB_last_saved_time(), gb_load_dictionary_data(), gb_load_single_key_data(), GB_MAIN_NO_FATHER(), GB_mapfile(), GB_no_transaction(), GB_optimize(), GB_pop_transaction(), GB_print_debug_information(), GB_push_transaction(), gb_read_bin_rek_V2(), gb_read_cache(), GB_read_clients(), GB_read_clock(), GB_read_flag(), GB_release(), GB_remove_hierarchy_callback(), GB_request_undo_type(), GB_save(), GB_save_as(), gb_save_dictionary_data(), GB_save_in_arbprop(), GB_save_quick(), GB_save_quick_as(), gb_security_error(), GB_set_cache_size(), GB_set_remote_action(), GB_set_undo_mem(), gb_set_undo_sync(), gb_set_undo_type(), GB_start_streamed_save_as(), GB_tell_server_dont_wait(), GB_test_delete_possible(), GB_test_transaction(), gb_transactable_type(), gb_type_writeable_to(), gb_uncache(), gb_uncompress_by_dictionary(), gb_uncompress_by_sequence(), GB_undo(), GB_undo_info(), GB_write_flag(), gb_write_key(), GB_write_pntr(), GB_write_security_delete(), GB_write_security_levels(), GB_write_security_read(), GB_write_security_write(), gbcm_read_bin(), gbcmc_abort_transaction(), gbcmc_begin_sendupdate(), gbcmc_begin_transaction(), gbcmc_commit_transaction(), gbcmc_end_sendupdate(), GBCMC_find(), gbcmc_key_alloc(), gbcmc_read_keys(), gbcmc_send_undo_commands(), gbcmc_send_undo_info_commands(), gbcmc_sendupdate_create(), gbcmc_sendupdate_delete(), gbcmc_sendupdate_update(), gbcmc_unfold_list(), GBCMS_accept_calls(), gbcms_add_to_delete_list(), GBCMS_open(), GBCMS_shutdown(), gbcms_talking_begin_transaction(), gbcms_talking_init_transaction(), gbcms_talking_key_alloc(), gbcms_write_keys(), GBT_compress_sequence_tree2(), gb_hierarchy_location::get_db_path(), and run_close_callbacks().

GB_MAIN_TYPE* GB_MAIN ( GBCONTAINER gbc)
inline

Definition at line 292 of file gb_data.h.

References GBCONTAINER_MAIN().

GB_MAIN_TYPE* GB_MAIN_NO_FATHER ( GBDATA gbd)
inline
__ATTR__USERESULT GB_ERROR gb_commit_transaction_local_rek ( GBCONTAINER *&  gbc,
long  mode,
int pson_created 
)
inline

Definition at line 312 of file gb_data.h.

void gb_abort_transaction_local_rek ( GBCONTAINER *&  gbc)
inline

Definition at line 316 of file gb_data.h.

Variable Documentation

GB_MAIN_TYPE* gb_main_array[]

Definition at line 28 of file ad_save_load.cxx.

Referenced by gb_make_main_idx(), gb_read_bin(), and GB_MAIN_TYPE::release_main_idx().