ATLAS Offline Software
Loading...
Searching...
No Matches
IH5Merger.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace H5Utils {
8
10
11 void IH5Merger::merge(H5::H5File& target, const H5::H5File& source)
12 {
13 merge(
14 static_cast<H5::Group&>(target),
15 static_cast<const H5::Group&>(source) );
16 }
17
19 H5::H5Location& targetLocation,
20 const H5::Group& source)
21 {
22 H5::Group newGroup = targetLocation.createGroup(source.getObjName() );
23 merge(newGroup, source);
24 return newGroup;
25 }
26} //> end namespace H5Utils
virtual void merge(H5::H5File &target, const H5::H5File &source)
Merge a source file into a target file.
Definition IH5Merger.cxx:11
virtual H5::Group createFrom(H5::H5Location &targetLocation, const H5::Group &source)
Make a new group from information in a source group.
Definition IH5Merger.cxx:18
virtual ~IH5Merger()=0
Definition IH5Merger.cxx:9
HDF5 Tuple Writer.
Definition common.h:20
Definition merge.py:1