Page tree

The license could not be verified: License Certificate has expired!

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

Returns the current settings for the automatic error stack traversal function and its data

HTML Wrap
classhdf-rm-content-block

Hdf rm anchor
AnchorNameprocedure

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

H5E_GET_AUTO1(func, client_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 H5Eget_auto1( H5E_auto1_t * func, void **client_data )
</code></pre>

Hdf rm anchor
AnchorNameparameters

Parameters:
HTML Wrap
classhdf-rm-section
H5E_auto1_t * funcOUT: Current setting for the function to be called upon an error condition.
void **client_data    OUT: Current setting for the data passed to the error function.

Hdf rm anchor
AnchorNamedescription

Description:
HTML Wrap
classhdf-rm-section

H5Eget_auto1 returns H5E_GET_AUTO1 returns the current settings for the automatic error stack traversal function, func, and its data, client_data. Either or both arguments may be null, in which case the value is not returned.

The library initializes its default error stack traversal functions to H5Eprint1 and H5Eprint2to H5E_PRINT1 and H5E_PRINT2. A call to H5Eget_auto2 returns H5Eprint2 or to H5E_GET_AUTO2 returns H5E_PRINT2 or the user-defined function passed in through H5Eset_auto2through H5E_SET_AUTO2. A call to H5Eget_auto1 returns H5Eprint1 or to H5E_GET_AUTO1 returns H5E_PRINT1 or the user-defined function passed in through H5EsetH5E_auto1SET_AUTO1. However, if the application passes in a user-defined function through H5Eset_auto1through H5E_SET_AUTO1, it should call H5Eget_auto1 to call H5E_GET_AUTO1 to query the traversal function. If the application passes in a user-defined function through H5Eset_auto2through H5E_SET_AUTO2, it should call H5Eget_auto2 to call H5E_GET_AUTO2 to query the traversal function.

Mixing the new style and the old style functions will cause a failure. For example, if the application sets a user-defined old-style traversal function through H5Eset_auto1through H5E_SET_AUTO1, a call to H5Eget_auto2 will to H5E_GET_AUTO2 will fail and will indicate that the application has mixed H5Eset_auto1 and H5Eget_auto2mixed H5E_SET_AUTO1 and H5E_GET_AUTO2. On the other hand, mixing H5Eset_auto2 and H5Eget_auto1 will mixing H5E_SET_AUTO2 and H5E_GET_AUTO1 will also cause a failure. But if the traversal functions are the library’s default H5Eprint1 or H5Eprint2, mixing H5Eset_auto1 and H5Eget_auto2 or mixing H5Eset_auto2 and H5Eget_auto1 does default H5E_PRINT1 or H5E_PRINT2, mixing H5E_SET_AUTO1 and H5E_GET_AUTO2 or mixing H5E_SET_AUTO2 and H5E_GET_AUTO1 does not fail.

Hdf rm anchor
AnchorNamereturns

Returns:
HTML Wrap
classhdf-rm-section

Returns a non-negative value if successful; otherwise returns a negative value.

Hdf rm anchor
AnchorNameexample

Example:
HTML Wrap
classhdf-rm-section

Coming Soon!

Comment (Hide)
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
Release    C
1.8.0Function H5Eget_auto renamed to H5Eget_auto1 and deprecated in this release.