HDF5  1.12.0
H5Gprivate.h File Reference

Data Structures

struct  H5G_name_t
 
struct  H5G_loc_t
 
struct  H5G_link_iterate_t
 

Typedefs

typedef int H5G_own_loc_t
 
typedef herr_t(* H5G_traverse_t) (H5G_loc_t *grp_loc, const char *name, const struct H5O_link_t *lnk, H5G_loc_t *obj_loc, void *operator_data, H5G_own_loc_t *own_loc)
 
typedef enum H5G_link_iterate_op_type_t H5G_link_iterate_op_type_t
 
typedef struct H5G_t H5G_t
 
typedef struct H5G_shared_t H5G_shared_t
 
typedef struct H5G_entry_t H5G_entry_t
 

Enumerations

enum  H5G_names_op_t { H5G_NAME_MOVE = 0, H5G_NAME_DELETE, H5G_NAME_MOUNT, H5G_NAME_UNMOUNT }
 
enum  H5G_link_iterate_op_type_t { H5G_LINK_OP_OLD, H5G_LINK_OP_NEW }
 

Functions

H5_DLL herr_t H5G_init (void)
 
H5_DLL struct H5O_loc_tH5G_oloc (H5G_t *grp)
 
H5_DLL H5G_name_tH5G_nameof (const H5G_t *grp)
 
H5_DLL H5F_tH5G_fileof (H5G_t *grp)
 
H5_DLL H5G_tH5G_open (const H5G_loc_t *loc)
 
H5_DLL herr_t H5G_close (H5G_t *grp)
 
H5_DLL herr_t H5G_get_shared_count (H5G_t *grp)
 
H5_DLL herr_t H5G_mount (H5G_t *grp)
 
H5_DLL hbool_t H5G_mounted (H5G_t *grp)
 
H5_DLL herr_t H5G_unmount (H5G_t *grp)
 
H5_DLL H5G_obj_t H5G_map_obj_type (H5O_type_t obj_type)
 
H5_DLL char * H5G_normalize (const char *name)
 
H5_DLL herr_t H5G_traverse (const H5G_loc_t *loc, const char *name, unsigned target, H5G_traverse_t op, void *op_data)
 
H5_DLL herr_t H5G_iterate (H5G_loc_t *loc, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t skip, hsize_t *last_lnk, const H5G_link_iterate_t *lnk_op, void *op_data)
 
H5_DLL herr_t H5G_visit (H5G_loc_t *loc, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void *op_data)
 
H5_DLL herr_t H5G_link_to_info (const struct H5O_loc_t *link_loc, const struct H5O_link_t *lnk, H5L_info2_t *linfo)
 
H5_DLL herr_t H5G_obj_insert (const struct H5O_loc_t *grp_oloc, const char *name, struct H5O_link_t *obj_lnk, hbool_t adj_link, H5O_type_t obj_type, const void *crt_info)
 
H5_DLL ssize_t H5G_obj_get_name_by_idx (const struct H5O_loc_t *oloc, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, char *name, size_t size)
 
H5_DLL herr_t H5G_obj_remove (const struct H5O_loc_t *oloc, H5RS_str_t *grp_full_path_r, const char *name)
 
H5_DLL herr_t H5G_obj_remove_by_idx (const struct H5O_loc_t *grp_oloc, H5RS_str_t *grp_full_path_r, H5_index_t idx_type, H5_iter_order_t order, hsize_t n)
 
H5_DLL herr_t H5G_obj_lookup_by_idx (const struct H5O_loc_t *grp_oloc, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, struct H5O_link_t *lnk)
 
H5_DLL hid_t H5G_get_create_plist (const H5G_t *grp)
 
H5_DLL herr_t H5G_node_close (const H5F_t *f)
 
H5_DLL herr_t H5G_node_debug (H5F_t *f, haddr_t addr, FILE *stream, int indent, int fwidth, haddr_t heap)
 
H5_DLL herr_t H5G_ent_encode (const H5F_t *f, uint8_t **pp, const H5G_entry_t *ent)
 
H5_DLL herr_t H5G_ent_decode (const H5F_t *f, const uint8_t **pp, H5G_entry_t *ent)
 
H5_DLL herr_t H5G_name_set (const H5G_name_t *loc, H5G_name_t *obj, const char *name)
 
H5_DLL herr_t H5G_name_replace (const struct H5O_link_t *lnk, H5G_names_op_t op, H5F_t *src_file, H5RS_str_t *src_full_path_r, H5F_t *dst_file, H5RS_str_t *dst_full_path_r)
 
H5_DLL herr_t H5G_name_reset (H5G_name_t *name)
 
H5_DLL herr_t H5G_name_copy (H5G_name_t *dst, const H5G_name_t *src, H5_copy_depth_t depth)
 
H5_DLL herr_t H5G_name_free (H5G_name_t *name)
 
H5_DLL ssize_t H5G_get_name (const H5G_loc_t *loc, char *name, size_t size, hbool_t *cached)
 
H5_DLL ssize_t H5G_get_name_by_addr (H5F_t *f, const struct H5O_loc_t *loc, char *name, size_t size)
 
H5_DLL H5RS_str_tH5G_build_fullpath_refstr_str (H5RS_str_t *path_r, const char *name)
 
H5_DLL herr_t H5G_loc_real (void *obj, H5I_type_t type, H5G_loc_t *loc)
 
H5_DLL herr_t H5G_loc (hid_t loc_id, H5G_loc_t *loc)
 
H5_DLL herr_t H5G_loc_copy (H5G_loc_t *dst, const H5G_loc_t *src, H5_copy_depth_t depth)
 
H5_DLL herr_t H5G_loc_find (const H5G_loc_t *loc, const char *name, H5G_loc_t *obj_loc)
 
H5_DLL herr_t H5G_loc_find_by_idx (const H5G_loc_t *loc, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_loc_t *obj_loc)
 
H5_DLL htri_t H5G_loc_exists (const H5G_loc_t *loc, const char *name)
 
H5_DLL herr_t H5G_loc_info (const H5G_loc_t *loc, const char *name, H5O_info2_t *oinfo, unsigned fields)
 
H5_DLL herr_t H5G_loc_native_info (const H5G_loc_t *loc, const char *name, H5O_native_info_t *oinfo, unsigned fields)
 
H5_DLL herr_t H5G_loc_set_comment (const H5G_loc_t *loc, const char *name, const char *comment)
 
H5_DLL ssize_t H5G_loc_get_comment (const H5G_loc_t *loc, const char *name, char *comment, size_t bufsize)
 
H5_DLL herr_t H5G_loc_reset (H5G_loc_t *loc)
 
H5_DLL herr_t H5G_loc_free (H5G_loc_t *loc)
 
H5_DLL herr_t H5G_mkroot (H5F_t *f, hbool_t create_root)
 
H5_DLL herr_t H5G_root_loc (H5F_t *f, H5G_loc_t *loc)
 
H5_DLL herr_t H5G_root_free (H5G_t *grp)
 
H5_DLL H5G_tH5G_rootof (H5F_t *f)
 

Typedef Documentation

◆ H5G_entry_t

typedef struct H5G_entry_t H5G_entry_t

◆ H5G_link_iterate_op_type_t

◆ H5G_own_loc_t

typedef int H5G_own_loc_t

◆ H5G_shared_t

typedef struct H5G_shared_t H5G_shared_t

◆ H5G_t

typedef struct H5G_t H5G_t

◆ H5G_traverse_t

typedef herr_t(* H5G_traverse_t) (H5G_loc_t *grp_loc, const char *name, const struct H5O_link_t *lnk, H5G_loc_t *obj_loc, void *operator_data, H5G_own_loc_t *own_loc)

Enumeration Type Documentation

◆ H5G_link_iterate_op_type_t

Enumerator
H5G_LINK_OP_OLD 
H5G_LINK_OP_NEW 

◆ H5G_names_op_t

Enumerator
H5G_NAME_MOVE 
H5G_NAME_DELETE 
H5G_NAME_MOUNT 
H5G_NAME_UNMOUNT 

Function Documentation

◆ H5G_build_fullpath_refstr_str()

H5_DLL H5RS_str_t* H5G_build_fullpath_refstr_str ( H5RS_str_t path_r,
const char *  name 
)

◆ H5G_close()

◆ H5G_ent_decode()

◆ H5G_ent_encode()

◆ H5G_fileof()

H5_DLL H5F_t* H5G_fileof ( H5G_t grp)

◆ H5G_get_create_plist()

◆ H5G_get_name()

◆ H5G_get_name_by_addr()

H5_DLL ssize_t H5G_get_name_by_addr ( H5F_t f,
const struct H5O_loc_t loc,
char *  name,
size_t  size 
)

◆ H5G_get_shared_count()

H5_DLL herr_t H5G_get_shared_count ( H5G_t grp)

◆ H5G_init()

