Please, help us to better serve our user community by answering the following short survey: https://www.hdfgroup.org/website-survey/
HDF5  1.14.4.3
API Reference
 
Loading...
Searching...
No Matches
Fortran Link (H5L) Interface

Detailed Description

See also
Links (H5L), C-API
The HDF5 Links, User Guide

Modules

module  h5l
 This module contains Fortran interfaces for H5L functions.
 

Functions/Subroutines

subroutine h5lcopy_f (src_loc_id, src_name, dest_loc_id, dest_name, hdferr, lcpl_id, lapl_id)
 Copies a link from one location to another.
 
subroutine h5ldelete_f (loc_id, name, hdferr, lapl_id)
 Removes a link from a group.
 
subroutine h5ldelete_async_f (loc_id, name, es_id, hdferr, lapl_id, file, func, line)
 Asynchronously removes a link from a group.
 
subroutine h5lcreate_soft_f (target_path, link_loc_id, link_name, hdferr, lcpl_id, lapl_id)
 Creates a soft link to an object.
 
subroutine h5lcreate_soft_async_f (target_path, link_loc_id, link_name, es_id, hdferr, lcpl_id, lapl_id, file, func, line)
 Asynchronously creates a soft link to an object.
 
subroutine h5lcreate_hard_f (obj_loc_id, obj_name, link_loc_id, link_name, hdferr, lcpl_id, lapl_id)
 Creates a hard link to an object.
 
subroutine h5lcreate_hard_async_f (obj_loc_id, obj_name, link_loc_id, link_name, es_id, hdferr, lcpl_id, lapl_id, file, func, line)
 Asynchronously creates a hard link to an object.
 
subroutine h5lcreate_external_f (file_name, obj_name, link_loc_id, link_name, hdferr, lcpl_id, lapl_id)
 Creates a soft link to an object in a different file.
 
subroutine h5ldelete_by_idx_f (loc_id, group_name, index_field, order, n, hdferr, lapl_id)
 Removes the nth link in a group.
 
subroutine h5ldelete_by_idx_async_f (loc_id, group_name, index_field, order, n, es_id, hdferr, lapl_id, file, func, line)
 Asynchronously removes the nth link in a group.
 
subroutine h5lexists_f (loc_id, name, link_exists, hdferr, lapl_id)
 Check if a link with a particular name exists in a group.
 
subroutine h5lexists_async_f (loc_id, name, link_exists, es_id, hdferr, lapl_id, file, func, line)
 Asynchronously checks if a link with a particular name exists in a group.
 
subroutine h5lget_info_f (link_loc_id, link_name, cset, corder, f_corder_valid, link_type, token, val_size, hdferr, lapl_id)
 Returns information about a link.
 
subroutine h5lget_info_by_idx_f (loc_id, group_name, index_field, order, n, link_type, f_corder_valid, corder, cset, token, val_size, hdferr, lapl_id)
 Retrieves metadata for a link in a group, according to the order within a field or index.
 
subroutine h5lis_registered_f (link_cls_id, registered, hdferr)
 Determines whether a class of user-defined links is registered.
 
subroutine h5lmove_f (src_loc_id, src_name, dest_loc_id, dest_name, hdferr, lcpl_id, lapl_id)
 Renames a link within an HDF5 file.
 
subroutine h5lget_name_by_idx_f (loc_id, group_name, index_field, order, n, name, hdferr, size, lapl_id)
 Retrieves name of the nth link in a group, according to the order within a specified field or index.
 
subroutine h5literate_f (group_id, idx_type, order, idx, op, op_data, return_value, hdferr)
 $ SUBROUTINE h5lget_val_by_idx_f(loc_id, group_name, index_field, order, n, & $ f_corder_valid, corder, cset, data_size, hdferr, lapl_id) $ IMPLICIT NONE
 
subroutine h5literate_async_f (group_id, idx_type, order, idx, op, op_data, return_value, es_id, hdferr, file, func, line)
 Asynchronously iterates through links in a group.
 
subroutine h5literate_by_name_f (loc_id, group_name, index_type, order, idx, op, op_data, return_value, hdferr, lapl_id)
 Iterates through links in a group.
 
subroutine h5lvisit_f (grp_id, idx_type, order, op, op_data, return_value, hdferr)
 Recursively visits all links starting from a specified group.
 
