.. _file_include_dx2_h5_h5utils.hpp: File h5utils.hpp ================ |exhale_lsh| :ref:`Parent directory ` (``include/dx2/h5``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS RAII utilities for safe and scoped management of HDF5 resources. Definition (``include/dx2/h5/h5utils.hpp``) ------------------------------------------- .. toctree:: :maxdepth: 1 program_listing_file_include_dx2_h5_h5utils.hpp.rst Detailed Description -------------------- This header provides: - ``H5Cleanup``: A generic RAII wrapper for HDF5 identifiers, ensuring automatic resource cleanup via the correct close function. - Type aliases for commonly used HDF5 object types (e.g., files, groups, datasets). - ``make_v18_file_access_plist``: A file access property list that allows attributes larger than 64 KiB. - ``H5ErrorSilencer``: A RAII guard that temporarily disables HDF5 error output and restores the original handler on scope exit. These utilities are designed to make HDF5 usage in C++ safer, less error-prone, and exception-friendly by tying resource management and error suppression to object lifetime. Includes -------- - ``hdf5.h`` - ``utility`` Included By ----------- - :ref:`file_include_dx2_h5_h5dispatch.hpp` - :ref:`file_include_dx2_h5_h5read_processed.hpp` - :ref:`file_include_dx2_h5_h5write.hpp` - :ref:`file_include_dx2_reflection.hpp` Namespaces ---------- - :ref:`namespace_h5utils` Classes ------- - :ref:`exhale_struct_structh5utils_1_1H5Cleanup` - :ref:`exhale_class_classh5utils_1_1H5ErrorSilencer` Functions --------- - :ref:`exhale_function_namespaceh5utils_1adf0bff95c7b3a71b3af5f3173b0ee4b9` Typedefs -------- - :ref:`exhale_typedef_namespaceh5utils_1a24430a11891b930927db2944aec8dec0` - :ref:`exhale_typedef_namespaceh5utils_1a5977ff479426714cbb415955db3bd8fb` - :ref:`exhale_typedef_namespaceh5utils_1a30f908c0bdaeecafd6aaca4a6bfebbc9` - :ref:`exhale_typedef_namespaceh5utils_1a25494eda0029da79655aa96c7a41d608` - :ref:`exhale_typedef_namespaceh5utils_1af0cc4916bb3332fb9032aa9b5f225275` - :ref:`exhale_typedef_namespaceh5utils_1ac002e7e1d06e49f7f4800b78274634bb` - :ref:`exhale_typedef_namespaceh5utils_1a52d144a8e3af1920e433a236cf3d916e`