hops
Classes | Namespaces | Enumerations | Functions
H5Easy.hpp File Reference
#include <string>
#include <vector>
#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
 Set compression level for written DataSets. More...
 
class  H5Easy::DumpOptions
 Options for dumping data. More...
 

Namespaces

 H5Easy
 

Enumerations

enum  H5Easy::DumpMode { H5Easy::DumpMode::Create = 0, H5Easy::DumpMode::Overwrite = 1 }
 Write mode for DataSets. More...
 
enum  H5Easy::Flush { H5Easy::Flush::False = 0, H5Easy::Flush::True = 1 }
 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. More...
 
std::vector< size_t > H5Easy::getShape (const File &file, const std::string &path)
 Get the shape of an existing DataSet in an readable file. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
template<class T >
H5Easy::load (const File &file, const std::string &path, const std::vector< size_t > &idx)
 Load entry "(i,j)" from a rank-two DataSet in an open HDF5 file to a scalar. More...
 
template<class T >
H5Easy::load (const File &file, const std::string &path)
 Load a DataSet in an open HDF5 file to an object (templated). More...
 
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. More...
 
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. More...
 
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). More...