HDF5
1.15.0.f39b228
API Reference
|
#include "H5public.h"
Macros | |
#define | PRIdHID PRId64 |
#define | PRIxHID PRIx64 |
#define | PRIXHID PRIX64 |
#define | PRIoHID PRIo64 |
#define | H5_SIZEOF_HID_T H5_SIZEOF_INT64_T |
#define | H5I_INVALID_HID (-1) |
Typedefs | |
typedef int64_t | hid_t |
typedef herr_t(* | H5I_free_t) (void *obj, void **request) |
typedef int(* | H5I_search_func_t) (void *obj, hid_t id, void *key) |
typedef herr_t(* | H5I_iterate_func_t) (hid_t id, void *udata) |
Enumerations | |
enum | H5I_type_t { H5I_UNINIT = (-2) , H5I_BADID = (-1) , H5I_FILE = 1 , H5I_GROUP , H5I_DATATYPE , H5I_DATASPACE , H5I_DATASET , H5I_MAP , H5I_ATTR , H5I_VFL , H5I_VOL , H5I_GENPROP_CLS , H5I_GENPROP_LST , H5I_ERROR_CLASS , H5I_ERROR_MSG , H5I_ERROR_STACK , H5I_SPACE_SEL_ITER , H5I_EVENTSET , H5I_NTYPES } |
Functions | |
hid_t | H5Iregister (H5I_type_t type, const void *object) |
Registers an object under a type and returns an ID for it. More... | |
void * | H5Iobject_verify (hid_t id, H5I_type_t type) |
Returns the object referenced by an ID. More... | |
void * | H5Iremove_verify (hid_t id, H5I_type_t type) |
Removes an ID from its type. More... | |
H5I_type_t | H5Iget_type (hid_t id) |
Retrieves the type of an object. More... | |
hid_t | H5Iget_file_id (hid_t id) |
Retrieves an identifier for the file containing the specified object. More... | |
ssize_t | H5Iget_name (hid_t id, char *name, size_t size) |
Retrieves a name of an object based on the object identifier. More... | |
int | H5Iinc_ref (hid_t id) |
Increments the reference count for an object. More... | |
int | H5Idec_ref (hid_t id) |
Decrements the reference count for an object. More... | |
int | H5Iget_ref (hid_t id) |
Retrieves the reference count for an object. More... | |
H5I_type_t | H5Iregister_type (size_t hash_size, unsigned reserved, H5I_free_t free_func) |
Creates and returns a new ID type. More... | |
herr_t | H5Iclear_type (H5I_type_t type, hbool_t force) |
Deletes all identifiers of the given type. More... | |
herr_t | H5Idestroy_type (H5I_type_t type) |
Removes an identifier type and all identifiers within that type. More... | |
int | H5Iinc_type_ref (H5I_type_t type) |
Increments the reference count on an ID type. More... | |
int | H5Idec_type_ref (H5I_type_t type) |
Decrements the reference count on an identifier type. More... | |
int | H5Iget_type_ref (H5I_type_t type) |
Retrieves the reference count on an ID type. More... | |
void * | H5Isearch (H5I_type_t type, H5I_search_func_t func, void *key) |
Finds the memory referred to by an ID within the given ID type such that some criterion is satisfied. More... | |
herr_t | H5Iiterate (H5I_type_t type, H5I_iterate_func_t op, void *op_data) |
Calls a callback for each member of the identifier type specified. More... | |
herr_t | H5Inmembers (H5I_type_t type, hsize_t *num_members) |
Returns the number of identifiers in a given identifier type. More... | |
htri_t | H5Itype_exists (H5I_type_t type) |
Determines whether an identifier type is registered. More... | |
htri_t | H5Iis_valid (hid_t id) |
Determines whether an identifier is valid. More... | |
#define H5_SIZEOF_HID_T H5_SIZEOF_INT64_T |
The size of identifiers
#define H5I_INVALID_HID (-1) |
An invalid object ID. This is also negative for error return.
#define PRIdHID PRId64 |
#define PRIoHID PRIo64 |
#define PRIxHID PRIx64 |
#define PRIXHID PRIX64 |
typedef herr_t(* H5I_free_t) (void *obj, void **request) |
A function for freeing objects. This function will be called with a pointer to the object and a pointer to a pointer to the asynchronous request object. The function should free the object and return non-negative to indicate that the object can be removed from the ID type. If the function returns negative (failure) then the object will remain in the ID type. For asynchronous operations and handling the request parameter, see the HDF5 user guide and VOL connector author guide.
The type of H5Iiterate() callback functions
typedef int(* H5I_search_func_t) (void *obj, hid_t id, void *key) |
The type of a function to compare objects & keys
typedef int64_t hid_t |
Type of IDs to return to users
enum H5I_type_t |
Library type values.