ARB
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
GBDATA Struct Reference

#include <gb_data.h>

Inheritance diagram for GBDATA:
Inheritance graph
[legend]
Collaboration diagram for GBDATA:
Collaboration graph
[legend]

Public Member Functions

GB_TYPES type () const
 
bool is_a_string () const
 
bool is_indexable () const
 
bool is_container () const
 
bool is_entry () const
 
GBENTRYas_entry () const
 
GBCONTAINERas_container () const
 
GBENTRYexpect_entry () const
 
GBCONTAINERexpect_container () const
 
GBCONTAINERget_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_listget_callbacks () const
 
gb_transaction_saveget_oldData () const
 

Static Public Member Functions

static GBCONTAINERas_container (GBDATA *gbd)
 
static GBENTRYas_entry (GBDATA *gbd)
 

Public Attributes

long server_id
 
GB_REL_CONTAINER rel_father
 
gb_db_extendedext
 
long index
 
gb_flag_types flags
 
gb_flag_types2 flags2
 

Detailed Description

Definition at line 129 of file gb_data.h.

Member Function Documentation

GB_TYPES GBDATA::type ( ) const
inline
bool GBDATA::is_a_string ( ) const
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().

bool GBDATA::is_indexable ( ) const
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().

bool GBDATA::is_container ( ) const
inline
bool GBDATA::is_entry ( ) const
inline
GBENTRY* GBDATA::as_entry ( ) const
inline
GBCONTAINER* GBDATA::as_container ( ) const
inline
static GBCONTAINER* GBDATA::as_container ( GBDATA gbd)
inlinestatic

Definition at line 161 of file gb_data.h.

References as_container(), and NULp.

static GBENTRY* GBDATA::as_entry ( GBDATA gbd)
inlinestatic

Definition at line 162 of file gb_data.h.

References as_entry(), and NULp.

GBENTRY* GBDATA::expect_entry ( ) const
inline

Definition at line 165 of file gb_data.h.

References as_entry(), GBK_terminate(), and is_entry().

GBCONTAINER* GBDATA::expect_container ( ) const
inline
GBCONTAINER * GBDATA::get_father ( )
inline
void GBDATA::create_extended ( )
inline
void GBDATA::destroy_extended ( )
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().

void GBDATA::touch_creation ( long  cdate)
inline
void GBDATA::touch_update ( long  udate)
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().

void GBDATA::touch_creation_and_update ( long  date)
inline
long GBDATA::creation_date ( ) const
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().

long GBDATA::update_date ( ) const
inline
gb_callback_list* GBDATA::get_callbacks ( ) const
inline
gb_transaction_save* GBDATA::get_oldData ( ) const
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().

Member Data Documentation

long GBDATA::server_id
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
long GBDATA::index
gb_flag_types GBDATA::flags
gb_flag_types2 GBDATA::flags2

The documentation for this struct was generated from the following file: