Fesapi 2.3.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
RockFluidOrganizationInterpretation.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 AbstractGridRepresentation;
26
34 {
35 public:
40
41 bool isRockFluid() const final { return true; }
42
49 DLL_IMPORT_OR_EXPORT std::vector<AbstractGridRepresentation*> getGridRepresentationSet() const;
50
59 DLL_IMPORT_OR_EXPORT unsigned int getGridRepresentationCount() const; // It is mainly used in SWIG context for parsing the vector from a non C++ language.
60
71 DLL_IMPORT_OR_EXPORT AbstractGridRepresentation* getGridRepresentation(unsigned int index) const; // It is mainly used in SWIG context for parsing the vector from a non C++ language.
72
81 DLL_IMPORT_OR_EXPORT bool isAssociatedToGridRepresentation(AbstractGridRepresentation* gridRep) const;
82
90 DLL_IMPORT_OR_EXPORT virtual void pushBackRockFluidUnitInterpretation(class RockFluidUnitInterpretation* rockFluidUnitInterpretation) = 0;
91
97 DLL_IMPORT_OR_EXPORT virtual unsigned int getRockFluidUnitInterpCount() const = 0;
98
110 virtual COMMON_NS::DataObjectReference getRockFluidUnitInterpretationDor(unsigned int index) const = 0;
111
122 DLL_IMPORT_OR_EXPORT class RockFluidUnitInterpretation* getRockFluidUnitInterpretation(unsigned int index) const;
123
124 protected:
128 DLL_IMPORT_OR_EXPORT RockFluidOrganizationInterpretation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractOrganizationInterpretation(partialObject) {}
129
131
135 RockFluidOrganizationInterpretation(gsoap_resqml2_0_1::_resqml20__StratigraphicOccurrenceInterpretation* fromGsoap) : AbstractOrganizationInterpretation(fromGsoap) {}
136 RockFluidOrganizationInterpretation(gsoap_eml2_3::_resqml22__RockFluidOrganizationInterpretation* fromGsoap) : AbstractOrganizationInterpretation(fromGsoap) {}
137
138 private:
139 void loadTargetRelationships() final;
140 };
141}
Proxy class for an abstract grid representation.
Definition: AbstractGridRepresentation.h:27
This class defines the behaviour of all RESQML2 organizations.
Definition: AbstractOrganizationInterpretation.h:29
This class describes the organization of geological reservoir, i.e., of an interconnected network of ...
Definition: RockFluidOrganizationInterpretation.h:34
bool isRockFluid() const final
Definition: RockFluidOrganizationInterpretation.h:41
std::vector< AbstractGridRepresentation * > getGridRepresentationSet() const
class RockFluidUnitInterpretation * getRockFluidUnitInterpretation(unsigned int index) const
virtual common::DataObjectReference getRockFluidUnitInterpretationDor(unsigned int index) const =0
virtual void pushBackRockFluidUnitInterpretation(class RockFluidUnitInterpretation *rockFluidUnitInterpretation)=0
AbstractGridRepresentation * getGridRepresentation(unsigned int index) const
bool isAssociatedToGridRepresentation(AbstractGridRepresentation *gridRep) const
virtual unsigned int getRockFluidUnitInterpCount() const =0
A type of rock fluid feature-interpretation , this class identifies a rock fluid feature by its phase...
Definition: RockFluidUnitInterpretation.h:30