File h5write.hpp¶
↰ Parent directory (include/dx2/h5)
Utilities for writing raw and structured data to HDF5 files.
Definition (include/dx2/h5/h5write.hpp)¶
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<std::vector<double>>), 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¶
arraycstdlibdx2/h5/h5dispatch.hpp(File h5dispatch.hpp)dx2/h5/h5utils.hpp(File h5utils.hpp)hdf5.hstringvector