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
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
83 virtual COMMON_NS::DataObjectReference getWitsmlWellboreDor() const = 0;
84
94 DLL_IMPORT_OR_EXPORT WITSML2_NS::Wellbore* getWitsmlWellbore() const;
95
103 DLL_IMPORT_OR_EXPORT virtual void setWitsmlWellbore(WITSML2_NS::Wellbore * wellbore) = 0;
104
107
111 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_TAG = "WellboreFeature";
112
113 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
114 };
115}
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: wellbore, borehole or sidetrack.
Definition WellboreFeature.h:46
WITSML2_NS::Wellbore * getWitsmlWellbore() const
virtual common::DataObjectReference getWitsmlWellboreDor() const =0
WellboreFeature(gsoap_resqml2_0_1::_resqml20__WellboreFeature *fromGsoap)
Definition WellboreFeature.h:63
virtual ~WellboreFeature()=default
void loadTargetRelationships() final
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