Class H5ErrorSilencer

Class Documentation

class H5ErrorSilencer

RAII guard that temporarily suppresses HDF5 error output.

Upon construction, this disables the HDF5 error printing mechanism. When destroyed, it restores the previous error handler.

This avoids global suppression and ensures clean restoration even on exceptions.

Public Functions

inline H5ErrorSilencer()
inline ~H5ErrorSilencer()