7 #ifndef ALPS_HDF5_STD_MAP 8 #define ALPS_HDF5_STD_MAP 18 template <
typename K,
typename T,
typename C,
typename A>
void save(
20 , std::string
const & path
21 , std::map<K, T, C, A>
const & value
22 , std::vector<std::size_t>
size = std::vector<std::size_t>()
23 , std::vector<std::size_t> chunk = std::vector<std::size_t>()
24 , std::vector<std::size_t> offset = std::vector<std::size_t>()
29 for(
typename std::map<K, T, C, A>::const_iterator it = value.begin(); it != value.end(); ++it)
33 template <
typename K,
typename T,
typename C,
typename A>
void load(
35 , std::string
const & path
36 , std::map<K, T, C, A> & value
37 , std::vector<std::size_t> chunk = std::vector<std::size_t>()
38 , std::vector<std::size_t> offset = std::vector<std::size_t>()
41 for (
typename std::vector<std::string>::const_iterator it = children.begin(); it != children.end(); ++it)
void load(archive &ar, std::string const &path, T &value, std::vector< std::size_t > chunk=std::vector< std::size_t >(), std::vector< std::size_t >=std::vector< std::size_t >())
std::enable_if<!is_sequence< T >::value, std::size_t >::type size(T const &)
void delete_group(std::string path) const
void create_group(std::string path) const
std::string encode_segment(std::string segment) const
std::vector< std::string > list_children(std::string path) const
bool is_group(std::string path) const
std::string complete_path(std::string path) const
std::string decode_segment(std::string segment) const
void save(archive &ar, std::string const &path, T const &value, std::vector< std::size_t >=std::vector< std::size_t >(), std::vector< std::size_t > chunk=std::vector< std::size_t >(), std::vector< std::size_t >=std::vector< std::size_t >())