TRIQS/h5
2.0.0
C++ interface to HDF5
Toggle main menu visibility
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
>
13
#include <
h5/array_interface.hpp
>
14
15
namespace
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
array_interface.hpp
Provides a generic interface to read/write n-dimensional arrays from/to HDF5.
h5::group
A handle to an HDF5 group.
Definition
group.hpp:44
group.hpp
Provides a handle to an HDF5 group and various methods to simplify the creation/opening of subgroups,...
h5::h5_read_bare
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
h5::h5_write_bare
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
python
h5
h5py_io.hpp
Generated by
1.17.0