TRIQS/h5 2.0.0
C++ interface to HDF5
Loading...
Searching...
No Matches
h5py_io.hpp
Go to the documentation of this file.
1
5
6#ifndef LIBH5_H5PY_IO_HPP
7#define LIBH5_H5PY_IO_HPP
8
9#include <c2py/c2py.hpp>
10#include <Python.h>
11
12#include <h5/group.hpp>
14
15namespace h5 {
16
21
39 void h5_write_bare(group g, std::string const &name, PyObject *ob);
40
57 c2py::pyref h5_read_bare(group g, std::string const &name);
58
60
61} // namespace h5
62
63#endif // LIBH5_H5PY_IO_HPP
Provides a generic interface to read/write n-dimensional arrays from/to HDF5.
A handle to an HDF5 group.
Definition group.hpp:44
Provides a handle to an HDF5 group and various methods to simplify the creation/opening of subgroups,...
c2py::pyref h5_read_bare(group g, std::string const &name)
Read a dataset from an HDF5 group and return it as a Python object.
Definition h5py_io.cpp:170
void h5_write_bare(group g, std::string const &name, PyObject *ob)
Write a Python object to an HDF5 group.
Definition h5py_io.cpp:146