subroutine h5lvisit_by_name_f (loc_id, group_name, idx_type, order, op, op_data, return_value, hdferr, lapl_id)
 Recursively visits all links starting from a specified group.
 

Variables

integer h5l_type_error_f
 H5L_TYPE_ERROR.
 
integer h5l_type_hard_f
 H5L_TYPE_HARD.
 
integer h5l_type_soft_f
 H5L_TYPE_SOFT.
 
integer h5l_type_external_f
 H5L_TYPE_EXTERNAL.
 
integer h5l_same_loc_f
 H5L_SAME_LOC.
 
integer h5l_link_class_t_vers_f
 H5L_LINK_CLASS_T_VERS.
 

Function/Subroutine Documentation

◆ h5lcopy_f()

subroutine h5lcopy_f ( integer(hid_t), intent(in)  src_loc_id,
character(len=*), intent(in)  src_name,
integer(hid_t), intent(in)  dest_loc_id,
character(len=*), intent(in)  dest_name,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lcpl_id,
integer(hid_t), intent(in), optional  lapl_id 
)

Copies a link from one location to another.

Parameters
src_loc_idLocation identifier. The identifier may be that of a file, group, dataset, or named datatype.
src_nameName of the link to be copied.
dest_loc_idLocation identifier. The identifier may be that of a file, group, dataset, or named datatype.
dest_nameName to be assigned to the new copy.
hdferrReturns 0 if successful and -1 if it fails.
lcpl_idLink creation property list identifier.
lapl_idLink access property list identifier.

See C API: H5Lcopy()

◆ h5lcreate_external_f()

subroutine h5lcreate_external_f ( character(len=*), intent(in)  file_name,
character(len=*), intent(in)  obj_name,
integer(hid_t), intent(in)  link_loc_id,
character(len=*), intent(in)  link_name,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lcpl_id,
integer(hid_t), intent(in), optional  lapl_id 
)

Creates a soft link to an object in a different file.

Parameters
file_nameName of the file containing the target object. Neither the file nor the target object is required to exist. May be the file the link is being created in.
obj_namePath within the target file to the target object.
link_loc_idThe file or group identifier for the new link.
link_nameThe name of the new link.
hdferrReturns 0 if successful and -1 if it fails.
lcpl_idLink creation property list identifier.
lapl_idLink access property list identifier.

See C API: H5Lcreate_external()

◆ h5lcreate_hard_async_f()

subroutine h5lcreate_hard_async_f ( integer(hid_t), intent(in)  obj_loc_id,
character(len=*), intent(in)  obj_name,
integer(hid_t), intent(in)  link_loc_id,
character(len=*), intent(in)  link_name,
integer(hid_t), intent(in)  es_id,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lcpl_id,
integer(hid_t), intent(in), optional  lapl_id,
type(c_ptr), intent(in), optional  file,
type(c_ptr), intent(in), optional  func,
integer, intent(in), optional  line 
)

Asynchronously creates a hard link to an object.

Parameters
obj_loc_idThe file or group identifier for the target object.
obj_nameName of the target object, which must already exist.
link_loc_idThe file or group identifier for the new link.
link_nameThe name of the new link.
es_idEvent set identifier
hdferrReturns 0 if successful and -1 if it fails.
lcpl_idLink creation property list identifier.
lapl_idLink access property list identifier.
filePointer to filename the async subroutine is being called from, filename must be null character terminated
funcPointer to function name the async subroutine is being called in, func must be null character terminated
lineLine number the async subroutine is being called at

See C API: H5Lcreate_hard_async()

◆ h5lcreate_hard_f()

subroutine h5lcreate_hard_f ( integer(hid_t), intent(in)  obj_loc_id,
character(len=*), intent(in)  obj_name,
integer(hid_t), intent(in)  link_loc_id,
character(len=*), intent(in)  link_name,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lcpl_id,
integer(hid_t), intent(in), optional  lapl_id 
)

Creates a hard link to an object.

Parameters
obj_loc_idThe file or group identifier for the target object.
obj_nameName of the target object, which must already exist.
link_loc_idThe file or group identifier for the new link.
link_nameThe name of the new link.
hdferrReturns 0 if successful and -1 if it fails.
lcpl_idLink creation property list identifier.
lapl_idLink access property list identifier.

See C API: H5Lcreate_hard()

◆ h5lcreate_soft_async_f()

subroutine h5lcreate_soft_async_f ( character(len=*), intent(in)  target_path,
integer(hid_t), intent(in)  link_loc_id,
character(len=*), intent(in)  link_name,
integer(hid_t), intent(in)  es_id,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lcpl_id,
integer(hid_t), intent(in), optional  lapl_id,
type(c_ptr), intent(in), optional  file,
type(c_ptr), intent(in), optional  func,
integer, intent(in), optional  line 
)

Asynchronously creates a soft link to an object.

Parameters
target_pathPath to the target object, which is not required to exist.
link_loc_idThe file or group identifier for the new link.
link_nameThe name of the new link.
es_idEvent set identifier
hdferrReturns 0 if successful and -1 if it fails.
lcpl_idLink creation property list identifier.
lapl_idLink access property list identifier.
filePointer to filename the async subroutine is being called from, filename must be null character terminated
funcPointer to function name the async subroutine is being called in, func must be null character terminated
lineLine number the async subroutine is being called at

See C API: H5Lcreate_soft_async()

◆ h5lcreate_soft_f()

subroutine h5lcreate_soft_f ( character(len=*), intent(in)  target_path,
integer(hid_t), intent(in)  link_loc_id,
character(len=*), intent(in)  link_name,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lcpl_id,
integer(hid_t), intent(in), optional  lapl_id 
)

Creates a soft link to an object.

Parameters
target_pathPath to the target object, which is not required to exist.
link_loc_idThe file or group identifier for the new link.
link_nameThe name of the new link.
hdferrReturns 0 if successful and -1 if it fails.
lcpl_idLink creation property list identifier.
lapl_idLink access property list identifier.

See C API: H5Lcreate_soft()

◆ h5ldelete_async_f()

subroutine h5ldelete_async_f ( integer(hid_t), intent(in)  loc_id,
character(len=*), intent(in)  name,
integer(hid_t), intent(in)  es_id,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lapl_id,
type(c_ptr), intent(in), optional  file,
type(c_ptr), intent(in), optional  func,
integer, intent(in), optional  line 
)

Asynchronously removes a link from a group.

Parameters
loc_idIdentifier of the file or group containing the object.
nameName of the link to delete.
es_idEvent set identifier
hdferrReturns 0 if successful and -1 if it fails.
lapl_idLink access property list identifier.
filePointer to filename the async subroutine is being called from, filename must be null character terminated
funcPointer to function name the async subroutine is being called in, func must be null character terminated
lineLine number the async subroutine is being called at

See C API: H5Ldelete_async()

◆ h5ldelete_by_idx_async_f()

subroutine h5ldelete_by_idx_async_f ( integer(hid_t), intent(in)  loc_id,
character(len=*), intent(in)  group_name,
integer, intent(in)  index_field,
integer, intent(in)  order,
integer(hsize_t), intent(in)  n,
integer(hid_t), intent(in)  es_id,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lapl_id,
type(c_ptr), intent(in), optional  file,
type(c_ptr), intent(in), optional  func,
integer, intent(in), optional  line 
)

Asynchronously removes the nth link in a group.

Parameters
loc_idFile or group identifier specifying location of subject group.
group_nameName of subject group.
index_fieldType of index; Possible values are:
  • H5_INDEX_UNKNOWN_F = -1 - Unknown index type
  • H5_INDEX_NAME_F - Index on names
  • H5_INDEX_CRT_ORDER_F - Index on creation order
  • H5_INDEX_N_F - Number of indices defined
orderOrder within field or index; Possible values are:
  • H5_ITER_UNKNOWN_F - Unknown order
  • H5_ITER_INC_F - Increasing order
  • H5_ITER_DEC_F - Decreasing order
  • H5_ITER_NATIVE_F - No particular order, whatever is fastest
  • H5_ITER_N_F - Number of iteration orders
nLink for which to retrieve information.
es_idEvent set identifier
hdferrReturns 0 if successful and -1 if it fails.
lapl_idLink access property list.
filePointer to filename the async subroutine is being called from, filename must be null character terminated
funcPointer to function name the async subroutine is being called in, func must be null character terminated
lineLine number the async subroutine is being called at

