Fesapi 2.10.1.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
HdfProxy.h
1/*-----------------------------------------------------------------------
2Licensed to the Apache Software Foundation (ASF) under one
3or more contributor license agreements. See the NOTICE file
4distributed with this work for additional information
5regarding copyright ownership. The ASF licenses this file
6to you under the Apache License, Version 2.0 (the
7"License"; you may not use this file except in compliance
8with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing,
13software distributed under the License is distributed on an
14"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15KIND, either express or implied. See the License for the
16specific language governing permissions and limitations
17under the License.
18-----------------------------------------------------------------------*/
19#pragma once
20
21#include "../eml2/HdfProxy.h"
22
23namespace EML2_0_NS
24{
26 class HdfProxy : public EML2_NS::HdfProxy
27 {
28 public:
29
35 DLL_IMPORT_OR_EXPORT HdfProxy(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : EML2_NS::HdfProxy(partialObject) {}
36
42 DLL_IMPORT_OR_EXPORT HdfProxy(const COMMON_NS::DataObjectReference& dor) : EML2_NS::HdfProxy(dor) {}
43
58 DLL_IMPORT_OR_EXPORT HdfProxy(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
59 const std::string & packageDirAbsolutePath, const std::string & externalFilePath,
60 COMMON_NS::DataObjectRepository::openingMode hdfPermissionAccess = COMMON_NS::DataObjectRepository::openingMode::READ_ONLY) :
61 EML2_NS::HdfProxy(packageDirAbsolutePath, externalFilePath, hdfPermissionAccess)
62 {
63 initGsoapProxy(repo, guid, title, 20);
64 }
65
73 DLL_IMPORT_OR_EXPORT HdfProxy(gsoap_resqml2_0_1::_eml20__EpcExternalPartReference* fromGsoap) :
74 EML2_NS::HdfProxy(fromGsoap) {}
75
77 DLL_IMPORT_OR_EXPORT ~HdfProxy() = default;
78
82 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_NS = "eml20";
83
87 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
88 };
89}
Definition HdfProxy.h:27
~HdfProxy()=default
HdfProxy(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition HdfProxy.h:35
HdfProxy(const common::DataObjectReference &dor)
Constructor.
Definition HdfProxy.h:42
std::string getXmlNamespace() const final
Definition HdfProxy.h:87
HdfProxy(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)
Definition HdfProxy.h:58
HdfProxy(gsoap_resqml2_0_1::_eml20__EpcExternalPartReference *fromGsoap)
Definition HdfProxy.h:73