Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Content Layer
id1195548671
Content Column
width50.00001%
id1195578110
classrm_pagetree_col mobile-hide
Content Block
id1195578111
 
Content Column
width50.00001%
id1195548673
classhdf-rm-main-column
Content Block
id1195548672

Include Content
render-without-blockstrue
page.rm-navbar
HTML Wrap
classhdf-print-only

Page Title

HTML Wrap
classhdf-rm-summary-block

Hdf rm anchor
AnchorNamesummary

Excerpt

Calls a callback for each member of the identifier type specified

HTML Wrap
classhdf-rm-content-block

Hdf rm anchor
AnchorNameprocedure

Procedure:
HTML Wrap
classhdf-rm-section
HTML Wrap
classhdf_procedure

H5I_ITERATE ( type, op, op_data )

Hdf rm anchor
AnchorNamesignature

Signature:
HTML Wrap
classhdf-rm-section
HTML Wrap
classhdf-togglebox hdf-c

HTML Add Class
hdf-togglebutton-visible
hdf-togglebutton-visible
selector.hdf-togglebutton.hdf-c

HTML
<pre><code class="language-c">herr_t H5Iiterate ( H5I_type_t type, H5I_iterate_func_t op, void *op_data )</code></pre>
Comment
HTML Wrap
classhdf-togglebox hdf-fortran hdf-togglebox-hidden

HTML Add Class
hdf-togglebutton-visible
hdf-togglebutton-visible
selector.hdf-togglebutton.hdf-fortran

HTML
<pre><code class="language-fortran">Replace this text with the Fortran function signature</code></pre>

Hdf rm anchor
AnchorNameparameters

Parameters:
HTML Wrap
classhdf-rm-section
H5I_type_t typeIN: The identifier type
H5I_iterate_func_t opIN: The callback function
void *op_dataIN: The data for the callback function

Hdf rm anchor
AnchorNamedescription

Description:
HTML Wrap
classhdf-rm-section

H5I_ITERATE calls the callback function op for each member of the identifier type type. The callback function type for op, H5I_iterate_func_t, is defined in H5Ipublic.h as:

typedef herr_t (*H5I_iterate_func_t)(hid_t id, void *udata);

op takes as parameters the identifier and a pass through of op_data, and returns an herr_t.

A positive return from op will cause the iteration to stop and H5I_ITERATE will return the value returned by op.  A negative return from op will cause the iteration to stop and H5I_ITERATE will return failure.  A zero return from op will allow iteration to continue, as long as there are other identifiers remaining in type.

H5I_type_t is defined in H5Ipublic.h in the HDF5 source code.  Valid H5I_type_t values for use with H5I_ITERATE are:
    H5I_FILE        = 1,        /* type ID for File objects                     */
    H5I_GROUP,                  /* type ID for Group objects                    */
    H5I_DATATYPE,               /* type ID for Datatype objects                 */
    H5I_DATASPACE,              /* type ID for Dataspace objects                */
    H5I_DATASET,                /* type ID for Dataset objects                  */
    H5I_MAP,                    /* type ID for Map objects                      */
    H5I_ATTR,                   /* type ID for Attribute objects                */
    H5I_VFL,                    /* type ID for virtual file layer               */
    H5I_VOL,                    /* type ID for virtual object layer             */
    H5I_GENPROP_CLS,            /* type ID for generic property list classes    */
    H5I_GENPROP_LST,            /* type ID for generic property lists           */
    H5I_ERROR_CLASS,            /* type ID for error classes                    */
    H5I_ERROR_MSG,              /* type ID for error messages                   */
    H5I_ERROR_STACK,            /* type ID for error stacks                     */
    H5I_SPACE_SEL_ITER,         /* type ID for dataspace selection iterator     */

 

Warning
titleLimitation

 Currently there is no way to start searching from where a previous search left off.

 

Hdf rm anchor
AnchorNamereturns

Returns:
HTML Wrap
classhdf-rm-section

The last value returned by op

Hdf rm anchor
AnchorNameexample

Example:
HTML Wrap
classhdf-rm-section

None

Comment
HTML Wrap
classhdf-togglebox hdf-c

Bitbucket Server file
repoSlughdf5
branchIdrefs/heads/1.10/master
projectKeyHDFFV
filepathexamples/h5_subset.c
showLineNumberstrue
lineStart32
progLangcpp
lineEnd42
applicationLink5ac7b370-7412-3c8c-ad20-807a68261336

HTML Wrap
classhdf-togglebox hdf-fortran hdf-togglebox-hidden

Bitbucket Server file
repoSlughdf5
branchIdrefs/heads/1.10/master
projectKeyHDFFV
filepathfortran/examples/compound.f90
showLineNumberstrue
lineStart25
progLangplain
lineEnd35
applicationLink5ac7b370-7412-3c8c-ad20-807a68261336

Hdf rm anchor
AnchorNamehistory

History:
HTML Wrap
classhdf-rm-section
ReleaseChange
1.12.0Function introduced in this release.