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 char* cls_name | IN:Name of the error class |
const char* lib_name | IN: Name of the client library or application to which the error class belongs |
const char* version | 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:
History:
Release | C |
1.8.0 | Function introduced in this release. |
--- Last Modified: April 13, 2018 | 02:10 PM