Fesapi 2.3.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
AbstractFeatureInterpretation.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 RESQML2_NS
24{
25 class GridConnectionSetRepresentation;
26
28 class AbstractFeatureInterpretation : public COMMON_NS::AbstractObject
29 {
30 protected:
31
39 DLL_IMPORT_OR_EXPORT AbstractFeatureInterpretation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : COMMON_NS::AbstractObject(partialObject) {}
40
43
49 AbstractFeatureInterpretation(gsoap_resqml2_0_1::resqml20__AbstractFeatureInterpretation* fromGsoap) : COMMON_NS::AbstractObject(fromGsoap) {}
50 AbstractFeatureInterpretation(gsoap_eml2_3::resqml22__AbstractFeatureInterpretation* fromGsoap) : COMMON_NS::AbstractObject(fromGsoap) {}
51
52 public:
53
55 virtual ~AbstractFeatureInterpretation() = default;
56
63 COMMON_NS::DataObjectReference getInterpretedFeatureDor() const;
64
72 DLL_IMPORT_OR_EXPORT void setInterpretedFeature(AbstractFeature* feature);
73
79 DLL_IMPORT_OR_EXPORT AbstractFeature* getInterpretedFeature() const;
80
91 DLL_IMPORT_OR_EXPORT gsoap_resqml2_0_1::resqml20__Domain initDomain(gsoap_resqml2_0_1::resqml20__Domain defaultDomain) const;
92
98 DLL_IMPORT_OR_EXPORT gsoap_resqml2_0_1::resqml20__Domain getDomain() const;
99
105 DLL_IMPORT_OR_EXPORT std::vector<AbstractRepresentation *> getRepresentationSet() const;
106
115 DLL_IMPORT_OR_EXPORT unsigned int getRepresentationCount() const;
116
122 DLL_IMPORT_OR_EXPORT std::vector<GridConnectionSetRepresentation *> getGridConnectionSetRepresentationSet() const;
123
134 DLL_IMPORT_OR_EXPORT AbstractRepresentation * getRepresentation(unsigned int index) const;
135
137 virtual void loadTargetRelationships() override;
138 };
139}
Proxy class for an abstract feature.
Definition: AbstractFeature.h:31
Proxy class for an abstract feature interpretation.
Definition: AbstractFeatureInterpretation.h:29
std::vector< GridConnectionSetRepresentation * > getGridConnectionSetRepresentationSet() const
virtual void loadTargetRelationships() override
gsoap_resqml2_0_1::resqml20__Domain initDomain(gsoap_resqml2_0_1::resqml20__Domain defaultDomain) const
unsigned int getRepresentationCount() const
std::vector< AbstractRepresentation * > getRepresentationSet() const
virtual ~AbstractFeatureInterpretation()=default
gsoap_resqml2_0_1::resqml20__Domain getDomain() const
AbstractFeature * getInterpretedFeature() const
void setInterpretedFeature(AbstractFeature *feature)
common::DataObjectReference getInterpretedFeatureDor() const
AbstractRepresentation * getRepresentation(unsigned int index) const
Proxy class for an abstract representation.
Definition: AbstractRepresentation.h:32