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

Detailed Description

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

Definition in file map.hpp.

Go to the source code of this file.

Classes

struct  h5::hdf5_format_impl< std::map< keyT, valueT > >
 Specialization of h5::hdf5_format_impl for std::map. More...
 

Functions

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