mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
Purpose: Catching up with the C library Description: Updated documentation files to include information on the following functions h5iget_name_f h5tis_variavle_str_f h5zunregister_f h5zfilter_avail_f h5pset_shuffle_f h5pset_fletcher32 h5pset_edc_check_f h5pget_edc_check_f h5dfill_f Solution: Platforms tested: arabica(C and F90), burrwhite (pgcc and pgf90), modi4 (F90 and parallel) Misc. update:
93 lines
2.4 KiB
HTML
93 lines
2.4 KiB
HTML
<html>
|
|
<head><title>
|
|
FORTRAN Identifier API -- h5i
|
|
</title>
|
|
|
|
<!-- #BeginLibraryItem "/ed_libs/styles_RM.lbi" --><link href="../ed_styles/RMelect.css" rel="stylesheet" type="text/css"><!-- #EndLibraryItem --></head>
|
|
|
|
<body bgcolor="#FFFFFF">
|
|
|
|
|
|
|
|
<center>
|
|
<h1>The FORTRAN 90 API to HDF5<br>h5i: Identifiers</h1>
|
|
</center>
|
|
|
|
|
|
<dl>
|
|
|
|
|
|
<p>
|
|
<p>
|
|
<hr>
|
|
<p>
|
|
<a name="h5iget_type_f">
|
|
<p>
|
|
</a>
|
|
|
|
|
|
<dt><strong>FORTRAN interface:</strong>   <strong>h5iget_type_f</strong>
|
|
|
|
<pre>
|
|
SUBROUTINE h5iget_type_f(obj_id, type, hdferr)
|
|
IMPLICIT NONE
|
|
INTEGER(HID_T), INTENT(IN) :: obj_id !Object identifier
|
|
INTEGER, INTENT(OUT) :: type !type of an object.
|
|
!possible values are:
|
|
!H5I_FILE_F(1)
|
|
!H5I_GROUP_F(2)
|
|
!H5I_DATATYPE_F(3)
|
|
!H5I_DATASPACE_F(4)
|
|
!H5I_DATASET_F(5)
|
|
!H5I_ATTR_F(6)
|
|
!H5I_BADID_F(-1)
|
|
INTEGER, INTENT(OUT) :: hdferr ! Error code
|
|
! 0 on success, and -1 on failure
|
|
|
|
END SUBROUTINE h5iget_type_f
|
|
</pre>
|
|
|
|
|
|
<p>
|
|
<p>
|
|
<hr>
|
|
<p>
|
|
<a name="h5iget_name_f">
|
|
<p>
|
|
</a>
|
|
|
|
|
|
<dt><strong>FORTRAN interface:</strong>   <strong>h5iget_name_f</strong>
|
|
|
|
<pre>
|
|
SUBROUTINE h5iget_name_f(obj_id, buf, buf_size, hdferr)
|
|
IMPLICIT NONE
|
|
INTEGER(HID_T), INTENT(IN) :: obj_id ! Object identifier
|
|
CHARACTER(LEN=*), INTENT(OUT) :: buf ! Buffer to hold object name
|
|
INTEGER(SIZE_T), INTENT(IN) :: buf_size ! Buffer size
|
|
INTEGER(SIZE_T), INTENT(OUT) :: name_size ! Name size
|
|
INTEGER, INTENT(OUT) :: hdferr ! Error code
|
|
! 0 on success, and -1 on failure
|
|
|
|
END SUBROUTINE h5iget_name_f
|
|
</pre>
|
|
|
|
|
|
</dl>
|
|
|
|
<p>
|
|
<p>
|
|
<hr>
|
|
|
|
|
|
<!-- #BeginLibraryItem "/ed_libs/Footer.lbi" --><address>
|
|
<a href="mailto:hdfhelp@ncsa.uiuc.edu">HDF Help Desk</a>
|
|
<br>
|
|
Describes HDF5 Release 1.5, Unreleased Development Branch
|
|
</address><!-- #EndLibraryItem -->
|
|
|
|
Last modified: 19 March 2003
|
|
|
|
</body>
|
|
</html>
|