Page tree

 

JAVA

FORTRAN

C++

C

 

Link

H5E_REGISTER_CLASS

Registers a client library or application program to the HDF5 error API

Procedure:

H5E_REGISTER_CLASS(cls_name, lib_name, version)

Signature:

hid_t H5Eregister_class(const char* cls_name, const char* lib_name, const char* version)

Parameters:
const charcls_name    IN:Name of the error class
const charlib_nameIN: Name of the client library or application to which the error class belongs
const charversion

IN: Version of the client library or application to which the error class belongs

A NULL can be passed in.

Description:

H5E_REGISTER_CLASS registers a client library or application program to the HDF5 error API so that the client library or application program can report errors together with the HDF5 library. It receives an identifier for this error class for further error operations. The library name and version number will be printed out in the error message as a preamble.

Returns:

Returns a class identifier on success; otherwise returns a negative value.

Example:

Coming Soon!

History:
Release    C
1.8.0Function introduced in this release.

--- Last Modified: April 13, 2018 | 02:10 PM