See C API: H5Ldelete_by_idx_async()

◆ h5ldelete_by_idx_f()

subroutine h5ldelete_by_idx_f ( integer(hid_t), intent(in)  loc_id,
character(len=*), intent(in)  group_name,
integer, intent(in)  index_field,
integer, intent(in)  order,
integer(hsize_t), intent(in)  n,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lapl_id 
)

Removes the nth link in a group.

Parameters
loc_idFile or group identifier specifying location of subject group.
group_nameName of subject group.
index_fieldType of index; Possible values are:
  • H5_INDEX_UNKNOWN_F = -1 - Unknown index type
  • H5_INDEX_NAME_F - Index on names
  • H5_INDEX_CRT_ORDER_F - Index on creation order
  • H5_INDEX_N_F - Number of indices defined
orderOrder within field or index; Possible values are:
  • H5_ITER_UNKNOWN_F - Unknown order
  • H5_ITER_INC_F - Increasing order
  • H5_ITER_DEC_F - Decreasing order
  • H5_ITER_NATIVE_F - No particular order, whatever is fastest
  • H5_ITER_N_F - Number of iteration orders
nLink for which to retrieve information.
hdferrReturns 0 if successful and -1 if it fails.
lapl_idLink access property list.

See C API: H5Ldelete_by_idx()

◆ h5ldelete_f()

subroutine h5ldelete_f ( integer(hid_t), intent(in)  loc_id,
character(len=*), intent(in)  name,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lapl_id 
)

Removes a link from a group.

Parameters
loc_idIdentifier of the file or group containing the object.
nameName of the link to delete.
hdferrReturns 0 if successful and -1 if it fails.
lapl_idLink access property list identifier.

See C API: H5Ldelete()

◆ h5lexists_async_f()

subroutine h5lexists_async_f ( integer(hid_t), intent(in)  loc_id,
character(len=*), intent(in)  name,
type(c_ptr), intent(in)  link_exists,
integer(hid_t), intent(in)  es_id,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lapl_id,
type(c_ptr), intent(in), optional  file,
type(c_ptr), intent(in), optional  func,
integer, intent(in), optional  line 
)

Asynchronously checks if a link with a particular name exists in a group.

Parameters
loc_idIdentifier of the file or group to query.
nameLink name to check.
link_existsPointer to link exists status. It should be declared INTEGER(C_INT) and initialized to zero (false) for portability. It will return one when true. LOGICAL(C_BOOL) is also acceptable but may encounter atypical anomalies. It should be initialized to false when used.
es_idEvent set identifier
hdferrReturns 0 if successful and -1 if it fails.
lapl_idLink access property list identifier.
filePointer to filename the async subroutine is being called from, filename must be null character terminated
funcPointer to function name the async subroutine is being called in, func must be null character terminated
lineLine number the async subroutine is being called at

See C API: H5Lexists_async()

◆ h5lexists_f()

subroutine h5lexists_f ( integer(hid_t), intent(in)  loc_id,
character(len=*), intent(in)  name,
logical, intent(out)  link_exists,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lapl_id 
)

Check if a link with a particular name exists in a group.

Parameters
loc_idIdentifier of the file or group to query.
nameLink name to check.
link_existsLink exists status (.TRUE.,.FALSE.).
hdferrReturns 0 if successful and -1 if it fails.
lapl_idLink access property list identifier.

See C API: H5Lexists()

◆ h5lget_info_by_idx_f()

subroutine h5lget_info_by_idx_f ( integer(hid_t), intent(in)  loc_id,
character(len=*), intent(in)  group_name,
integer, intent(in)  index_field,
integer, intent(in)  order,
integer(hsize_t), intent(in)  n,
integer, intent(out)  link_type,
logical, intent(out)  f_corder_valid,
integer, intent(out)  corder,
integer, intent(out)  cset,
type(h5o_token_t_f), intent(out), target  token,
integer(size_t), intent(out)  val_size,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lapl_id 
)

Retrieves metadata for a link in a group, according to the order within a field or index.

Parameters
loc_idFile or group identifier specifying location of subject group.
group_nameName of subject group.
index_fieldIndex or field which determines the order:
  • H5_INDEX_UNKNOWN_F = -1 - Unknown index type
  • H5_INDEX_NAME_F - Index on names
  • H5_INDEX_CRT_ORDER_F - Index on creation order
  • H5_INDEX_N_F - Number of indices defined
