ATLAS Offline Software
WriterConfiguration.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef HDF5UTILS_WRITER_CONFIGURATION_H
5 #define HDF5UTILS_WRITER_CONFIGURATION_H
6 
7 #include <optional>
8 #include <array>
9 #include <string>
10 
11 #include "H5public.h"
12 
13 namespace H5Utils {
14  template <size_t N>
16  {
17  std::string name;
18  std::array<hsize_t,N> extent{};
19  std::optional<hsize_t> batch_size{std::nullopt};
20  std::optional<std::array<hsize_t,N>> chunks{std::nullopt};
21  std::optional<int> deflate{std::nullopt};
22  };
23 }
24 #endif
H5Utils::WriterConfiguration::extent
std::array< hsize_t, N > extent
Definition: WriterConfiguration.h:18
H5Utils::WriterConfiguration
Definition: WriterConfiguration.h:16
H5Utils::WriterConfiguration::name
std::string name
Definition: WriterConfiguration.h:17
H5Utils
HDF5 Tuple Writer.
Definition: common.h:20
H5Utils::WriterConfiguration::chunks
std::optional< std::array< hsize_t, N > > chunks
Definition: WriterConfiguration.h:20
H5Utils::WriterConfiguration::batch_size
std::optional< hsize_t > batch_size
Definition: WriterConfiguration.h:19
H5Utils::WriterConfiguration::deflate
std::optional< int > deflate
Definition: WriterConfiguration.h:21