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

Go to the source code of this file.

Classes

struct  gb_if_entries
 
struct  gb_index_files
 

Macros

#define GB_ENTRIES_ENTRY(entries, idx)   ((gb_if_entries *) ((entries)[idx] ? ((char*)(entries))+((entries)[idx]) : NULp))
 
#define SET_GB_ENTRIES_ENTRY(entries, idx, ie)
 

Functions

gb_if_entriesGB_IF_ENTRIES_NEXT (gb_if_entries *ie)
 
void SET_GB_IF_ENTRIES_NEXT (gb_if_entries *ie, gb_if_entries *next)
 
GBDATAGB_IF_ENTRIES_GBD (gb_if_entries *ie)
 
void SET_GB_IF_ENTRIES_GBD (gb_if_entries *ie, GBDATA *gbd)
 
GB_REL_IFESGB_INDEX_FILES_ENTRIES (gb_index_files *ifs)
 
void SET_GB_INDEX_FILES_ENTRIES (gb_index_files *ixf, gb_if_entries **entries)
 
gb_index_filesGB_INDEX_FILES_NEXT (gb_index_files *ixf)
 
void SET_GB_INDEX_FILES_NEXT (gb_index_files *ixf, gb_index_files *next)
 
gb_index_filesGBCONTAINER_IFS (GBCONTAINER *gbc)
 
void SET_GBCONTAINER_IFS (GBCONTAINER *gbc, gb_index_files *ifs)
 

Macro Definition Documentation

#define GB_ENTRIES_ENTRY (   entries,
  idx 
)    ((gb_if_entries *) ((entries)[idx] ? ((char*)(entries))+((entries)[idx]) : NULp))
#define SET_GB_ENTRIES_ENTRY (   entries,
  idx,
  ie 
)
Value:
do { \
if (ie) { \
(entries)[idx] = (char*)(ie)-(char*)(entries); \
} \
else { \
(entries)[idx] = 0; \
} \
} while (0)
GB_write_int const char GB_write_autoconv_string WRITE_SKELETON(write_pointer, GBDATA *,"%p", GB_write_pointer) char *AW_awa if)(!gb_var) return strdup("")
Definition: AW_awar.cxx:163

Definition at line 67 of file gb_index.h.

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

Function Documentation

gb_if_entries* GB_IF_ENTRIES_NEXT ( gb_if_entries ie)
inline

Definition at line 29 of file gb_index.h.

References GB_RESOLVE.

Referenced by gb_destroy_indices(), gb_index_find(), GBENTRY::index_check_out(), and write_IE().

void SET_GB_IF_ENTRIES_NEXT ( gb_if_entries ie,
gb_if_entries next 
)
inline

Definition at line 32 of file gb_index.h.

References GB_SETREL.

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

GBDATA* GB_IF_ENTRIES_GBD ( gb_if_entries ie)
inline

Definition at line 36 of file gb_index.h.

References GB_RESOLVE.

Referenced by gb_index_find(), GBENTRY::index_check_out(), and write_IE().

void SET_GB_IF_ENTRIES_GBD ( gb_if_entries ie,
GBDATA gbd 
)
inline

Definition at line 39 of file gb_index.h.

References GB_SETREL.

Referenced by GBENTRY::index_check_in().

GB_REL_IFES* GB_INDEX_FILES_ENTRIES ( gb_index_files ifs)
inline
void SET_GB_INDEX_FILES_ENTRIES ( gb_index_files ixf,
gb_if_entries **  entries 
)
inline

Definition at line 83 of file gb_index.h.

References GB_SETREL.

Referenced by GB_create_index().

gb_index_files* GB_INDEX_FILES_NEXT ( gb_index_files ixf)
inline

Definition at line 87 of file gb_index.h.

References GB_RESOLVE.

Referenced by find_sub_sub_by_quark(), gb_destroy_indices(), gb_write_index_key(), and write_IFS().

void SET_GB_INDEX_FILES_NEXT ( gb_index_files ixf,
gb_index_files next 
)
inline

Definition at line 90 of file gb_index.h.

References GB_SETREL.

Referenced by GB_create_index().

gb_index_files* GBCONTAINER_IFS ( GBCONTAINER gbc)
inline
void SET_GBCONTAINER_IFS ( GBCONTAINER gbc,
gb_index_files ifs 
)
inline

Definition at line 97 of file gb_index.h.

References GB_SETREL.

Referenced by GB_create_index().