orderOrder within field or index:
  • H5_ITER_UNKNOWN_F - Unknown order
  • H5_ITER_INC_F - Increasing order
  • H5_ITER_DEC_F - Decreasing order
  • H5_ITER_NATIVE_F - No particular order, whatever is fastest
  • H5_ITER_N_F - Number of iteration orders
nLink for which to retrieve information. NOTE: In C these are defined as a structure: H5L_info_t
link_typeSpecifies the link class:
  • H5L_TYPE_HARD_F - Hard link
  • H5L_TYPE_SOFT_F - Soft link
  • H5L_TYPE_EXTERNAL_F - External link
  • H5L_TYPE_ERROR _F - Error
f_corder_validIndicates whether the creation order data is valid for this attribute.
corderIs a positive integer containing the creation order of the attribute.
csetIndicates the character set used for the attribute's name.
tokenIf the link is a hard link, token specifies the object token that the link points to.
val_sizeIf the link is a symbolic link, val_size will be the length of the link value, e.g., the length of the name of the pointed-to object with a null terminator.
hdferrReturns 0 if successful and -1 if it fails.
lapl_idLink access property list.

See C API: H5Lget_info_by_idx2()

◆ h5lget_info_f()

subroutine h5lget_info_f ( integer(hid_t), intent(in)  link_loc_id,
character(len=*), intent(in)  link_name,
integer, intent(out)  cset,
integer, intent(out)  corder,
logical, intent(out)  f_corder_valid,
integer, intent(out)  link_type,
type(h5o_token_t_f), intent(out), target  token,
integer(size_t), intent(out)  val_size,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lapl_id 
)

Returns information about a link.

Parameters
link_loc_idFile or group identifier.
link_nameName of the link for which information is being sought. NOTE: In C these are contained in the structure H5L_info_t
csetIndicates the character set used for link's name.
corderSpecifies the link's creation order position.
f_corder_validIndicates whether the value in corder is valid.
link_typeSpecifies the link class:
  • H5L_TYPE_HARD_F - Hard link
  • H5L_TYPE_SOFT_F - Soft link
  • H5L_TYPE_EXTERNAL_F - External link
  • H5L_TYPE_ERROR_ F - Error
tokenIf the link is a hard link, token specifies the object token that the link points to.
val_sizeIf the link is a symbolic link, val_size will be the length of the link value, e.g., the length of the name of the pointed-to object with a null terminator.
hdferrReturns 0 if successful and -1 if it fails.
lapl_idLink access property list.

See C API: H5Lget_info2()

◆ h5lget_name_by_idx_f()

subroutine h5lget_name_by_idx_f ( integer(hid_t), intent(in)  loc_id,
character(len=*), intent(in)  group_name,
integer, intent(in)  index_field,
integer, intent(in)  order,
integer(hsize_t), intent(in)  n,
character(len=*), intent(out)  name,
integer, intent(out)  hdferr,
integer(size_t), intent(out), optional  size,
integer(hid_t), intent(in), optional  lapl_id 
)

Retrieves name of the nth link in a group, according to the order within a specified field or index.

Parameters
loc_idFile or group identifier specifying location of subject group.
group_nameName of subject group.
index_fieldIndex or field which determines the order:
  • H5_INDEX_UNKNOWN_F = -1 - Unknown index type
  • H5_INDEX_NAME_F - Index on names
  • H5_INDEX_CRT_ORDER_F - Index on creation order
  • H5_INDEX_N_F - Number of indices defined
orderOrder within field or index:
  • H5_ITER_UNKNOWN_F - Unknown order
  • H5_ITER_INC_F - Increasing order
  • H5_ITER_DEC_F - Decreasing order
  • H5_ITER_NATIVE_F - No particular order, whatever is fastest
  • H5_ITER_N_F - Number of iteration orders
nLink for which to retrieve information.
nameBuffer in which link value is returned.
hdferrReturns 0 if successful and -1 if it fails.
lapl_idList access property list identifier.
sizeMaximum number of characters of link value to be returned.

See C API: H5Lget_name_by_idx()

◆ h5lis_registered_f()

