Fesapi 2.9.0.1
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
common::HdfProxyMPIFactory Class Reference

A proxy factory for an HDF5 file accessed through HDF5 parallel library (OpenMPI). More...

#include <HdfProxyMPIFactory.h>

Inheritance diagram for common::HdfProxyMPIFactory:
common::HdfProxyFactory

Public Member Functions

 HdfProxyMPIFactory ()
 
 ~HdfProxyMPIFactory ()=default
 
eml2::AbstractHdfProxymake (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) override
 Creates an instance of HDF5 file proxy for serialization purpose.
 
- Public Member Functions inherited from common::HdfProxyFactory
virtual ~HdfProxyFactory ()=default
 
virtual eml2::AbstractHdfProxymake (const DataObjectReference &dor)
 Creates an instance of HDF5 file proxy. Only to be used in partial transfer context.
 
virtual eml2::AbstractHdfProxymake (gsoap_resqml2_0_1::_eml20__EpcExternalPartReference *fromGsoap)
 

Detailed Description

A proxy factory for an HDF5 file accessed through HDF5 parallel library (OpenMPI).

Constructor & Destructor Documentation

◆ HdfProxyMPIFactory()

common::HdfProxyMPIFactory::HdfProxyMPIFactory ( )
inline

Default constructor

◆ ~HdfProxyMPIFactory()

common::HdfProxyMPIFactory::~HdfProxyMPIFactory ( )
default

Destructor

Member Function Documentation

◆ 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_argumentIf repo == nullptr.
std::invalid_argumentIf the Energistics standard is unrecognized.
Parameters
[in]repoA non-null data object repository.
guidThe guid to set to the HDF5 file proxy. If empty then a new guid will be generated.
titleThe title to set to the HDF5 file proxy. If empty then "unknown" title will be set.
packageDirAbsolutePathPath of the directory containing the EPC file.
externalFilePathPath 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: