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
ETP_NS::EtpHdfProxyFactory Class Reference
Inheritance diagram for ETP_NS::EtpHdfProxyFactory:
common::HdfProxyFactory

Public Member Functions

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

Member Function Documentation

◆ make() [1/4]

eml2::AbstractHdfProxy* ETP_NS::EtpHdfProxyFactory::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 
)
inlinevirtual

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.

◆ make() [2/4]

eml2::AbstractHdfProxy* ETP_NS::EtpHdfProxyFactory::make ( const common::DataObjectReference dor)
inlinevirtual

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 from common::HdfProxyFactory.

◆ make() [3/4]

eml2::AbstractHdfProxy* ETP_NS::EtpHdfProxyFactory::make ( gsoap_resqml2_0_1::_eml20__EpcExternalPartReference *  fromGsoap)
inlinevirtual

Creates an instance of this class by wrapping a gsoap instance.

Reimplemented from common::HdfProxyFactory.

◆ make() [4/4]

eml2::AbstractHdfProxy* ETP_NS::EtpHdfProxyFactory::make ( gsoap_resqml2_0_1::eml20__DataObjectReference *  partialObject)
inline

Only to be used in partial transfer context


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