subroutine h5lis_registered_f ( integer, intent(in)  link_cls_id,
logical, intent(out)  registered,
integer, intent(out)  hdferr 
)

Determines whether a class of user-defined links is registered.

Parameters
link_cls_idUser-defined link class identifier.
registered.TRUE. if the link class has been registered.
hdferrReturns 0 if successful and -1 if it fails.

See C API: H5Lis_registered()

◆ h5literate_async_f()

subroutine h5literate_async_f ( integer(hid_t), intent(in)  group_id,
integer, intent(in)  idx_type,
integer, intent(in)  order,
integer(hsize_t), intent(inout)  idx,
type(c_funptr), intent(in)  op,
type(c_ptr), intent(in)  op_data,
integer, intent(out)  return_value,
integer(hid_t), intent(in)  es_id,
integer, intent(out)  hdferr,
type(c_ptr), intent(in), optional  file,
type(c_ptr), intent(in), optional  func,
integer, intent(in), optional  line 
)

Asynchronously iterates through links in a group.

Parameters
group_idIdentifier specifying subject group.
idx_typeType of index which determines the order:
  • H5_INDEX_NAME_F - Alphanumeric index on name
  • H5_INDEX_CRT_ORDER_F - Index on creation order
orderOrder within index:
  • H5_ITER_INC_F - Increasing order
  • H5_ITER_DEC_F - Decreasing order
  • H5_ITER_NATIVE_F - Fastest available order
idxIteration position at which to start, or
Position at which an interrupted iteration may be restarted
opCallback function passing data regarding the link to the calling application.
op_dataUser-defined pointer to data required by the application for its processing of the link.
return_valueN/A
Warning
The returned value of the callback routine op will not be set in return_value for H5Literate_async_f(), so return_value should not be used for determining the return state of the callback routine.
Parameters
es_idEvent set identifier
hdferrReturns 0 if successful and -1 if it fails.
filePointer to filename the async subroutine is being called from, filename must be null character terminated
funcPointer to function name the async subroutine is being called in, func must be null character terminated
lineLine number the async subroutine is being called at

See C API: H5Literate_async()

◆ h5literate_by_name_f()

subroutine h5literate_by_name_f ( integer(hid_t), intent(in)  loc_id,
character(len=*), intent(in)  group_name,
integer, intent(in)  index_type,
integer, intent(in)  order,
integer(hsize_t), intent(inout)  idx,
type(c_funptr), intent(in)  op,
type(c_ptr), intent(in)  op_data,
integer, intent(out)  return_value,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lapl_id 
)

Iterates through links in a group.

Parameters
loc_idFile or group identifier specifying location of subject group.
group_nameName of subject group.
index_typeType of index which determines the order:
  • H5_INDEX_NAME_F - Alphanumeric index on name
  • H5_INDEX_CRT_ORDER_F - Index on creation order
orderOrder within index:
  • H5_ITER_INC_F - Increasing order
  • H5_ITER_DEC_F - Decreasing order
  • H5_ITER_NATIVE_F - Fastest available order
idxIteration position at which to start, or
Position at which an interrupted iteration may be restarted
opCallback function passing data regarding the link to the calling application.
op_dataUser-defined pointer to data required by the application for its processing of the link.
return_valueReturn context:
  • Success: The return value of the first operator that returns non-zero, or zero if all members were processed with no operator returning non-zero.
  • Failure: Negative if something goes wrong within the library, or the negative value returned by one of the operators.
hdferrReturns 0 if successful and -1 if it fails.
lapl_idLink access property list

See C API: H5Literate_by_name2()

◆ h5literate_f()

subroutine h5literate_f ( integer(hid_t), intent(in)  group_id,
integer, intent(in)  idx_type,
integer, intent(in)  order,
integer(hsize_t), intent(inout)  idx,
type(c_funptr), intent(in)  op,
type(c_ptr), intent(in)  op_data,
integer, intent(out)  return_value,
integer, intent(out)  hdferr 
)

$ SUBROUTINE h5lget_val_by_idx_f(loc_id, group_name, index_field, order, n, & $ f_corder_valid, corder, cset, data_size, hdferr, lapl_id) $ IMPLICIT NONE

