You are viewing an old version of this page. View the current version.
Version 1 Next »
Registers a client library or application program to the HDF5 error API.
H5E_REGISTER_CLASS(cls_name, lib_name, version)
hid_t H5Eregister_class(const char* cls_name, const char* lib_name, const char* version)
|const char* ||IN: Name of the error class.|
|const char* ||IN: Name of the client library or application to which the error class belongs.|
|const char* ||IN: Version of the client library or application to which the error class belongs. A NULL can be passed in.|
H5Eregister_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 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 preamble.
Returns a class identifier on success; otherwise returns a negative value.
|1.8.0||Function introduced in this release.|