H5_DLL herr_t H5G_init ( void  )

◆ H5G_iterate()

◆ H5G_link_to_info()

H5_DLL herr_t H5G_link_to_info ( const struct H5O_loc_t link_loc,
const struct H5O_link_t lnk,
H5L_info2_t linfo 
)

◆ H5G_loc()

◆ H5G_loc_copy()

◆ H5G_loc_exists()

H5_DLL htri_t H5G_loc_exists ( const H5G_loc_t loc,
const char *  name 
)

◆ H5G_loc_find()

◆ H5G_loc_find_by_idx()

H5_DLL herr_t H5G_loc_find_by_idx ( const H5G_loc_t loc,
const char *  group_name,
H5_index_t  idx_type,
H5_iter_order_t  order,
hsize_t  n,
H5G_loc_t obj_loc 
)

◆ H5G_loc_free()

◆ H5G_loc_get_comment()

H5_DLL ssize_t H5G_loc_get_comment ( const H5G_loc_t loc,
const char *  name,
char *  comment,
size_t  bufsize 
)

◆ H5G_loc_info()

H5_DLL herr_t H5G_loc_info ( const H5G_loc_t loc,
const char *  name,
H5O_info2_t oinfo,
unsigned  fields 
)

◆ H5G_loc_native_info()

H5_DLL herr_t H5G_loc_native_info ( const H5G_loc_t loc,
const char *  name,
H5O_native_info_t oinfo,
unsigned  fields 
)

◆ H5G_loc_real()

◆ H5G_loc_reset()

◆ H5G_loc_set_comment()

H5_DLL herr_t H5G_loc_set_comment ( const H5G_loc_t loc,
const char *  name,
const char *  comment 
)

◆ H5G_map_obj_type()

◆ H5G_mkroot()

◆ H5G_mount()

H5_DLL herr_t H5G_mount ( H5G_t grp)

◆ H5G_mounted()

H5_DLL hbool_t H5G_mounted ( H5G_t grp)

◆ H5G_name_copy()

◆ H5G_name_free()

◆ H5G_name_replace()

H5_DLL herr_t H5G_name_replace ( const struct H5O_link_t lnk,
H5G_names_op_t  op,
H5F_t src_file,
H5RS_str_t src_full_path_r,
H5F_t dst_file,
H5RS_str_t dst_full_path_r 
)

◆ H5G_name_reset()

◆ H5G_name_set()

◆ H5G_nameof()

◆ H5G_node_close()

H5_DLL herr_t H5G_node_close ( const H5F_t f)

References f, FUNC_LEAVE_NOAPI(), and HDassert().

◆ H5G_node_debug()

◆ H5G_normalize()

H5_DLL char* H5G_normalize ( const char *  name)

◆ H5G_obj_get_name_by_idx()

H5_DLL ssize_t H5G_obj_get_name_by_idx ( const struct H5O_loc_t oloc,
H5_index_t  idx_type,
H5_iter_order_t  order,
hsize_t  n,
char *  name,
size_t  size 
)

◆ H5G_obj_insert()

H5_DLL herr_t H5G_obj_insert ( const struct H5O_loc_t grp_oloc,
const char *  name,
struct H5O_link_t obj_lnk,
hbool_t  adj_link,
H5O_type_t  obj_type,
const void *  crt_info 
)

◆ H5G_obj_lookup_by_idx()

H5_DLL herr_t H5G_obj_lookup_by_idx ( const struct H5O_loc_t grp_oloc,
H5_index_t  idx_type,
H5_iter_order_t  order,
hsize_t  n,
struct H5O_link_t lnk 
)

◆ H5G_obj_remove()

H5_DLL herr_t H5G_obj_remove ( const struct H5O_loc_t oloc,
H5RS_str_t grp_full_path_r,
const char *  name 
)

◆ H5G_obj_remove_by_idx()

H5_DLL herr_t H5G_obj_remove_by_idx ( const struct H5O_loc_t grp_oloc,
H5RS_str_t grp_full_path_r,
H5_index_t  idx_type,
H5_iter_order_t  order,
hsize_t  n 
)

◆ H5G_oloc()

◆ H5G_open()

◆ H5G_root_free()

◆ H5G_root_loc()

◆ H5G_rootof()

H5_DLL H5G_t* H5G_rootof ( H5F_t f)

◆ H5G_traverse()

◆ H5G_unmount()

H5_DLL herr_t H5G_unmount ( H5G_t grp)

◆ H5G_visit()