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

An HDF5 file proxy factory. More...

#include <HdfProxyFactory.h>

Inheritance diagram for common::HdfProxyFactory:
ETP_NS::EtpHdfProxyFactory common::HdfProxyROS3Factory

Public Member Functions

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

Detailed Description

An HDF5 file proxy factory.

Constructor & Destructor Documentation

◆ ~HdfProxyFactory()

virtual common::HdfProxyFactory::~HdfProxyFactory ( )
virtualdefault

Destructor

Member Function Documentation

◆ make() [1/4]

virtual eml2::AbstractHdfProxy* common::HdfProxyFactory::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 
)
virtual

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 in ETP_NS::EtpHdfProxyFactory.

◆ make() [2/4]

virtual eml2::AbstractHdfProxy* common::HdfProxyFactory::make ( const DataObjectReference dor)
virtual

Creates an instance of HDF5 file proxy. Only to be used in partial transfer context.

Exceptions
std::logic_errorRaised when a logic error condition occurs.
Parameters
[in]dorIf non-null, the dor.
Returns
A pointer to an instantiated HDF5 file proxy.

Reimplemented in ETP_NS::EtpHdfProxyFactory.

◆ make() [3/4]

virtual eml2::AbstractHdfProxy* common::HdfProxyFactory::make ( gsoap_eml2_3::_eml23__EpcExternalPartReference *  fromGsoap)
virtual

Creates an instance of HDF5 file proxy by wrapping a gSOAP instance.

Parameters
[in]fromGsoapIf non-null, the gSOAP instance.
Returns
A pointer to an instantiated HDF5 file proxy.

◆ make() [4/4]

virtual eml2::AbstractHdfProxy* common::HdfProxyFactory::make ( gsoap_resqml2_0_1::_eml20__EpcExternalPartReference *  fromGsoap)
inlinevirtual

Creates an instance of HDF5 file proxy by wrapping a gSOAP instance.

Parameters
[in]fromGsoapIf non-null, the gSOAP instance.
Returns
A pointer to an instantiated HDF5 file proxy.

Reimplemented in ETP_NS::EtpHdfProxyFactory, and common::HdfProxyROS3Factory.


The documentation for this class was generated from the following file: