ARB
|
#include <gb_data.h>
Public Member Functions | |
GB_TYPES | type () const |
bool | is_a_string () const |
bool | is_indexable () const |
bool | is_container () const |
bool | is_entry () const |
GBENTRY * | as_entry () const |
GBCONTAINER * | as_container () const |
GBENTRY * | expect_entry () const |
GBCONTAINER * | expect_container () const |
GBCONTAINER * | get_father () |
void | create_extended () |
void | destroy_extended () |
void | touch_creation (long cdate) |
void | touch_update (long udate) |
void | touch_creation_and_update (long date) |
long | creation_date () const |
long | update_date () const |
gb_callback_list * | get_callbacks () const |
gb_transaction_save * | get_oldData () const |
Static Public Member Functions | |
static GBCONTAINER * | as_container (GBDATA *gbd) |
static GBENTRY * | as_entry (GBDATA *gbd) |
Public Attributes | |
long | server_id |
GB_REL_CONTAINER | rel_father |
gb_db_extended * | ext |
long | index |
gb_flag_types | flags |
gb_flag_types2 | flags2 |
|
inline |
Definition at line 139 of file gb_data.h.
References gb_assert, knownNonNull(), and gb_flag_types::type.
Referenced by build_dict_tree(), dump_internal(), gb_abort_entry(), gb_check_in_undo_delete(), gb_check_in_undo_modify(), gb_clone_explicit(), gb_compress_data(), gb_convert_compression(), gb_copy_explicit(), GB_create(), gb_create_dictionaries(), gb_delete_entry(), gb_expect_type(), gb_find_value_equal(), GB_get_type_name(), gb_info(), gb_pre_delete_entry(), GB_read_as_string(), gb_read_bin_rek_V2(), GB_read_lossless_byte(), GB_read_lossless_float(), GB_read_lossless_int(), GB_read_type(), GB_readable_as_string(), GB_release(), gb_set_compression(), gb_transactable_type(), GB_write_autoconv_string(), gb_write_bin_rek(), GB_write_lossless_byte(), GB_write_lossless_float(), GB_write_lossless_int(), gb_write_one_child(), GB_write_pntr(), gbcm_read_bin(), gbcm_write_bin(), gbcms_talking_unfold(), get_data_n_size(), is_a_string(), is_container(), readAndWrite(), GB_MAIN_TYPE::trigger_delete_callbacks(), GBENTRY::uncompressed_size(), and undo_entry().
|
inline |
Definition at line 144 of file gb_data.h.
References GB_STRING, and type().
Referenced by build_dict_tree(), gb_find_value_equal(), gb_uncompress_by_dictionary(), and is_indexable().
|
inline |
Definition at line 145 of file gb_data.h.
References is_a_string().
Referenced by gb_write_index_key(), and GBENTRY::index_check_in().
|
inline |
Definition at line 147 of file gb_data.h.
Referenced by as_container(), dump_internal(), expect_container(), find_sub_sub_by_quark(), g_b_opti_scanGbdByKey(), gb_abort_transaction_local_rek(), gb_check_in_undo_delete(), GB_clone(), gb_clone_explicit(), gb_commit_transaction_local_rek(), gb_convert_compression(), gb_copy_explicit(), gb_delete_entry(), gb_find_internal(), gb_fix_recursive(), GB_get_subfields(), GB_is_ancestor_of(), GB_is_container(), GB_MAIN_NO_FATHER(), GB_nsons(), GB_number_of_marked_subentries(), gb_search(), gb_set_update_in_server_flags(), GB_stream_save_part(), gb_uncache(), gb_unfold(), gb_untouch_children(), gb_write_one_child(), gbcm_write_bin(), gbcms_write_updated(), is_entry(), scanGbdByKey(), GB_MAIN_TYPE::trigger_delete_callbacks(), undo_entry(), and write_GBDATA().
|
inline |
Definition at line 148 of file gb_data.h.
References is_container().
Referenced by as_entry(), expect_entry(), gb_abort_entry(), gb_check_in_undo_modify(), GB_create(), GB_create_index(), GB_is_dictionary_compressed(), and undo_entry().
|
inline |
Definition at line 150 of file gb_data.h.
References gb_assert, gb_strict_assert, is_entry(), and knownNonNull().
Referenced by as_entry(), compress_sequence_tree(), expect_entry(), g_b_create_master(), gb_abort_entry(), gb_check_in_undo_delete(), gb_convert_compression(), gb_copy_explicit(), GB_is_dictionary_compressed(), GB_MAIN_NO_FATHER(), gb_pre_delete_entry(), gb_read_bin_rek_V2(), GB_read_bits(), GB_read_bits_count(), GB_read_bits_pntr(), GB_read_byte(), GB_read_bytes(), GB_read_bytes_count(), GB_read_count(), GB_read_float(), GB_read_floats(), GB_read_floats_count(), GB_read_floats_pntr(), GB_read_int(), GB_read_ints(), GB_read_ints_count(), GB_read_ints_pntr(), GB_read_memuse(), GB_read_pntr(), GB_read_pointer(), GB_read_string(), GB_read_string_count(), gb_uncache(), gb_unfold(), gb_write_bin_rek(), GB_write_bits(), GB_write_byte(), GB_write_float(), gb_write_index_key(), GB_write_int(), gb_write_one_child(), GB_write_pntr(), GB_write_pointer(), GB_write_string(), gbcm_read_bin(), gbcm_write_bin(), get_data_n_size(), readAndWrite(), GB_MAIN_TYPE::trigger_delete_callbacks(), undo_entry(), and write_GBDATA().
|
inline |
Definition at line 155 of file gb_data.h.
References gb_assert, gb_strict_assert, is_container(), and knownNonNull().
Referenced by as_container(), compress_sequence_tree(), dump_internal(), expect_container(), g_b_opti_scanGbdByKey(), gb_abort_transaction_local_rek(), gb_check_in_undo_delete(), GB_clone(), gb_clone_explicit(), gb_commit_transaction_local_rek(), gb_copy_explicit(), GB_create_index(), gb_delete_dummy_father(), gb_find_internal(), GB_get_subfields(), gb_load_key_data_and_dictionaries(), gb_load_single_key_data(), GB_MAIN_NO_FATHER(), GB_nsons(), GB_number_of_marked_subentries(), gb_read_bin_rek_V2(), gb_search(), gb_set_update_in_server_flags(), GB_stream_save_part(), gb_uncache(), gb_unfold(), gb_untouch_children(), gb_write_bin_rek(), gb_write_one_child(), gbcm_read_bin(), gbcm_write_bin(), gbcmc_begin_transaction(), GBCMS_open(), gbcms_talking_init_transaction(), gbcms_talking_put_update(), gbcms_write_updated(), scanGbdByKey(), undo_entry(), and write_GBDATA().
|
inlinestatic |
Definition at line 161 of file gb_data.h.
References as_container(), and NULp.
Definition at line 162 of file gb_data.h.
References as_entry(), and NULp.
|
inline |
Definition at line 165 of file gb_data.h.
References as_entry(), GBK_terminate(), and is_entry().
|
inline |
Definition at line 169 of file gb_data.h.
References as_container(), GBK_terminate(), and is_container().
Referenced by GB_create(), GB_create_container(), GB_find_sub_by_quark(), GB_find_subcontent_by_quark(), GB_first_marked(), GB_number_of_subentries(), GB_search(), GB_write_flag(), gbcms_talking_unfold(), and get_user_flags().
|
inline |
Definition at line 276 of file gb_data.h.
References father, GB_FATHER(), and NULp.
Referenced by GB_get_father(), gb_hierarchy_location::gb_hierarchy_location(), GB_is_ancestor_of(), gb_search(), gb_hierarchy_location::matches(), and ArbDBWriter::saveFromTill().
|
inline |
Definition at line 176 of file gb_data.h.
References GB_GBM_INDEX, and gbm_get_mem().
Referenced by gb_add_callback(), gb_commit_transaction_local_rek(), gb_make_container(), gb_make_entry(), gb_make_pre_defined_container(), gb_make_pre_defined_entry(), gb_read_bin_rek_V2(), gb_save_extern_data_in_ts(), gbcmc_begin_transaction(), and GB_MAIN_TYPE::trigger_delete_callbacks().
|
inline |
Definition at line 181 of file gb_data.h.
References GB_GBM_INDEX, gbm_free_mem(), and NULp.
Referenced by gb_pre_delete_entry().
|
inline |
Definition at line 188 of file gb_data.h.
References gb_db_extended::creation_date.
Referenced by gb_make_container(), gb_make_entry(), gb_make_pre_defined_container(), and gb_make_pre_defined_entry().
|
inline |
Definition at line 189 of file gb_data.h.
References gb_db_extended::update_date.
Referenced by gb_commit_transaction_local_rek(), and gbcmc_begin_transaction().
|
inline |
Definition at line 190 of file gb_data.h.
References gb_db_extended::creation_date, and gb_db_extended::update_date.
Referenced by gb_read_bin_rek_V2(), and gbcmc_begin_transaction().
|
inline |
Definition at line 192 of file gb_data.h.
References gb_db_extended::creation_date.
Referenced by gbcms_add_to_delete_list(), and gbcms_write_updated().
|
inline |
Definition at line 193 of file gb_data.h.
References gb_db_extended::update_date.
Referenced by gb_alloc_cache_index(), gb_read_cache(), GB_read_clock(), gbcms_add_to_delete_list(), and gbcms_write_updated().
|
inline |
Definition at line 195 of file gb_data.h.
References gb_db_extended::callback, and NULp.
Referenced by gb_do_callbacks(), GB_ensure_callback(), GB_get_callback_info(), gb_remove_callbacks_that(), GB_MAIN_TYPE::trigger_change_callbacks(), and GB_MAIN_TYPE::trigger_delete_callbacks().
|
inline |
Definition at line 196 of file gb_data.h.
References NULp, and gb_db_extended::old.
Referenced by gb_abort_entry(), and gb_check_in_undo_modify().
long GBDATA::server_id |
Definition at line 130 of file gb_data.h.
Referenced by dump_internal(), gb_commit_transaction_local_rek(), gb_create_header_array(), GB_login(), gb_make_container(), gb_make_entry(), gb_make_pre_defined_container(), gb_make_pre_defined_entry(), gb_pre_delete_entry(), GB_tell_server_dont_wait(), gbcm_read_bin(), gbcm_unfold_client(), gbcmc_abort_transaction(), gbcmc_begin_sendupdate(), gbcmc_commit_transaction(), gbcmc_end_sendupdate(), GBCMC_find(), gbcmc_init_transaction(), gbcmc_key_alloc(), gbcmc_send_undo_commands(), gbcmc_send_undo_info_commands(), gbcmc_sendupdate_create(), gbcmc_sendupdate_delete(), gbcmc_sendupdate_update(), GB_MAIN_TYPE::login_remote(), and write_GBDATA().
GB_REL_CONTAINER GBDATA::rel_father |
Definition at line 131 of file gb_data.h.
Referenced by getrel_GBDATA(), and write_GBDATA().
gb_db_extended* GBDATA::ext |
Definition at line 132 of file gb_data.h.
Referenced by gb_abortdata(), gb_add_callback(), GB_FREE_TRANSACTION_SAVE(), GB_get_callback_info(), gb_is_writeable(), gb_remove_callbacks_that(), gb_save_extern_data_in_ts(), GB_MAIN_TYPE::trigger_delete_callbacks(), and write_GBDATA().
long GBDATA::index |
Definition at line 133 of file gb_data.h.
Referenced by dump_internal(), find_sub_by_quark(), find_sub_sub_by_quark(), GB_ARRAY_FLAGS(), GB_following_marked(), gb_index_find(), GB_KEY_QUARK(), gb_link_entry(), gb_make_container(), gb_make_entry(), gb_make_pre_defined_container(), gb_make_pre_defined_entry(), gb_pre_delete_entry(), gb_read_bin(), gb_read_bin_rek_V2(), gb_read_nr(), GB_resort_data_base(), gb_touch_entry(), gb_unlink_entry(), gb_untouch_me(), gb_write_key(), gbcm_write_bin(), and write_GBDATA().
gb_flag_types GBDATA::flags |
Definition at line 134 of file gb_data.h.
Referenced by gb_abort_entry(), gb_abortdata(), gb_ascii_2_bin(), gb_bin_2_ascii(), gb_check_in_undo_modify(), GB_clear_temporary(), gb_copy_explicit(), GB_delete(), GB_is_dictionary_compressed(), GB_is_temporary(), gb_is_writeable(), gb_make_container(), gb_make_entry(), gb_new_gb_transaction_save(), gb_read_bin_rek_V2(), gb_read_dict_data(), GB_read_floats_pntr(), GB_read_ints_pntr(), GB_read_pntr(), GB_set_temporary(), gb_write_bin_rek(), GB_write_bits(), gb_write_compressed_pntr(), GB_write_flag(), gb_write_one_child(), GB_write_pntr(), gbcm_read_bin(), gbcm_write_bin(), scanGbdByKey(), set_protection_level(), undo_entry(), and write_GBDATA().
gb_flag_types2 GBDATA::flags2 |
Definition at line 135 of file gb_data.h.
Referenced by GBENTRY::alloc_data(), dump_internal(), find_sub_sub_by_quark(), gb_abortdata(), gb_check_in_undo_delete(), GB_clone(), gb_clone_explicit(), gb_commit_transaction_local_rek(), gb_copy_explicit(), GB_get_subfields(), gb_new_gb_transaction_save(), gb_read_bin_rek_V2(), GB_release(), gb_set_update_in_server_flags(), gb_touch_entry(), gb_touch_header(), gb_unfold(), gb_untouch_children(), gb_untouch_me(), gb_write_bin_rek(), gb_write_index_key(), gb_write_one_child(), gbcm_read_bin(), gbcm_unfold_client(), gbcmc_begin_transaction(), get_user_flags(), GBENTRY::index_check_in(), GBENTRY::index_check_out(), GBENTRY::index_re_check_in(), GB_MAIN_TYPE::login_remote(), GBENTRY::mark_as_extern(), GBENTRY::mark_as_intern(), set_protection_level(), GBENTRY::stored_external(), undo_entry(), and write_GBDATA().