Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
RockFluidUnitFeature.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 "GeologicUnitFeature.h"
22 
23 namespace PRODML2_1_NS {
25  class FluidCharacterization;
26 }
27 
28 namespace RESQML2_0_1_NS
29 {
32  {
33  public:
34 
42  DLL_IMPORT_OR_EXPORT RockFluidUnitFeature(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : GeologicUnitFeature(partialObject) {}
43 
55  RockFluidUnitFeature(COMMON_NS::DataObjectRepository* repo, const std::string & guid, const std::string & title, gsoap_resqml2_0_1::resqml20__Phase phase,
56  class BoundaryFeature* top, class BoundaryFeature* bottom);
57 
63  RockFluidUnitFeature(gsoap_resqml2_0_1::_resqml20__RockFluidUnitFeature* fromGsoap): GeologicUnitFeature(fromGsoap) {}
64 
66  ~RockFluidUnitFeature() = default;
67 
73  DLL_IMPORT_OR_EXPORT void setTop(class BoundaryFeature* top);
75  DLL_IMPORT_OR_EXPORT class BoundaryFeature* getTop() const;
76 
82  DLL_IMPORT_OR_EXPORT void setBottom(class BoundaryFeature* bottom);
84  DLL_IMPORT_OR_EXPORT class BoundaryFeature* getBottom() const;
85 
91  DLL_IMPORT_OR_EXPORT std::vector<PRODML2_1_NS::FluidCharacterization *> getFluidCharacterizationSet() const;
92 
98  DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
99 
105  DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const { return XML_TAG; }
106 
107  private:
109  void loadTargetRelationships();
110  };
111 }
Definition: BoundaryFeature.h:27
Definition: GeologicUnitFeature.h:27
Definition: RockFluidUnitFeature.h:32
void setBottom(class BoundaryFeature *bottom)
std::vector< prodml2_1::FluidCharacterization * > getFluidCharacterizationSet() const
class BoundaryFeature * getBottom() const
static const char * XML_TAG
Definition: RockFluidUnitFeature.h:98
RockFluidUnitFeature(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, gsoap_resqml2_0_1::resqml20__Phase phase, class BoundaryFeature *top, class BoundaryFeature *bottom)
class BoundaryFeature * getTop() const
void setTop(class BoundaryFeature *top)
virtual std::string getXmlTag() const
Definition: RockFluidUnitFeature.h:105
RockFluidUnitFeature(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: RockFluidUnitFeature.h:42
RockFluidUnitFeature(gsoap_resqml2_0_1::_resqml20__RockFluidUnitFeature *fromGsoap)
Definition: RockFluidUnitFeature.h:63