2000-07-18 03:20:10 +08:00
|
|
|
<html>
|
|
|
|
<head><title>
|
|
|
|
FORTRAN Identifier API -- h5i
|
2003-03-15 03:12:34 +08:00
|
|
|
</title>
|
|
|
|
|
2003-07-03 05:28:11 +08:00
|
|
|
<!-- #BeginLibraryItem "/ed_libs/styles_RM.lbi" -->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
|
|
* Copyright by the Board of Trustees of the University of Illinois. *
|
|
|
|
* All rights reserved. *
|
|
|
|
* *
|
|
|
|
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
|
|
|
* terms governing use, modification, and redistribution, is contained in *
|
|
|
|
* the files COPYING and Copyright.html. COPYING can be found at the root *
|
|
|
|
* of the source code distribution tree; Copyright.html can be found at the *
|
|
|
|
* root level of an installed copy of the electronic HDF5 document set and *
|
|
|
|
* is linked from the top-level documents page. It can also be found at *
|
|
|
|
* http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have *
|
|
|
|
* access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. *
|
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
|
|
-->
|
|
|
|
|
|
|
|
<link href="../ed_styles/RMelect.css" rel="stylesheet" type="text/css">
|
|
|
|
<!-- #EndLibraryItem --></head>
|
2000-07-18 03:20:10 +08:00
|
|
|
|
|
|
|
<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
|
2003-03-20 00:09:07 +08:00
|
|
|
! 0 on success, and -1 on failure
|
2000-07-18 03:20:10 +08:00
|
|
|
|
|
|
|
END SUBROUTINE h5iget_type_f
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
|
2003-03-20 00:09:07 +08:00
|
|
|
<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>
|
|
|
|
|
|
|
|
|
2000-07-18 03:20:10 +08:00
|
|
|
</dl>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
2003-03-15 03:12:34 +08:00
|
|
|
<!-- #BeginLibraryItem "/ed_libs/Footer.lbi" --><address>
|
2000-07-18 03:20:10 +08:00
|
|
|
<a href="mailto:hdfhelp@ncsa.uiuc.edu">HDF Help Desk</a>
|
|
|
|
<br>
|
2003-07-03 05:28:11 +08:00
|
|
|
Describes HDF5 Release 1.6.0, July 2003
|
2003-03-15 03:12:34 +08:00
|
|
|
</address><!-- #EndLibraryItem -->
|
2001-04-19 06:09:17 +08:00
|
|
|
|
2003-03-20 00:09:07 +08:00
|
|
|
Last modified: 19 March 2003
|
2000-07-18 03:20:10 +08:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|