ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
HDF5Utils
HDF5Utils
WriterCommon.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef H5UTILS_WRITERCOMMON_H
5
#define H5UTILS_WRITERCOMMON_H
6
7
namespace
H5
{
8
class
CompType;
9
class
DataSpace;
10
class
DSetCreatPropList;
11
}
12
13
#include "
WriterConfiguration.h
"
14
15
#include "
H5Traits.h
"
16
#include "H5Cpp.h"
17
18
#include <vector>
19
20
namespace
H5Utils
{
21
namespace
internal
{
22
23
// packing utility, to create a compact on-disk representation of
24
// the HDF5 type.
25
H5::CompType
packed
(H5::CompType in);
26
27
// functions which are used by writers to set up the data spaces
28
// and datasets
29
H5::DataSpace
getUnlimitedSpace
(
const
std::vector<hsize_t>& max_length);
30
template
<
size_t
N>
31
H5::DSetCreatPropList
getChunckedDatasetParams
(
32
const
WriterConfiguration<N>
&);
33
std::vector<hsize_t>
getStriding
(std::vector<hsize_t> max_length);
34
35
// writer error handling
36
void
throwIfExists
(
const
std::string& name,
const
H5::Group& in_group);
37
void
printDestructorError
(
const
std::string&
msg
);
38
39
}
40
}
41
42
#include "
WriterCommon.icc
"
43
44
#endif
H5Traits.h
WriterCommon.icc
WriterConfiguration.h
H5Utils::internal
clssses to add type traits for H5
Definition
CompressedTypes.h:18
H5Utils::internal::packed
H5::CompType packed(H5::CompType in)
Definition
WriterCommon.cxx:16
H5Utils::internal::getChunckedDatasetParams
H5::DSetCreatPropList getChunckedDatasetParams(const WriterConfiguration< N > &)
H5Utils::internal::getStriding
std::vector< hsize_t > getStriding(std::vector< hsize_t > max_length)
Definition
WriterCommon.cxx:38
H5Utils::internal::getUnlimitedSpace
H5::DataSpace getUnlimitedSpace(const std::vector< hsize_t > &max_length)
Definition
WriterCommon.cxx:31
H5Utils::internal::printDestructorError
void printDestructorError(const std::string &msg)
Definition
WriterCommon.cxx:24
H5Utils::internal::throwIfExists
void throwIfExists(const std::string &name, const H5::Group &in_group)
Definition
WriterCommon.cxx:46
H5Utils
HDF5 Tuple Writer.
Definition
CompressedTypes.h:16
H5
HDF5 Traits.
Definition
H5Traits.h:17
H5Utils::WriterConfiguration
Definition
WriterConfiguration.h:22
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.17.0