Fesapi 2.9.0.1
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
RockFluidUnitInterpretation.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 "RockFluidOrganizationInterpretation.h"
22
23namespace RESQML2_NS
24{
29 class RockFluidUnitInterpretation : public RESQML2_NS::AbstractFeatureInterpretation
30 {
31 public:
33 virtual ~RockFluidUnitInterpretation() = default;
34
40 DLL_IMPORT_OR_EXPORT virtual bool hasPhase() const = 0;
41
51 DLL_IMPORT_OR_EXPORT virtual gsoap_eml2_3::resqml22__Phase getPhase() const = 0;
52
58 DLL_IMPORT_OR_EXPORT virtual void setPhase(gsoap_eml2_3::resqml22__Phase phase) const = 0;
59
61 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_TAG = "RockFluidUnitInterpretation";
62
63 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
64
65 protected:
69 DLL_IMPORT_OR_EXPORT RockFluidUnitInterpretation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::AbstractFeatureInterpretation(partialObject) {}
70
71 RockFluidUnitInterpretation() {}
72
76 RockFluidUnitInterpretation(gsoap_resqml2_0_1::_resqml20__RockFluidUnitInterpretation* fromGsoap) : RESQML2_NS::AbstractFeatureInterpretation(fromGsoap) {}
77 RockFluidUnitInterpretation(gsoap_eml2_3::_resqml22__RockFluidUnitInterpretation* fromGsoap) : RESQML2_NS::AbstractFeatureInterpretation(fromGsoap) {}
78 };
79}
Proxy class for an abstract feature interpretation.
Definition AbstractFeatureInterpretation.h:29
A type of rock fluid feature-interpretation , this class identifies a rock fluid feature by its phase...
Definition RockFluidUnitInterpretation.h:30
virtual gsoap_eml2_3::resqml22__Phase getPhase() const =0
virtual bool hasPhase() const =0
virtual void setPhase(gsoap_eml2_3::resqml22__Phase phase) const =0
virtual ~RockFluidUnitInterpretation()=default