TRIQS/h5 1.3.0
C++ interface to HDF5
Loading...
Searching...
No Matches
tuple.hpp File Reference
#include "../format.hpp"
#include "../group.hpp"
#include "./string.hpp"
#include <cstddef>
#include <stdexcept>
#include <string>
#include <tuple>
#include <utility>

Detailed Description

Provides functions to read/write std::tuple object from/to HDF5.

Definition in file tuple.hpp.

Go to the source code of this file.

Classes

struct  h5::hdf5_format_impl< std::tuple< T... > >
 Specialization of h5::hdf5_format_impl for std::tuple. More...
 

Functions

template<typename... Ts>
void h5::h5_read (group g, std::string const &name, std::tuple< Ts... > &tup)
 Read a std::tuple from an HDF5 subgroup.
 
template<typename... Ts>
void h5::h5_write (group g, std::string const &name, std::tuple< Ts... > const &tup)
 Write a std::tuple to an HDF5 subgroup.