h5 Namespace Reference

public namespace More...

Typedefs

using cx_double = std::complex< double >
 
using cx_float = std::complex< float >
 

Functions

template<typename T >
void append (h5::pt_t &pt, const T &ref)
 extends HDF5 dataset along the first/slowest growing dimension, then writes passed object to the newly created space More...
 
template<class T , class... args_t>
h5::ds_t create (const h5::fd_t &fd, const std::string &dataset_path, args_t &&...args)
 
h5::fd_t create (const std::string &path, unsigned flags, const h5::fcpl_t &fcpl=h5::default_fcpl, const h5::fapl_t &fapl=h5::default_fapl) noexcept
 creates an HDF5 file with given set of properties and returns a managed h5::fd_t resource handle. Depending on active conversion policy h5::fd_t may be passed implicitly,explicitly or not at all to HDF5 CAPI calls. More...
 
h5::fd_t open (const std::string &path, unsigned flags, const h5::fapl_t &fapl=h5::default_fapl)
 
h5::ds_t open (const fd_t &fd, const std::string &path, const h5::dapl_t &dapl=h5::default_dapl)
 
void close (h5::fd_t &fd)
 
void mute ()
 removes default error handler preventing diagnostic error messages printed for direct CAPI calls. This is a thread safe implementation. Read on Error Handling/Exceptions More...
 
void unmute ()
 restores previously saved error handler with h5::mute Read on Error Handling/Exceptions More...
 
template<class T , class... args_t>
std::enable_if_t<!std::is_same< T, char * >::value, h5::herr_t > read (const h5::ds_t &ds, T *ptr, args_t &&...args)
 
template<class T , class... args_t>
h5::herr_t read (hid_t fd, const std::string &dataset_path, T *ptr, args_t &&...args)
 
template<class T , class... args_t>
h5::herr_t read (const std::string &file_path, const std::string &dataset_path, T *ptr, args_t &&...args)
 
template<class T , class... args_t>
h5::herr_t read (const h5::ds_t &ds, T &ref, args_t &&...args)
 
template<class T , class... args_t>
h5::herr_t read (const h5::fd_t &fd, const std::string &dataset_path, T &ref, args_t &&...args)
 
template<class T , class... args_t>
h5::herr_t read (const std::string &file_path, const std::string &dataset_path, T &ref, args_t &&...args)
 
template<class T , class... args_t>
read (const h5::ds_t &ds, args_t &&...args)
 
template<class T , class... args_t>
read (hid_t fd, const std::string &dataset_path, args_t &&...args)
 
template<class T , class... args_t>
read (const std::string &file_path, const std::string &dataset_path, args_t &&...args)
 
template<class T >
h5::herr_t write (const h5::ds_t &ds, const h5::sp_t &mem_space, const h5::sp_t &file_space, const h5::dxpl_t &dxpl, const T *ptr)
 
template<class T , class... args_t>
h5::herr_t write (const h5::ds_t &ds, const T *ptr, args_t &&...args)
 
template<class T , class... args_t>
std::enable_if_t<!std::is_same< T, char ** >::value, h5::herr_t > write (const h5::ds_t &ds, const T &ref, args_t &&...args)
 
template<class T , class... args_t>
h5::herr_t write (const h5::fd_t &fd, const std::string &dataset_path, const T *ptr, args_t &&...args)
 
template<class T , class... args_t>
h5::herr_t write (const h5::fd_t &fd, const std::string &dataset_path, const T &ref, args_t &&...args)
 
template<class... args_t>
h5::herr_t write (const std::string &file_path, const std::string &dataset_path, args_t &&...args)
 

Detailed Description

public namespace

impl::property_group<H5Pset_property, args...> args... ::= all argument types except the first this hid_t prop_ID since it is implicitly passed by template class.

Typedef Documentation

using h5::cx_double = typedef std::complex<double>

scientific type

using h5::cx_float = typedef std::complex<float>

scientific type