HighFive 2.9.0
HighFive - Header-only C++ HDF5 interface
Loading...
Searching...
No Matches
H5Easy.hpp File Reference
#include <string>
#include <vector>
#include <xtensor/xarray.hpp>
#include <xtensor/xtensor.hpp>
#include <Eigen/Eigen>
#include <opencv2/opencv.hpp>
#include "H5File.hpp"
#include "h5easy_bits/H5Easy_Eigen.hpp"
#include "h5easy_bits/H5Easy_misc.hpp"
#include "h5easy_bits/H5Easy_opencv.hpp"
#include "h5easy_bits/H5Easy_public.hpp"
#include "h5easy_bits/H5Easy_scalar.hpp"
#include "h5easy_bits/H5Easy_vector.hpp"
#include "h5easy_bits/H5Easy_xtensor.hpp"
Include dependency graph for H5Easy.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  H5Easy::Compression
 Signal to set compression level for written DataSets. More...
 
class  H5Easy::DumpOptions
 Define options for dumping data. More...
 

Namespaces

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

Enumerations

enum class  H5Easy::DumpMode { H5Easy::Create = 0 , H5Easy::Overwrite = 1 }
 Write mode for DataSets. More...
 
enum class  H5Easy::Flush { H5Easy::False = 0 , H5Easy::True = 1 }
 Signal to enable/disable automatic flushing after write operations. More...
 

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, 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 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, 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 >
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 >
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).