.. _file_include_dx2_h5_h5write.hpp: File h5write.hpp ================ |exhale_lsh| :ref:`Parent directory ` (``include/dx2/h5``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS Utilities for writing raw and structured data to HDF5 files. Definition (``include/dx2/h5/h5write.hpp``) ------------------------------------------- .. toctree:: :maxdepth: 1 program_listing_file_include_dx2_h5_h5write.hpp.rst Detailed Description -------------------- This header provides two levels of HDF5 writing utilities: - **Raw Writer:** Directly writes typed raw memory buffers into datasets. Suitable for low-level, performance-sensitive operations like reflection table saving. - **High-Level Writer:** Dynamically infers shape from nested standard containers (e.g., ``std::vector>``), flattens them, and writes them to HDF5. Useful for quickly serializing in-memory C++ containers to disk. Intended for internal use in DX2 processing and general scientific data workflows. Includes -------- - ``array`` - ``cstdlib`` - ``dx2/h5/h5dispatch.hpp`` (:ref:`file_include_dx2_h5_h5dispatch.hpp`) - ``dx2/h5/h5utils.hpp`` (:ref:`file_include_dx2_h5_h5utils.hpp`) - ``hdf5.h`` - ``string`` - ``vector`` Included By ----------- - :ref:`file_dx2_h5_h5write.cxx` - :ref:`file_include_dx2_reflection.hpp` Functions --------- - :ref:`exhale_function_h5write_8hpp_1aa69ea98a438d80d64d65512a6e3d542a` - :ref:`exhale_function_h5write_8hpp_1aacd26fef4c5cd5747fcf1f19cc9b16b6` - :ref:`exhale_function_h5write_8hpp_1ae71860765e13c3211b62f00d6e0ba7b1` - :ref:`exhale_function_h5write_8hpp_1aea24566088bf7710c2ac58baabc00b32` - :ref:`exhale_function_h5write_8hpp_1abe60c40228bc14868f29c69e9633741a` - :ref:`exhale_function_h5write_8hpp_1a5d215e50316dcc7c9d8dc442dd8f13b8` - :ref:`exhale_function_h5write_8hpp_1ad39e43ab32e067a35aac130ea32c68bd`