$ SUBROUTINE h5lget_val_f(link_loc_id, link_name, size, linkval_buff, & $ hdferr, lapl_id) $ IMPLICIT NONE $ SUBROUTINE H5Lregistered_f(version, class_id, comment, create_func, & $ move_func, copy_func, trav_func, del_func, query_func, hdferr) $ IMPLICIT NONE

Iterates through links in a group.

Parameters
group_idIdentifier specifying subject group.
idx_typeType of index which determines the order:
  • H5_INDEX_NAME_F - Alphanumeric index on name
  • H5_INDEX_CRT_ORDER_F - Index on creation order
orderOrder within index:
  • H5_ITER_INC_F - Increasing order
  • H5_ITER_DEC_F - Decreasing order
  • H5_ITER_NATIVE_F - Fastest available order
idxIteration position at which to start, or
Position at which an interrupted iteration may be restarted
opCallback function passing data regarding the link to the calling application.
op_dataUser-defined pointer to data required by the application for its processing of the link.
return_valueReturn context:
  • Success: The return value of the first operator that returns non-zero, or zero if all members were processed with no operator returning non-zero.
  • Failure: Negative if something goes wrong within the library, or the negative value returned by one of the operators.
hdferrReturns 0 if successful and -1 if it fails.

See C API: H5Literate2()

◆ h5lmove_f()

subroutine h5lmove_f ( integer(hid_t), intent(in)  src_loc_id,
character(len=*), intent(in)  src_name,
integer(hid_t), intent(in)  dest_loc_id,
character(len=*), intent(in)  dest_name,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lcpl_id,
integer(hid_t), intent(in), optional  lapl_id 
)

Renames a link within an HDF5 file.

Parameters
src_loc_idOriginal file or group identifier.
src_nameOriginal link name.
dest_loc_idDestination file or group identifier.
dest_nameNEW link name.
hdferrReturns 0 if successful and -1 if it fails.
lcpl_idLink creation property list identifier to be associated WITH the NEW link.
lapl_idLink access property list identifier to be associated WITH the NEW link.

See C API: H5Lmove()

◆ h5lvisit_by_name_f()

subroutine h5lvisit_by_name_f ( integer(hid_t), intent(in)  loc_id,
character(len=*), intent(in)  group_name,
integer, intent(in)  idx_type,
integer, intent(in)  order,
type(c_funptr), intent(in)  op,
type(c_ptr), intent(inout)  op_data,
integer, intent(out)  return_value,
integer, intent(out)  hdferr,
integer(hid_t), intent(in), optional  lapl_id 
)

Recursively visits all links starting from a specified group.

Parameters
loc_idLocation identifier
group_nameGroup name
idx_typeIndex type
orderIteration order
opCallback function
op_dataUser-defined callback function context
return_valueThe return value of the first operator that returns non-zero, or zero if all members were processed with no operator returning non-zero.
hdferrReturns 0 if successful and -1 if it fails.
lapl_idLink access property list

See C API: H5Lvisit_by_name2()

◆ h5lvisit_f()

subroutine h5lvisit_f ( integer(hid_t), intent(in)  grp_id,
integer, intent(in)  idx_type,
integer, intent(in)  order,
type(c_funptr), intent(in)  op,
type(c_ptr), intent(inout)  op_data,
integer, intent(out)  return_value,
integer, intent(out)  hdferr 
)

Recursively visits all links starting from a specified group.

Parameters
grp_idGroup identifier
idx_typeIndex type
orderIteration order
opCallback function
op_dataUser-defined callback function context
return_valueThe return value of the first operator that returns non-zero, or zero if all members were processed with no operator returning non-zero.
hdferrReturns 0 if successful and -1 if it fails.

See C API: H5Lvisit2()

Variable Documentation

◆ h5l_link_class_t_vers_f

integer h5l_link_class_t_vers_f

H5L_LINK_CLASS_T_VERS.

◆ h5l_same_loc_f

integer h5l_same_loc_f

H5L_SAME_LOC.

◆ h5l_type_error_f

integer h5l_type_error_f

H5L_TYPE_ERROR.

◆ h5l_type_external_f

integer h5l_type_external_f

H5L_TYPE_EXTERNAL.

◆ h5l_type_hard_f

integer h5l_type_hard_f

H5L_TYPE_HARD.

◆ h5l_type_soft_f

integer h5l_type_soft_f

H5L_TYPE_SOFT.