#include <IH5Merger.h>
|
| virtual | ~IH5Merger ()=0 |
| virtual void | merge (H5::H5File &target, const H5::H5File &source) |
| | Merge a source file into a target file.
|
| virtual void | merge (H5::Group &target, const H5::Group &source)=0 |
| | Merge a source group into a target group.
|
| virtual void | merge (H5::DataSet &target, const H5::DataSet &source)=0 |
| | Merge a source dataset into a target dataset.
|
| virtual H5::Group | createFrom (H5::H5Location &targetLocation, const H5::Group &source) |
| | Make a new group from information in a source group.
|
| virtual H5::DataSet | createFrom (H5::H5Location &targetLocation, const H5::DataSet &source)=0 |
| | Make a new dataset from information in a source dataset.
|
Definition at line 25 of file IH5Merger.h.
◆ ~IH5Merger()
| H5Utils::IH5Merger::~IH5Merger |
( |
| ) |
|
|
pure virtual |
◆ createFrom() [1/2]
| virtual H5::DataSet H5Utils::IH5Merger::createFrom |
( |
H5::H5Location & | targetLocation, |
|
|
const H5::DataSet & | source ) |
|
pure virtual |
Make a new dataset from information in a source dataset.
- Parameters
-
| targetLocation | Where the new dataset will be created |
| source | The dataset to use to create the new dataset |
Implemented in H5Utils::DefaultMerger.
◆ createFrom() [2/2]
| H5::Group H5Utils::IH5Merger::createFrom |
( |
H5::H5Location & | targetLocation, |
|
|
const H5::Group & | source ) |
|
virtual |
Make a new group from information in a source group.
- Parameters
-
| targetLocation | Where the new group will be created |
| source | The group to use to create the new group |
The default implementation provided here just copies the source group's name then uses the merge function.
Reimplemented in H5Utils::DefaultMerger.
Definition at line 18 of file IH5Merger.cxx.
21 {
22 H5::Group newGroup = targetLocation.createGroup(
source.getObjName() );
23 merge(newGroup, source);
24 return newGroup;
25 }
virtual void merge(H5::H5File &target, const H5::H5File &source)
Merge a source file into a target file.
◆ merge() [1/3]
| virtual void H5Utils::IH5Merger::merge |
( |
H5::DataSet & | target, |
|
|
const H5::DataSet & | source ) |
|
pure virtual |
Merge a source dataset into a target dataset.
- Parameters
-
| target | The dataset to merge into |
| source | The dataset to merge from |
Implemented in H5Utils::DefaultMerger.
◆ merge() [2/3]
| virtual void H5Utils::IH5Merger::merge |
( |
H5::Group & | target, |
|
|
const H5::Group & | source ) |
|
pure virtual |
Merge a source group into a target group.
- Parameters
-
| target | The group to merge into |
| source | The group to merge from |
Implemented in H5Utils::DefaultMerger.
◆ merge() [3/3]
| void H5Utils::IH5Merger::merge |
( |
H5::H5File & | target, |
|
|
const H5::H5File & | source ) |
|
virtual |
Merge a source file into a target file.
- Parameters
-
| target | The file to merge into |
| source | The file to merge from |
The default implementation provided here just forwards this to the group function.
Reimplemented in H5Utils::DefaultMerger.
Definition at line 11 of file IH5Merger.cxx.
12 {
14 static_cast<H5::Group&>(target),
15 static_cast<const H5::Group&>(source) );
16 }
The documentation for this class was generated from the following files: