![]() |
ATLAS Offline Software
|
#include <Writer.h>
Public Types | |
using | consumer_type = Consumers< I > |
using | input_type = I |
template<typename T > | |
using | function_type = typename consumer_type::template function_type< T > |
using | configuration_type = WriterConfiguration< N > |
Public Member Functions | |
Writer (H5::Group &group, const std::string &name, const Consumers< I > &consumers, const std::array< hsize_t, N > &extent=internal::uniform< N >(5), hsize_t batch_size=defaults::batch_size) | |
Writer (H5::Group &group, const Consumers< I > &consumers, const WriterConfiguration< N > &=WriterConfiguration< N >()) | |
Writer (const Writer &)=delete | |
Writer (Writer &&)=default | |
Writer & | operator= (Writer &)=delete |
~Writer () | |
template<typename T > | |
void | fill (T) |
void | flush () |
size_t | index () const |
Private Attributes | |
const internal::DSParameters< I, N > | m_par |
hsize_t | m_offset |
hsize_t | m_buffer_rows |
std::vector< internal::data_buffer_t > | m_buffer |
std::vector< SharedConsumer< I > > | m_consumers |
H5::DataSet | m_ds |
H5::DataSpace | m_file_space |
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(...)
method.
using H5Utils::Writer< N, I >::configuration_type = WriterConfiguration<N> |
using H5Utils::Writer< N, I >::consumer_type = Consumers<I> |
using H5Utils::Writer< N, I >::function_type = typename consumer_type::template function_type<T> |
using H5Utils::Writer< N, I >::input_type = I |
H5Utils::Writer< N, I >::Writer | ( | H5::Group & | group, |
const std::string & | name, | ||
const Consumers< I > & | consumers, | ||
const std::array< hsize_t, N > & | extent = internal::uniform<N>(5) , |
||
hsize_t | batch_size = defaults::batch_size |
||
) |
H5Utils::Writer< N, I >::Writer | ( | H5::Group & | group, |
const Consumers< I > & | consumers, | ||
const WriterConfiguration< N > & | cfg = WriterConfiguration<N>() |
||
) |
|
delete |
|
default |
H5Utils::Writer< N, I >::~Writer |
void H5Utils::Writer< N, I >::flush |
size_t H5Utils::Writer< N, I >::index |
|
delete |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |