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
EpcExternalPartReference.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 "../common/AbstractObject.h"
22
23namespace EML2_NS
24{
29 class EpcExternalPartReference : public COMMON_NS::AbstractObject
30 {
31 public:
32
34 virtual ~EpcExternalPartReference() = default;
35
37 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_TAG = "EpcExternalPartReference";
38
39 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
40
41 protected:
42
45
51 explicit EpcExternalPartReference(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : COMMON_NS::AbstractObject(partialObject) {}
52 explicit EpcExternalPartReference(const COMMON_NS::DataObjectReference& dor) : COMMON_NS::AbstractObject(dor) {}
53
59 explicit EpcExternalPartReference(gsoap_resqml2_0_1::_eml20__EpcExternalPartReference* fromGsoap) :
60 COMMON_NS::AbstractObject(fromGsoap) {}
61
63 void loadTargetRelationships() final {};
64 };
65}
Proxy class for handling external parts of an EPC package. It must be used at least for external HDF5...
Definition EpcExternalPartReference.h:30
virtual ~EpcExternalPartReference()=default