ATLAS Offline Software
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 
5 #include "HDF5Utils/IH5Merger.h"
6 
7 namespace 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
TrigDefs::Group
Group
Properties of a chain group.
Definition: GroupProperties.h:13
IH5Merger.h
H5Utils::IH5Merger::createFrom
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
H5Utils
HDF5 Tuple Writer.
Definition: common.h:20
copySelective.target
string target
Definition: copySelective.py:37
copySelective.source
string source
Definition: copySelective.py:32
H5Utils::IH5Merger::merge
virtual void merge(H5::H5File &target, const H5::H5File &source)
Merge a source file into a target file.
Definition: IH5Merger.cxx:11
H5Utils::IH5Merger::~IH5Merger
virtual ~IH5Merger()=0
Definition: IH5Merger.cxx:9