ATLAS Offline Software
Loading...
Searching...
No Matches
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#include <vector>
11#include <functional>
12
13#include "H5public.h"
14
15namespace H5 {
16 class DSetCreatPropList;
17}
18
19namespace H5Utils {
20 template <size_t N>
22 {
23 std::string name;
24 std::array<hsize_t,N> extent{};
25 std::optional<hsize_t> batch_size{std::nullopt};
26 std::optional<std::array<hsize_t,N>> chunks{std::nullopt};
27 std::optional<int> deflate{std::nullopt};
28 std::vector<std::function<void(H5::DSetCreatPropList&)>> plist_callbacks;
29 };
30}
31#endif
HDF5 Tuple Writer.
Definition common.h:20
HDF5 Traits.
std::optional< hsize_t > batch_size
std::vector< std::function< void(H5::DSetCreatPropList &)> > plist_callbacks
std::array< hsize_t, N > extent
std::optional< std::array< hsize_t, N > > chunks