TRIQS/h5 1.3.0
C++ interface to HDF5
Loading...
Searching...
No Matches
array.hpp File Reference
#include "../array_interface.hpp"
#include "../complex.hpp"
#include "../macros.hpp"
#include <algorithm>
#include <array>
#include <iostream>
#include <string>
#include <type_traits>

Detailed Description

Provides functions to read/write std::array objects from/to HDF5.

Definition in file array.hpp.

Go to the source code of this file.

Functions

template<typename T , size_t N>
void h5::h5_read (group g, std::string name, std::array< T, N > &a)
 Read a std::array from an HDF5 dataset/subgroup.
 
template<typename T , size_t N>
void h5::h5_write (group g, std::string const &name, std::array< T, N > const &a)
 Write a std::array to an HDF5 dataset/subgroup.