Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
GenericFeatureInterpretation.h
1 /*-----------------------------------------------------------------------
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"; you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 -----------------------------------------------------------------------*/
19 #pragma once
20 
21 #include "../resqml2/AbstractFeatureInterpretation.h"
22 
23 namespace RESQML2_NS
24 {
29  class GenericFeatureInterpretation : public RESQML2_NS::AbstractFeatureInterpretation
30  {
31  public:
32 
34  virtual ~GenericFeatureInterpretation() = default;
35 
37  DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
38 
39  DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
40 
41  protected:
42 
50  DLL_IMPORT_OR_EXPORT GenericFeatureInterpretation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::AbstractFeatureInterpretation(partialObject) {}
51 
55  GenericFeatureInterpretation() {}
56 
62  GenericFeatureInterpretation(gsoap_resqml2_0_1::_resqml20__GenericFeatureInterpretation* fromGsoap) : RESQML2_NS::AbstractFeatureInterpretation(fromGsoap) {}
63 
69  GenericFeatureInterpretation(gsoap_eml2_3::_resqml22__GenericFeatureInterpretation* fromGsoap) : RESQML2_NS::AbstractFeatureInterpretation(fromGsoap) {}
70  };
71 }
Proxy class for an abstract feature interpretation.
Definition: AbstractFeatureInterpretation.h:29
An interpretation of a feature that is not specialized. For example, use it when the specialized type...
Definition: GenericFeatureInterpretation.h:30
static const char * XML_TAG
Definition: GenericFeatureInterpretation.h:37
virtual ~GenericFeatureInterpretation()=default
virtual std::string getXmlTag() const final
Definition: GenericFeatureInterpretation.h:39