|
HighFive 3.2.0
HighFive - Header-only C++ HDF5 interface
|
Read/dump DataSets or Attribute using a minimalistic syntax. To this end, the functions are templated, and accept: More...
Classes | |
| class | Compression |
| Signal to set compression level for written DataSets. More... | |
| class | DumpOptions |
| Define options for dumping data. More... | |
Enumerations | |
| enum class | DumpMode { Create = 0 , Overwrite = 1 } |
| Write mode for DataSets. More... | |
| enum class | Flush { False = 0 , True = 1 } |
| Signal to enable/disable automatic flushing after write operations. More... | |
Functions | |
| size_t | getSize (const File &file, const std::string &path) |
| Get the size of an existing DataSet in an open HDF5 file. | |
| std::vector< size_t > | getShape (const File &file, const std::string &path) |
| Get the shape of an existing DataSet in an readable file. | |
| template<class T > | |
| DataSet | 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 | 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 | 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 | 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 | 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 | 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 > | |
| T | 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 > | |
| T | load (const File &file, const std::string &path) |
| Load a DataSet in an open HDF5 file to an object (templated). | |
| template<class T > | |
| Attribute | 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 | 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 > | |
| T | loadAttribute (const File &file, const std::string &path, const std::string &key) |
| Load a Attribute in an open HDF5 file to an object (templated). | |
Read/dump DataSets or Attribute using a minimalistic syntax. To this end, the functions are templated, and accept:
|
strong |
|
strong |
|
inline |
Write object (templated) to a (new) DataSet in an open HDF5 file.
| file | opened file (has to be writeable) |
| path | path of the DataSet |
| data | the data to write (any supported type) |
| options | dump options |
|
inline |
Write a scalar to a (new, extendable) DataSet in an open HDF5 file.
| file | open File (has to be writeable) |
| path | path of the DataSet |
| data | the data to write (any supported type) |
| idx | the indices to which to write |
|
inline |
Write a scalar to a (new, extendible) DataSet in an open HDF5 file.
| file | opened file (has to be writeable) |
| path | path of the DataSet |
| data | the data to write (any supported type) |
| idx | the indices to which to write |
| options | dump options |
|
inline |
Write a scalar to a (new, extendible) DataSet in an open HDF5 file.
| file | opened file (has to be writeable) |
| path | path of the DataSet |
| data | the data to write (any supported type) |
| idx | the indices to which to write |
|
inline |
Write a scalar to a (new, extendible) DataSet in an open HDF5 file.
| file | opened file (has to be writeable) |
| path | path of the DataSet |
| data | the data to write (any supported type) |
| idx | the indices to which to write |
| options | dump options |
|
inline |
Write object (templated) to a (new) DataSet in an open HDF5 file.
| file | opened file (has to be writeable) |
| path | path of the DataSet |
| data | the data to write (any supported type) |
| mode | write mode |
|
inline |
Write object (templated) to a (new) Attribute in an open HDF5 file.
| file | opened file (has to be writeable) |
| path | path of the DataSet |
| key | name of the attribute |
| data | the data to write (any supported type) |
| options | dump options |
|
inline |
Write object (templated) to a (new) Attribute in an open HDF5 file.
| file | opened file (has to be writeable) |
| path | path of the DataSet |
| key | name of the attribute |
| data | the data to write (any supported type) |
| mode | write mode |
|
inline |
Get the shape of an existing DataSet in an readable file.
| file | opened file (has to be readable) |
| path | Path of the DataSet |
|
inline |
Get the size of an existing DataSet in an open HDF5 file.
| file | opened file (has to be readable) |
| path | path of the DataSet |
|
inline |
Load a DataSet in an open HDF5 file to an object (templated).
| file | opened file (has to be writeable) |
| path | path of the DataSet |
|
inline |
Load entry {i, j, ...} from a DataSet in an open HDF5 file to a scalar.
| file | opened file (has to be writeable) |
| idx | the indices to load |
| path | path of the DataSet |
|
inline |
Load a Attribute in an open HDF5 file to an object (templated).
| file | opened file (has to be writeable) |
| path | path of the DataSet |
| key | name of the attribute |