ATLAS Offline Software
|
#include <HdfTuple.h>
Public Member Functions | |
WriterXd (H5::Group &group, const std::string &name, VariableFillers fillers, std::vector< hsize_t > dataset_dimensions, hsize_t chunk_size=2048) | |
WriterXd (const WriterXd &)=delete | |
WriterXd & | operator= (WriterXd &)=delete |
~WriterXd () | |
void | fillWhileIncrementing (std::vector< size_t > &indices) |
void | flush () |
size_t | index () const |
Private Member Functions | |
hsize_t | buffer_size () const |
Private Attributes | |
H5::CompType | m_type |
std::vector< hsize_t > | m_max_length |
std::vector< hsize_t > | m_dim_stride |
hsize_t | m_batch_size |
hsize_t | m_offset |
std::vector< internal::data_buffer_t > | m_buffer |
VariableFillers | m_fillers |
H5::DataSet | m_ds |
Writer class
This is the other thing you interact with.
You'll have to specify the H5::Group to write the dataset to, the name of the new dataset, and the extent of the dataset.
To fill, use the fill_while_incrementing
function, which will iterate over all possible values of indices
within the dataset dimensions. The variable filler is called once for each index combination.
Definition at line 154 of file HdfTuple.h.
H5Utils::WriterXd::WriterXd | ( | H5::Group & | group, |
const std::string & | name, | ||
VariableFillers | fillers, | ||
std::vector< hsize_t > | dataset_dimensions, | ||
hsize_t | chunk_size = 2048 |
||
) |
Definition at line 51 of file HdfTuple.cxx.
H5Utils::WriterXd::~WriterXd | ( | ) |
Definition at line 80 of file HdfTuple.cxx.
|
private |
Definition at line 144 of file HdfTuple.cxx.
void H5Utils::WriterXd::fillWhileIncrementing | ( | std::vector< size_t > & | indices | ) |
Definition at line 90 of file HdfTuple.cxx.
void H5Utils::WriterXd::flush | ( | ) |
Definition at line 115 of file HdfTuple.cxx.
size_t H5Utils::WriterXd::index | ( | ) | const |
Definition at line 140 of file HdfTuple.cxx.
|
private |
Definition at line 172 of file HdfTuple.h.
|
private |
Definition at line 174 of file HdfTuple.h.
|
private |
Definition at line 171 of file HdfTuple.h.
|
private |
Definition at line 176 of file HdfTuple.h.
|
private |
Definition at line 175 of file HdfTuple.h.
|
private |
Definition at line 170 of file HdfTuple.h.
|
private |
Definition at line 173 of file HdfTuple.h.
|
private |
Definition at line 169 of file HdfTuple.h.