Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
StructuralOrganizationInterpretation.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 "AbstractOrganizationInterpretation.h"
22 
23 namespace RESQML2_NS
24 {
25  class FaultInterpretation;
26  class HorizonInterpretation;
27 
35  {
36  public:
37 
40 
48  DLL_IMPORT_OR_EXPORT virtual void pushBackFaultInterpretation(FaultInterpretation * faultInterpretation) = 0;
49 
58  DLL_IMPORT_OR_EXPORT virtual unsigned int getFaultInterpretationCount() const = 0;
59 
69  DLL_IMPORT_OR_EXPORT virtual COMMON_NS::DataObjectReference getFaultInterpretationDor(unsigned int index) const = 0;
70 
80  DLL_IMPORT_OR_EXPORT FaultInterpretation* getFaultInterpretation(unsigned int index) const;
81 
91  DLL_IMPORT_OR_EXPORT virtual void pushBackHorizonInterpretation(HorizonInterpretation * horizonInterpretation, int stratigraphicRank) = 0;
92 
101  DLL_IMPORT_OR_EXPORT virtual unsigned int getHorizonInterpretationCount() const = 0;
102 
112  DLL_IMPORT_OR_EXPORT virtual COMMON_NS::DataObjectReference getHorizonInterpretationDor(unsigned int index) const = 0;
113 
123  DLL_IMPORT_OR_EXPORT HorizonInterpretation* getHorizonInterpretation(unsigned int index) const;
124 
132  DLL_IMPORT_OR_EXPORT virtual void pushBackTopFrontierInterpretation(AbstractFeatureInterpretation * topFrontierInterpretation) = 0;
133 
142  DLL_IMPORT_OR_EXPORT virtual unsigned int getTopFrontierInterpretationCount() const = 0;
143 
154  DLL_IMPORT_OR_EXPORT virtual COMMON_NS::DataObjectReference getTopFrontierInterpretationDor(unsigned int index) const = 0;
155 
165  DLL_IMPORT_OR_EXPORT AbstractFeatureInterpretation* getTopFrontierInterpretation(unsigned int index) const;
166 
174  DLL_IMPORT_OR_EXPORT virtual void pushBackBottomFrontierInterpretation(AbstractFeatureInterpretation * bottomFrontierInterpretation) = 0;
175 
184  DLL_IMPORT_OR_EXPORT virtual unsigned int getBottomFrontierInterpretationCount() const = 0;
185 
197  DLL_IMPORT_OR_EXPORT virtual COMMON_NS::DataObjectReference getBottomFrontierInterpretationDor(unsigned int index) const = 0;
198 
209  DLL_IMPORT_OR_EXPORT AbstractFeatureInterpretation* getBottomFrontierInterpretation(unsigned int index) const;
210 
218  DLL_IMPORT_OR_EXPORT virtual void pushBackSideFrontierInterpretation(AbstractFeatureInterpretation * sideFrontierInterpretation) = 0;
219 
228  DLL_IMPORT_OR_EXPORT virtual unsigned int getSideFrontierInterpretationCount() const = 0;
229 
241  DLL_IMPORT_OR_EXPORT virtual COMMON_NS::DataObjectReference getSideFrontierInterpretationDor(unsigned int index) const = 0;
242 
253  DLL_IMPORT_OR_EXPORT AbstractFeatureInterpretation* getSideFrontierInterpretation(unsigned int index) const;
254 
256  DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
257 
258  DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
259 
260  protected:
261 
265  StructuralOrganizationInterpretation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractOrganizationInterpretation(partialObject) {}
266 
277  StructuralOrganizationInterpretation() {}
278 
284  StructuralOrganizationInterpretation(gsoap_resqml2_0_1::_resqml20__StructuralOrganizationInterpretation* fromGsoap): AbstractOrganizationInterpretation(fromGsoap) {}
285 
291  StructuralOrganizationInterpretation(gsoap_eml2_3::_resqml22__StructuralOrganizationInterpretation* fromGsoap) : AbstractOrganizationInterpretation(fromGsoap) {}
292 
294  void loadTargetRelationships();
295  };
296 }
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
HorizonInterpretation * getHorizonInterpretation(unsigned int index) const
virtual common::DataObjectReference getHorizonInterpretationDor(unsigned int index) const =0
virtual common::DataObjectReference getBottomFrontierInterpretationDor(unsigned int index) const =0
FaultInterpretation * getFaultInterpretation(unsigned int index) const
virtual unsigned int getBottomFrontierInterpretationCount() const =0
virtual unsigned int getFaultInterpretationCount() const =0
static const char * XML_TAG
Definition: StructuralOrganizationInterpretation.h:256
virtual common::DataObjectReference getTopFrontierInterpretationDor(unsigned int index) const =0
virtual std::string getXmlTag() const final
Definition: StructuralOrganizationInterpretation.h:258
virtual common::DataObjectReference getFaultInterpretationDor(unsigned int index) const =0
virtual void pushBackSideFrontierInterpretation(AbstractFeatureInterpretation *sideFrontierInterpretation)=0
AbstractFeatureInterpretation * getSideFrontierInterpretation(unsigned int index) const
AbstractFeatureInterpretation * getTopFrontierInterpretation(unsigned int index) const
virtual common::DataObjectReference getSideFrontierInterpretationDor(unsigned int index) const =0
virtual unsigned int getTopFrontierInterpretationCount() const =0
AbstractFeatureInterpretation * getBottomFrontierInterpretation(unsigned int index) const
virtual void pushBackHorizonInterpretation(HorizonInterpretation *horizonInterpretation, int stratigraphicRank)=0
virtual unsigned int getSideFrontierInterpretationCount() const =0