![]() |
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 ) |
Definition at line 383 of file Writer.h.
| H5Utils::Writer< N, I >::Writer | ( | H5::Group & | group, |
| const Consumers< I > & | consumers, | ||
| const WriterConfiguration< N > & | cfg = WriterConfiguration<N>() ) |
Definition at line 398 of file Writer.h.
|
delete |
|
default |
| H5Utils::Writer< N, I >::~Writer | ( | ) |
Definition at line 431 of file Writer.h.
Definition at line 444 of file Writer.h.
| void H5Utils::Writer< N, I >::flush | ( | ) |
Definition at line 494 of file Writer.h.
| size_t H5Utils::Writer< N, I >::index | ( | ) | const |
|
delete |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |