Please, help us to better serve our user community by answering the following short survey: https://www.hdfgroup.org/website-survey/
HDF5  1.15.0.f39b228
API Reference
Fortran Identifier (H5I) Interface

Detailed Description

See also
Identifiers (H5I), C-API
The HDF5 Identifiers, User Guide

Functions/Subroutines

subroutine h5iget_type_f (obj_id, TYPE, hdferr)
 Retrieves the type of an object. More...
 
subroutine h5iget_name_f (obj_id, buf, buf_size, name_size, hdferr)
 Gets a name of an object specified by its identifier. More...
 
subroutine h5iinc_ref_f (obj_id, ref_count, hdferr)
 Increments the reference count of an ID. More...
 
subroutine h5idec_ref_f (obj_id, ref_count, hdferr)
 Decrements the reference count of an ID. More...
 
subroutine h5iget_ref_f (obj_id, ref_count, hdferr)
 Retrieves the reference count of an ID. More...
 
subroutine h5iget_file_id_f (obj_id, file_id, hdferr)
 Obtains file identifier from the object identifier. More...
 
subroutine h5iis_valid_f (id, valid, hdferr)
 Check if an ID is valid without producing an error message. More...
 

Variables

integer h5i_file_f
 H5I_FILE. More...
 
integer h5i_group_f
 H5I_GROUP. More...
 
integer h5i_datatype_f
 H5I_DATATYPE. More...
 
integer h5i_dataspace_f
 H5I_DATASPACE. More...
 
integer h5i_dataset_f
 H5I_DATASET. More...
 
integer h5i_attr_f
 H5I_ATTR. More...
 
integer h5i_badid_f
 H5I_BADID. More...
 
integer h5i_uninit_f
 H5I_UNINIT. More...
 
integer h5i_vfl_f
 H5I_VFL. More...
 
integer h5i_vol_f
 H5I_VOL. More...
 
integer h5i_genprop_cls_f
 H5I_GENPROP_CLS. More...
 
integer h5i_genprop_lst_f
 H5I_GENPROP_LST. More...
 
integer h5i_error_class_f
 H5I_ERROR_CLASS. More...
 
integer h5i_error_msg_f
 H5I_ERROR_MSG. More...
 
integer h5i_error_stack_f
 H5I_ERROR_STACK. More...
 
integer h5i_ntypes_f
 H5I_NTYPES. More...
 
integer h5i_invalid_hid_f
 H5I_INVALID_HID. More...
 

Function/Subroutine Documentation

◆ h5idec_ref_f()

subroutine h5i::h5idec_ref_f ( integer(hid_t), intent(in)  obj_id,
integer, intent(out)  ref_count,
integer, intent(out)  hdferr 
)

Decrements the reference count of an ID.

Parameters
obj_idObject identifier.
ref_countCurrent reference count of the ID.
hdferrReturns 0 if successful and -1 if it fails.

See C API: H5Idec_ref()

◆ h5iget_file_id_f()

subroutine h5i::h5iget_file_id_f ( integer(hid_t), intent(in)  obj_id,
integer(hid_t), intent(out)  file_id,
integer, intent(out)  hdferr 
)

Obtains file identifier from the object identifier.

Parameters
obj_idObject identifier.
file_idFile identifier.
hdferrReturns 0 if successful and -1 if it fails.

See C API: H5Iget_file_id()

◆ h5iget_name_f()

subroutine h5i::h5iget_name_f ( integer(hid_t), intent(in)  obj_id,
character(len=*), intent(out)  buf,
integer(size_t), intent(in)  buf_size,
integer(size_t), intent(out)  name_size,
integer, intent(out)  hdferr 
)

Gets a name of an object specified by its identifier.

Parameters
obj_idAttribute identifier.
buf_sizeSize of a buffer to read name in.
bufBuffer to read name in, name will be truncated if buffer is not big enough.
name_sizeName size.
hdferrReturns 0 if successful and -1 if it fails.

See C API: H5Iget_name()

◆ h5iget_ref_f()

subroutine h5i::h5iget_ref_f ( integer(hid_t), intent(in)  obj_id,
integer, intent(out)  ref_count,
integer, intent(out)  hdferr 
)

Retrieves the reference count of an ID.

Parameters
obj_idObject identifier.
ref_countCurrent reference count of the ID.
hdferrReturns 0 if successful and -1 if it fails.

See C API: H5Iget_ref()

◆ h5iget_type_f()

subroutine h5i::h5iget_type_f ( integer(hid_t), intent(in)  obj_id,
integer, intent(out)  TYPE,
integer, intent(out)  hdferr 
)

Retrieves the type of an object.

Parameters
obj_idObject identifier.
typeType of the object, possible values:
  • H5I_FILE_F
  • H5I_GROUP_F
  • H5I_DATATYPE_F
  • H5I_DATASPACE_F
  • H5I_DATASET_F
  • H5I_ATTR_F
  • H5I_BADID_F
hdferrReturns 0 if successful and -1 if it fails.

See C API: H5Iget_type()

◆ h5iinc_ref_f()

subroutine h5i::h5iinc_ref_f ( integer(hid_t), intent(in)  obj_id,
integer, intent(out)  ref_count,
integer, intent(out)  hdferr 
)

Increments the reference count of an ID.

Parameters
obj_idObject identifier.
ref_countCurrent reference count of the ID.
hdferrReturns 0 if successful and -1 if it fails.

See C API: H5Iinc_ref()

◆ h5iis_valid_f()

subroutine h5i::h5iis_valid_f ( integer(hid_t), intent(in)  id,
logical, intent(out)  valid,
integer, intent(out)  hdferr 
)

Check if an ID is valid without producing an error message.

Parameters
idIdentifier.
validStatus of id as a valid identifier.
hdferrReturns 0 if successful and -1 if it fails.

See C API: H5Iis_valid()

Variable Documentation

◆ h5i_attr_f

integer h5i_attr_f

H5I_ATTR.

◆ h5i_badid_f

integer h5i_badid_f

H5I_BADID.

◆ h5i_dataset_f

integer h5i_dataset_f

H5I_DATASET.

◆ h5i_dataspace_f

integer h5i_dataspace_f

H5I_DATASPACE.

◆ h5i_datatype_f

integer h5i_datatype_f

H5I_DATATYPE.

◆ h5i_error_class_f

integer h5i_error_class_f

H5I_ERROR_CLASS.

◆ h5i_error_msg_f

integer h5i_error_msg_f

H5I_ERROR_MSG.

◆ h5i_error_stack_f

integer h5i_error_stack_f

H5I_ERROR_STACK.

◆ h5i_file_f

integer h5i_file_f

H5I_FILE.

◆ h5i_genprop_cls_f

integer h5i_genprop_cls_f

H5I_GENPROP_CLS.

◆ h5i_genprop_lst_f

integer h5i_genprop_lst_f

H5I_GENPROP_LST.

◆ h5i_group_f

integer h5i_group_f

H5I_GROUP.

◆ h5i_invalid_hid_f

integer h5i_invalid_hid_f

H5I_INVALID_HID.

◆ h5i_ntypes_f

integer h5i_ntypes_f

H5I_NTYPES.

◆ h5i_uninit_f

integer h5i_uninit_f

H5I_UNINIT.

◆ h5i_vfl_f

integer h5i_vfl_f

H5I_VFL.

◆ h5i_vol_f

integer h5i_vol_f

H5I_VOL.