Facilitates writing hdf5 files. More...
#include <hdf5_utils.hpp>
Public Member Functions | |
HDF5Shortcut (const string &fname) | |
Class constructor. More... | |
HDF5Shortcut & | operator() (const string &field_name, const vector< double > &data_set) |
adds dataset More... | |
HDF5Shortcut & | operator() (const string &field_name, const vector< int > &data_set) |
adds dataset More... | |
~HDF5Shortcut (void) | |
Class destructor. This is the stage when the file is written. | |
Facilitates writing hdf5 files.
Definition at line 75 of file hdf5_utils.hpp.
|
explicit |
HDF5Shortcut & HDF5Shortcut::operator() | ( | const string & | field_name, |
const vector< double > & | data_set | ||
) |
adds dataset
field_name | Name of dataset |
data_set | Array of data |
Definition at line 9 of file hdf5_utils.cpp.
HDF5Shortcut & HDF5Shortcut::operator() | ( | const string & | field_name, |
const vector< int > & | data_set | ||
) |
adds dataset
field_name | Name of dataset |
data_set | Array of data |
Definition at line 17 of file hdf5_utils.cpp.