Please, help us to better serve our user community by answering the following short survey: https://www.hdfgroup.org/website-survey/
HDF5 1.14.6.08405a5
API Reference
Loading...
Searching...
No Matches

Detailed Description

Data Structures

struct  H5VL_class_t
 

Functions

hid_t H5VLregister_connector (const H5VL_class_t *cls, hid_t vipl_id)
 Registers a new VOL connector.
 
void * H5VLobject (hid_t obj_id)
 
hid_t H5VLget_file_type (void *file_obj, hid_t connector_id, hid_t dtype_id)
 
hid_t H5VLpeek_connector_id_by_name (const char *name)
 
hid_t H5VLpeek_connector_id_by_value (H5VL_class_value_t value)
 

Function Documentation

◆ H5VLget_file_type()

hid_t H5VLget_file_type ( void *  file_obj,
hid_t  connector_id,
hid_t  dtype_id 
)

◆ H5VLobject()

void * H5VLobject ( hid_t  obj_id)

◆ H5VLpeek_connector_id_by_name()

hid_t H5VLpeek_connector_id_by_name ( const char *  name)

◆ H5VLpeek_connector_id_by_value()

hid_t H5VLpeek_connector_id_by_value ( H5VL_class_value_t  value)

◆ H5VLregister_connector()

hid_t H5VLregister_connector ( const H5VL_class_t cls,
hid_t  vipl_id 
)

Registers a new VOL connector.

Parameters
[in]clsA pointer to the plugin structure to register
[in]vipl_idVOL initialization property list identifier
Returns
Returns a VOL connector identifier if successful; otherwise returns H5I_INVALID_HID.

H5VLregister_connector() registers a new VOL connector as a member of the virtual object layer class. This VOL connector identifier is good until the library is closed or the connector is unregistered.

vipl_id is either H5P_DEFAULT or the identifier of a VOL initialization property list of class H5P_VOL_INITIALIZE created with H5Pcreate(). When created, this property list contains no library properties. If a VOL connector author decides that initialization-specific data are needed, they can be added to the empty list and retrieved by the connector in the VOL connector's initialize callback. Use of the VOL initialization property list is uncommon, as most VOL-specific properties are added to the file access property list via the connector's API calls which set the VOL connector for the file open/create. For more information, see the VOL documentation.

H5VL_class_t is defined in H5VLconnector.h in the source code. It contains class information for each VOL connector:

typedef struct H5VL_class_t {
/* Overall connector fields & callbacks */
unsigned version;
const char *name;
unsigned conn_version;
uint64_t cap_flags;
herr_t (*initialize)(hid_t vipl_id);
herr_t (*terminate)(void);
/* VOL framework */
/* Data Model */
/* Infrastructure / Services */
/* Catch-all */
herr_t (*optional)(void *obj, H5VL_optional_args_t *args, hid_t dxpl_id,
void **req);
int64_t hid_t
Definition H5Ipublic.h:60
int herr_t
Definition H5public.h:239
int H5VL_class_value_t
VOL connector identifiers.
Definition H5VLpublic.h:144
Definition H5VLconnector.h:871
Definition H5VLconnector.h:1001
Definition H5VLconnector.h:1020
herr_t(* initialize)(hid_t vipl_id)
Definition H5VLconnector.h:1027
unsigned version
Definition H5VLconnector.h:1022
H5VL_dataset_class_t dataset_cls
Definition H5VLconnector.h:1036
H5VL_link_class_t link_cls
Definition H5VLconnector.h:1040
herr_t(* terminate)(void)
Definition H5VLconnector.h:1028
H5VL_class_value_t value
Definition H5VLconnector.h:1023
H5VL_datatype_class_t datatype_cls
Definition H5VLconnector.h:1037
herr_t(* optional)(void *obj, H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
Definition H5VLconnector.h:1050
unsigned conn_version
Definition H5VLconnector.h:1025
H5VL_group_class_t group_cls
Definition H5VLconnector.h:1039
H5VL_wrap_class_t wrap_cls
Definition H5VLconnector.h:1032
const char * name
Definition H5VLconnector.h:1024
H5VL_file_class_t file_cls
Definition H5VLconnector.h:1038
uint64_t cap_flags
Definition H5VLconnector.h:1026
H5VL_token_class_t token_cls
Definition H5VLconnector.h:1047
H5VL_request_class_t request_cls
Definition H5VLconnector.h:1045
H5VL_attr_class_t attr_cls
Definition H5VLconnector.h:1035
H5VL_object_class_t object_cls
Definition H5VLconnector.h:1041
H5VL_blob_class_t blob_cls
Definition H5VLconnector.h:1046
H5VL_info_class_t info_cls
Definition H5VLconnector.h:1031
H5VL_introspect_class_t introspect_cls
Definition H5VLconnector.h:1044
Definition H5VLconnector.h:886
Definition H5VLconnector.h:902
Definition H5VLconnector.h:914
Definition H5VLconnector.h:925
Definition H5VLconnector.h:845
Definition H5VLconnector.h:984
Definition H5VLconnector.h:955
Definition H5VLconnector.h:94
Definition H5VLconnector.h:991
Definition H5VLconnector.h:1009
Definition H5VLconnector.h:858
Since
1.12.0