TRIQS/h5 1.3.0
C++ interface to HDF5
|
#include "./array_interface.hpp"
#include "./complex.hpp"
#include "./group.hpp"
#include "./macros.hpp"
#include "./object.hpp"
#include <cmath>
#include <string>
#include <type_traits>
Provides a generic interface to read/write scalars from/to HDF5.
Definition in file scalar.hpp.
Go to the source code of this file.
Functions | |
template<typename T > | |
array_view | h5::array_interface::array_view_from_scalar (T &x) |
Create an array view for a scalar. | |
template<typename T > | |
void | h5::h5_read (group g, std::string const &name, T &x) H5_REQUIRES(std |
Read a scalar from an HDF5 dataset. | |
template<typename T > | |
void | h5::h5_read_attribute (object obj, std::string const &name, T &x) H5_REQUIRES(std |
Read a scalar from an HDF5 attribute. | |
template<typename T > | |
void | h5::h5_write (group g, std::string const &name, T const &x) H5_REQUIRES(std |
Write a scalar to an HDF5 dataset. | |
template<typename T > | |
void | h5::h5_write_attribute (object obj, std::string const &name, T const &x) H5_REQUIRES(std |
Write a scalar to an HDF5 attribute. | |