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
Wellbore.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 "../witsml2/Wellbore.h"
22
23namespace WITSML2_1_NS
24{
29 {
30 public:
31
37 DLL_IMPORT_OR_EXPORT Wellbore(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : WITSML2_NS::Wellbore(partialObject) {}
38
51 const std::string & guid,
52 const std::string & title,
53 bool isActive);
54
68 const std::string & guid,
69 const std::string & title,
70 gsoap_eml2_3::eml23__WellStatus statusWellbore,
71 bool isActive,
72 bool achievedTD
73 );
74
80 Wellbore(gsoap_eml2_3::witsml21__Wellbore* fromGsoap) : WITSML2_NS::Wellbore(fromGsoap) {}
81
83 ~Wellbore() = default;
84
90 COMMON_NS::DataObjectReference getWellDor() const final;
91
97 DLL_IMPORT_OR_EXPORT void setWell(WITSML2_NS::Well* witsmlWell) final;
98
99 FINAL_GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, Number)
100 FINAL_GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, SuffixAPI)
101 FINAL_GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(std::string, NumGovt)
102 FINAL_GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(gsoap_eml2_3::eml23__WellStatus, StatusWellbore)
103 FINAL_GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(gsoap_eml2_3::witsml21__WellPurpose, PurposeWellbore)
104 FINAL_GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(gsoap_eml2_3::witsml21__WellboreType, TypeWellbore)
105 FINAL_GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(gsoap_eml2_3::witsml21__WellboreShape, Shape)
106 FINAL_GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(gsoap_eml2_3::witsml21__WellFluid, FluidWellbore)
107 FINAL_GETTER_AND_SETTER_GENERIC_OPTIONAL_ATTRIBUTE(bool, AchievedTD)
108 FINAL_GETTER_AND_SETTER_DEPTH_MEASURE_OPTIONAL_ATTRIBUTE(Md, gsoap_eml2_3::eml23__LengthUom)
109 FINAL_GETTER_AND_SETTER_DEPTH_MEASURE_OPTIONAL_ATTRIBUTE(MdBit, gsoap_eml2_3::eml23__LengthUom)
110 FINAL_GETTER_AND_SETTER_DEPTH_MEASURE_OPTIONAL_ATTRIBUTE(MdKickoff, gsoap_eml2_3::eml23__LengthUom)
111 FINAL_GETTER_AND_SETTER_DEPTH_MEASURE_OPTIONAL_ATTRIBUTE(MdPlanned, gsoap_eml2_3::eml23__LengthUom)
112 FINAL_GETTER_AND_SETTER_DEPTH_MEASURE_OPTIONAL_ATTRIBUTE(MdSubSeaPlanned, gsoap_eml2_3::eml23__LengthUom)
113
117 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_NS = "witsml21";
118
122 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
123 };
124}
Contains all information that is the same for all wellbores (sidetracks).
Definition Well.h:43
A wellbore represents the path from surface to a unique bottomhole location.
Definition Wellbore.h:46
Contains all information that is the same for all wellbores (sidetracks).
Definition Well.h:29
A wellbore represents the path from surface to a unique bottomhole location.
Definition Wellbore.h:29
common::DataObjectReference getWellDor() const final
Gets well dor.
Wellbore(WITSML2_NS::Well *witsmlWell, const std::string &guid, const std::string &title, bool isActive)
Creates an instance of this class in a gsoap context.
Wellbore(WITSML2_NS::Well *witsmlWell, const std::string &guid, const std::string &title, gsoap_eml2_3::eml23__WellStatus statusWellbore, bool isActive, bool achievedTD)
Constructor.
Wellbore(gsoap_eml2_3::witsml21__Wellbore *fromGsoap)
Definition Wellbore.h:80
Wellbore(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition Wellbore.h:37