Fesapi 2.3.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
WellboreFeature.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 "AbstractTechnicalFeature.h"
22
23namespace WITSML2_NS
24{
25 class Wellbore;
26}
27
28namespace RESQML2_NS
29{
46 {
47 public:
48
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_NS::Wellbore* getWitsmlWellbore() const;
87
95 DLL_IMPORT_OR_EXPORT virtual void setWitsmlWellbore(WITSML2_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}
A wellbore represents the path from surface to a unique bottomhole location.
Definition: Wellbore.h:46
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
WITSML2_NS::Wellbore * getWitsmlWellbore() const
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
virtual void setWitsmlWellbore(WITSML2_NS::Wellbore *wellbore)=0