TRIQS/h5 1.3.0
C++ interface to HDF5
Loading...
Searching...
No Matches
format.cpp File Reference
#include "./format.hpp"
#include "./group.hpp"
#include "./object.hpp"
#include "./stl/string.hpp"
#include <stdexcept>
#include <string>

Detailed Description

Implementation details for format.hpp.

Definition in file format.cpp.

Go to the source code of this file.

Functions

void h5::assert_hdf5_format_as_string (group g, const char *tag_expected, bool ignore_if_absent=false)
 Assert that the hdf5_format tag attached to the given group is the same as the given tag.
 
std::string h5::read_hdf5_format (group g)
 Read an hdf5_format tag from an HDF5 attribute with the name 'Format' attached to a given h5::group.
 
void h5::read_hdf5_format (object obj, std::string &s)
 Read an hdf5_format tag from an HDF5 attribute with the name 'Format'.
 
void h5::read_hdf5_format_from_key (group g, std::string const &key, std::string &s)
 Read an hdf5_format tag from an HDF5 attribute with the name 'Format'.