HDF5  1.12.0
Data Structures | Macros | Typedefs | Functions
H5HGprivate.h File Reference
#include "H5Fprivate.h"

Go to the source code of this file.

Data Structures

struct  H5HG_t
 

Macros

#define H5HG_MAXSIZE   65536
 
#define H5HG_ADDR(H)   (H5HG_get_addr(H))
 
#define H5HG_SIZE(H)   (H5HG_get_size(H))
 
#define H5HG_FREE_SIZE(H)   (H5HG_get_free_size(H))
 
#define H5HG_HEAP_ID_SIZE(F)   ((size_t)H5F_SIZEOF_ADDR(F) + H5_SIZEOF_UINT32_T)
 

Typedefs

typedef struct H5HG_t H5HG_t
 
typedef struct H5HG_heap_t H5HG_heap_t
 

Functions

H5_DLL herr_t H5HG_insert (H5F_t *f, size_t size, const void *obj, H5HG_t *hobj)
 
H5_DLL void * H5HG_read (H5F_t *f, H5HG_t *hobj, void *object, size_t *buf_size)
 
H5_DLL int H5HG_link (H5F_t *f, const H5HG_t *hobj, int adjust)
 
H5_DLL herr_t H5HG_get_obj_size (H5F_t *f, H5HG_t *hobj, size_t *obj_size)
 
H5_DLL herr_t H5HG_remove (H5F_t *f, H5HG_t *hobj)
 
H5_DLL herr_t H5HG_extend (H5F_t *f, haddr_t addr, size_t need)
 
H5_DLL haddr_t H5HG_get_addr (const H5HG_heap_t *h)
 
H5_DLL size_t H5HG_get_size (const H5HG_heap_t *h)
 
H5_DLL size_t H5HG_get_free_size (const H5HG_heap_t *h)
 
H5_DLL herr_t H5HG_debug (H5F_t *f, haddr_t addr, FILE *stream, int indent, int fwidth)
 

Macro Definition Documentation

◆ H5HG_ADDR

#define H5HG_ADDR (   H)    (H5HG_get_addr(H))

◆ H5HG_FREE_SIZE

#define H5HG_FREE_SIZE (   H)    (H5HG_get_free_size(H))

◆ H5HG_HEAP_ID_SIZE

#define H5HG_HEAP_ID_SIZE (   F)    ((size_t)H5F_SIZEOF_ADDR(F) + H5_SIZEOF_UINT32_T)

◆ H5HG_MAXSIZE

#define H5HG_MAXSIZE   65536

◆ H5HG_SIZE

#define H5HG_SIZE (   H)    (H5HG_get_size(H))

Typedef Documentation

◆ H5HG_heap_t

typedef struct H5HG_heap_t H5HG_heap_t

◆ H5HG_t

typedef struct H5HG_t H5HG_t

Function Documentation

◆ H5HG_debug()

H5_DLL herr_t H5HG_debug ( H5F_t f,
haddr_t  addr,
FILE stream,
int  indent,
int  fwidth 
)

◆ H5HG_extend()

H5_DLL herr_t H5HG_extend ( H5F_t f,
haddr_t  addr,
size_t  need 
)

◆ H5HG_get_addr()

H5_DLL haddr_t H5HG_get_addr ( const H5HG_heap_t h)

◆ H5HG_get_free_size()

H5_DLL size_t H5HG_get_free_size ( const H5HG_heap_t h)

◆ H5HG_get_obj_size()

H5_DLL herr_t H5HG_get_obj_size ( H5F_t f,
H5HG_t hobj,
size_t obj_size 
)

◆ H5HG_get_size()

H5_DLL size_t H5HG_get_size ( const H5HG_heap_t h)

◆ H5HG_insert()

H5_DLL herr_t H5HG_insert ( H5F_t f,
size_t  size,
const void *  obj,
H5HG_t hobj 
)

◆ H5HG_link()

H5_DLL int H5HG_link ( H5F_t f,
const H5HG_t hobj,
int  adjust 
)

◆ H5HG_read()

H5_DLL void* H5HG_read ( H5F_t f,
H5HG_t hobj,
void *  object,
size_t buf_size 
)

◆ H5HG_remove()

H5_DLL herr_t H5HG_remove ( H5F_t f,
H5HG_t hobj 
)