A proxy factory for an HDF5 file accessed through HDF5 parallel library (OpenMPI).
More...
#include <HdfProxyMPIFactory.h>
A proxy factory for an HDF5 file accessed through HDF5 parallel library (OpenMPI).
◆ HdfProxyMPIFactory()
common::HdfProxyMPIFactory::HdfProxyMPIFactory |
( |
| ) |
|
|
inline |
◆ ~HdfProxyMPIFactory()
common::HdfProxyMPIFactory::~HdfProxyMPIFactory |
( |
| ) |
|
|
default |
◆ make()
eml2::AbstractHdfProxy * common::HdfProxyMPIFactory::make |
( |
common ::DataObjectRepository * | repo, |
|
|
const std::string & | guid, |
|
|
const std::string & | title, |
|
|
const std::string & | packageDirAbsolutePath, |
|
|
const std::string & | externalFilePath, |
|
|
common ::DataObjectRepository::openingMode | hdfPermissionAccess = common ::DataObjectRepository::openingMode::READ_ONLY ) |
|
overridevirtual |
Creates an instance of HDF5 file proxy for serialization purpose.
- Exceptions
-
std::invalid_argument | If repo == nullptr . |
std::invalid_argument | If the Energistics standard is unrecognized. |
- Parameters
-
[in] | repo | A non-null data object repository. |
| guid | The guid to set to the HDF5 file proxy. If empty then a new guid will be generated. |
| title | The title to set to the HDF5 file proxy. If empty then "unknown" title will be set. |
| packageDirAbsolutePath | Path of the directory containing the EPC file. |
| externalFilePath | Path of the HDF5 file relative to the directory where the EPC document is stored. |
| hdfPermissionAccess | (Optional) The HDF5 file permission access. It is read only by default. |
- Returns
- A pointer to an instantiated HDF5 file proxy.
Reimplemented from common::HdfProxyFactory.
The documentation for this class was generated from the following file: