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
StructuralOrganizationInterpretation.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 "AbstractOrganizationInterpretation.h"
22
23namespace RESQML2_NS
24{
25 class FaultInterpretation;
26 class HorizonInterpretation;
27
35 {
36 public:
37
40
41 bool isStructural() const final { return true; }
42
50 DLL_IMPORT_OR_EXPORT virtual void pushBackFaultInterpretation(FaultInterpretation * faultInterpretation) = 0;
51
60 DLL_IMPORT_OR_EXPORT virtual unsigned int getFaultInterpretationCount() const = 0;
61
71 DLL_IMPORT_OR_EXPORT virtual COMMON_NS::DataObjectReference getFaultInterpretationDor(unsigned int index) const = 0;
72
82 DLL_IMPORT_OR_EXPORT FaultInterpretation* getFaultInterpretation(unsigned int index) const;
83
93 DLL_IMPORT_OR_EXPORT virtual void pushBackHorizonInterpretation(HorizonInterpretation * horizonInterpretation, int stratigraphicRank) = 0;
94
103 DLL_IMPORT_OR_EXPORT virtual unsigned int getHorizonInterpretationCount() const = 0;
104
114 DLL_IMPORT_OR_EXPORT virtual COMMON_NS::DataObjectReference getHorizonInterpretationDor(unsigned int index) const = 0;
115
125 DLL_IMPORT_OR_EXPORT HorizonInterpretation* getHorizonInterpretation(unsigned int index) const;
126
134 DLL_IMPORT_OR_EXPORT virtual void pushBackTopFrontierInterpretation(AbstractFeatureInterpretation * topFrontierInterpretation) = 0;
135
144 DLL_IMPORT_OR_EXPORT virtual unsigned int getTopFrontierInterpretationCount() const = 0;
145
156 DLL_IMPORT_OR_EXPORT virtual COMMON_NS::DataObjectReference getTopFrontierInterpretationDor(unsigned int index) const = 0;
157
167 DLL_IMPORT_OR_EXPORT AbstractFeatureInterpretation* getTopFrontierInterpretation(unsigned int index) const;
168
176 DLL_IMPORT_OR_EXPORT virtual void pushBackBottomFrontierInterpretation(AbstractFeatureInterpretation * bottomFrontierInterpretation) = 0;
177
186 DLL_IMPORT_OR_EXPORT virtual unsigned int getBottomFrontierInterpretationCount() const = 0;
187
199 DLL_IMPORT_OR_EXPORT virtual COMMON_NS::DataObjectReference getBottomFrontierInterpretationDor(unsigned int index) const = 0;
200
211 DLL_IMPORT_OR_EXPORT AbstractFeatureInterpretation* getBottomFrontierInterpretation(unsigned int index) const;
212
220 DLL_IMPORT_OR_EXPORT virtual void pushBackSideFrontierInterpretation(AbstractFeatureInterpretation * sideFrontierInterpretation) = 0;
221
230 DLL_IMPORT_OR_EXPORT virtual unsigned int getSideFrontierInterpretationCount() const = 0;
231
243 DLL_IMPORT_OR_EXPORT virtual COMMON_NS::DataObjectReference getSideFrontierInterpretationDor(unsigned int index) const = 0;
244
255 DLL_IMPORT_OR_EXPORT AbstractFeatureInterpretation* getSideFrontierInterpretation(unsigned int index) const;
256
258 DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
259
260 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
261
262 protected:
263
267 StructuralOrganizationInterpretation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractOrganizationInterpretation(partialObject) {}
268
279 StructuralOrganizationInterpretation() {}
280
286 StructuralOrganizationInterpretation(gsoap_resqml2_0_1::_resqml20__StructuralOrganizationInterpretation* fromGsoap): AbstractOrganizationInterpretation(fromGsoap) {}
287
293 StructuralOrganizationInterpretation(gsoap_eml2_3::_resqml22__StructuralOrganizationInterpretation* fromGsoap) : AbstractOrganizationInterpretation(fromGsoap) {}
294
296 void loadTargetRelationships() final;
297 };
298}
Proxy class for an abstract feature interpretation.
Definition AbstractFeatureInterpretation.h:29
This class defines the behaviour of all RESQML2 organizations.
Definition AbstractOrganizationInterpretation.h:29
A fault interpretation. This type of boundary feature contains the data describing an opinion about t...
Definition FaultInterpretation.h:30
An interpretation of a horizon, which optionally provides stratigraphic information.
Definition HorizonInterpretation.h:27
One of the main types of RESQML organizations, this class gathers boundary interpretations (e....
Definition StructuralOrganizationInterpretation.h:35
virtual void pushBackFaultInterpretation(FaultInterpretation *faultInterpretation)=0
virtual void pushBackBottomFrontierInterpretation(AbstractFeatureInterpretation *bottomFrontierInterpretation)=0
virtual unsigned int getHorizonInterpretationCount() const =0
virtual void pushBackTopFrontierInterpretation(AbstractFeatureInterpretation *topFrontierInterpretation)=0
FaultInterpretation * getFaultInterpretation(unsigned int index) const
virtual common::DataObjectReference getHorizonInterpretationDor(unsigned int index) const =0
AbstractFeatureInterpretation * getSideFrontierInterpretation(unsigned int index) const
virtual common::DataObjectReference getBottomFrontierInterpretationDor(unsigned int index) const =0
bool isStructural() const final
Definition StructuralOrganizationInterpretation.h:41
HorizonInterpretation * getHorizonInterpretation(unsigned int index) const
virtual unsigned int getBottomFrontierInterpretationCount() const =0
virtual unsigned int getFaultInterpretationCount() const =0
static const char * XML_TAG
Definition StructuralOrganizationInterpretation.h:258
virtual common::DataObjectReference getTopFrontierInterpretationDor(unsigned int index) const =0
virtual std::string getXmlTag() const final
Definition StructuralOrganizationInterpretation.h:260
virtual common::DataObjectReference getFaultInterpretationDor(unsigned int index) const =0
virtual void pushBackSideFrontierInterpretation(AbstractFeatureInterpretation *sideFrontierInterpretation)=0
virtual common::DataObjectReference getSideFrontierInterpretationDor(unsigned int index) const =0
AbstractFeatureInterpretation * getBottomFrontierInterpretation(unsigned int index) const
AbstractFeatureInterpretation * getTopFrontierInterpretation(unsigned int index) const
virtual unsigned int getTopFrontierInterpretationCount() const =0
virtual void pushBackHorizonInterpretation(HorizonInterpretation *horizonInterpretation, int stratigraphicRank)=0
virtual unsigned int getSideFrontierInterpretationCount() const =0