Template Function get_datatype_for_hdf5#
Defined in File h5stream.hpp
Function Documentation#
-
template<typename T>
inline const H5::PredType &get_datatype_for_hdf5()# Maps a C++ type to the corresponding HDF5 data type.
This function template is specialized for various C++ types to return the appropriate HDF5 data type.
- Template Parameters:
T – The C++ type to map.
- Returns:
A reference to the corresponding HDF5 data type.