HighFive 2.10.0
HighFive - Header-only C++ HDF5 interface
Loading...
Searching...
No Matches
H5Easy_public.hpp File Reference
#include "../H5Easy.hpp"
Include dependency graph for H5Easy_public.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  H5Easy
 Read/dump DataSets or Attribute using a minimalistic syntax. To this end, the functions are templated, and accept:
 

Functions

size_t H5Easy::getSize (const File &file, const std::string &path)
 Get the size of an existing DataSet in an open HDF5 file.
 
std::vector< size_t > H5Easy::getShape (const File &file, const std::string &path)
 Get the shape of an existing DataSet in an readable file.
 
template<class T >
DataSet H5Easy::dump (File &file, const std::string &path, const T &data, const DumpOptions &options)
 Write object (templated) to a (new) DataSet in an open HDF5 file.
 
template<class T >
DataSet H5Easy::dump (File &file, const std::string &path, const T &data, DumpMode mode=DumpMode::Create)
 Write object (templated) to a (new) DataSet in an open HDF5 file.
 
template<class T >
DataSet H5Easy::dump (File &file, const std::string &path, const T &data, const std::vector< size_t > &idx, const DumpOptions &options)
 Write a scalar to a (new, extendible) DataSet in an open HDF5 file.
 
template<class T >
DataSet H5Easy::dump (File &file, const std::string &path, const T &data, const std::initializer_list< size_t > &idx, const DumpOptions &options)
 Write a scalar to a (new, extendible) DataSet in an open HDF5 file.
 
template<class T >
DataSet H5Easy::dump (File &file, const std::string &path, const T &data, const std::vector< size_t > &idx)
 Write a scalar to a (new, extendible) DataSet in an open HDF5 file.
 
template<class T >
DataSet H5Easy::dump (File &file, const std::string &path, const T &data, const std::initializer_list< size_t > &idx)
 Write a scalar to a (new, extendable) DataSet in an open HDF5 file.
 
template<class T >
H5Easy::load (const File &file, const std::string &path, const std::vector< size_t > &idx)
 Load entry {i, j, ...} from a DataSet in an open HDF5 file to a scalar.
 
template<class T >
H5Easy::load (const File &file, const std::string &path)
 Load a DataSet in an open HDF5 file to an object (templated).
 
template<class T >
Attribute H5Easy::dumpAttribute (File &file, const std::string &path, const std::string &key, const T &data, DumpMode mode=DumpMode::Create)
 Write object (templated) to a (new) Attribute in an open HDF5 file.
 
template<class T >
Attribute H5Easy::dumpAttribute (File &file, const std::string &path, const std::string &key, const T &data, const DumpOptions &options)
 Write object (templated) to a (new) Attribute in an open HDF5 file.
 
template<class T >
H5Easy::loadAttribute (const File &file, const std::string &path, const std::string &key)
 Load a Attribute in an open HDF5 file to an object (templated).