TRIQS/h5 1.3.0
C++ interface to HDF5
|
This is the homepage of TRIQS/h5 v1.3.0. The source code can be found on GitHub.
h5 provides a high-level C++ interface to the HDF5 library.
The main purpose of the library is to simplify the most common tasks like creating/opening/closing HDF5 files/groups/datasets/dataspaces or writing/reading data to/from HDF5 files.
More specifically, h5
h5 only implements a small subset of the functionality provided by the HDF5 library. For more advanced tasks, the user can always resort to the underlying HDF5 C-implementation.
Storing and loading a vector of strings and a vector of doubles is as easy as
This example will generate an HDF5 file vec.h5
with two datasets in the root "/" group:
The Installation section tells you how to get the library and make it available on your system.
Integration in C++ projects explains how to integrate h5 in your own C++ code.
Then, you can start with the Examples section to get an overview of the library's features and how it can simplify basic HDF5 tasks.
Furthermore, we provide a detailed reference API Documentation to answer your questions.
If you experience any problem with the library, you can post an Issue on GitHub.