Higher level hdf5 utilities. More...
#include <string>
#include <vector>
#include <H5Cpp.h>
Go to the source code of this file.
Classes | |
class | HDF5Shortcut |
Facilitates writing hdf5 files. More... | |
Functions | |
template<class T > | |
void | write_std_vector_to_hdf5 (const Group &file, const vector< T > &data, const string &caption, const DataType &dt) |
Master function for writing vectors to hdf5 files. More... | |
void | write_std_vector_to_hdf5 (const Group &file, const vector< double > &data, const string &caption) |
Writes floating point data to hdf5. More... | |
void | write_std_vector_to_hdf5 (const Group &file, const vector< int > &data, const string &caption) |
Writes integer data to hdf5. More... | |
Higher level hdf5 utilities.
Definition in file hdf5_utils.hpp.
void write_std_vector_to_hdf5 | ( | const Group & | file, |
const vector< T > & | data, | ||
const string & | caption, | ||
const DataType & | dt | ||
) |
Master function for writing vectors to hdf5 files.
file | Either an actual file or a group within a file |
data | Data to be written |
caption | Name of dataset |
dt | Data type |
Definition at line 31 of file hdf5_utils.hpp.
void write_std_vector_to_hdf5 | ( | const Group & | file, |
const vector< double > & | data, | ||
const string & | caption | ||
) |
Writes floating point data to hdf5.
file | Either an actual file or a group within a file |
data | Data to be written |
caption | Name of dataset |
Definition at line 26 of file hdf5_utils.cpp.
void write_std_vector_to_hdf5 | ( | const Group & | file, |
const vector< int > & | data, | ||
const string & | caption | ||
) |
Writes integer data to hdf5.
file | Either an actual file or a group within a file |
data | Data to be written |
caption | Name of dataset |
Definition at line 40 of file hdf5_utils.cpp.