Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
WellboreFeature.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 "AbstractTechnicalFeature.h"
22 
23 namespace WITSML2_0_NS
24 {
25  class Wellbore;
26 }
27 
28 namespace RESQML2_NS
29 {
46  {
47  public:
48 
49  WellboreFeature() {}
50 
56  DLL_IMPORT_OR_EXPORT WellboreFeature(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractTechnicalFeature(partialObject) {}
57 
63  WellboreFeature(gsoap_resqml2_0_1::_resqml20__WellboreFeature* fromGsoap): AbstractTechnicalFeature(fromGsoap) {}
64 
70  WellboreFeature(gsoap_eml2_3::_resqml22__WellboreFeature* fromGsoap) : AbstractTechnicalFeature(fromGsoap) {}
71 
75  virtual ~WellboreFeature() = default;
76 
86  DLL_IMPORT_OR_EXPORT WITSML2_0_NS::Wellbore* getWitsmlWellbore() const;
87 
95  DLL_IMPORT_OR_EXPORT virtual void setWitsmlWellbore(WITSML2_0_NS::Wellbore * wellbore) = 0;
96 
100  DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
101 
102  DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
103  };
104 }
An abstract technical feature. These are objects that exist by the action of humans.
Definition: AbstractTechnicalFeature.h:37
May refer to one of these: wellore, borehole or sidetrack.
Definition: WellboreFeature.h:46
WellboreFeature(gsoap_resqml2_0_1::_resqml20__WellboreFeature *fromGsoap)
Definition: WellboreFeature.h:63
virtual ~WellboreFeature()=default
static const char * XML_TAG
Definition: WellboreFeature.h:100
virtual std::string getXmlTag() const final
Definition: WellboreFeature.h:102
WellboreFeature(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: WellboreFeature.h:56
WellboreFeature(gsoap_eml2_3::_resqml22__WellboreFeature *fromGsoap)
Definition: WellboreFeature.h:70
witsml2_0::Wellbore * getWitsmlWellbore() const
virtual void setWitsmlWellbore(witsml2_0::Wellbore *wellbore)=0