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
WellboreMarker.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
10http://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/WellboreObject.h"
22
23#include "../MacroDefinitions.h"
24
25namespace WITSML2_1_NS
26{
29 {
30 public:
31
37 DLL_IMPORT_OR_EXPORT WellboreMarker(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : WITSML2_NS::WellboreObject(partialObject) {}
38
50 WellboreMarker(COMMON_NS::DataObjectRepository * repo,
51 const std::string & guid,
52 const std::string & title,
53 double md, gsoap_eml2_3::eml23__LengthUom mdUom);
54
67 const std::string & guid,
68 const std::string & title,
69 double md, gsoap_eml2_3::eml23__LengthUom mdUom);
70
76 WellboreMarker(gsoap_eml2_3::witsml21__WellboreMarker* fromGsoap) : WITSML2_NS::WellboreObject(fromGsoap) {}
77
79 ~WellboreMarker() = default;
80
81 DLL_IMPORT_OR_EXPORT COMMON_NS::DataObjectReference getWellboreDor() const final;
82 DLL_IMPORT_OR_EXPORT void setWellbore(WITSML2_NS::Wellbore* witsmlWellbore) final;
83
84 GETTER_AND_SETTER_DEPTH_MEASURE_OPTIONAL_ATTRIBUTE(Md, gsoap_eml2_3::eml23__LengthUom)
85
86 GETTER_AND_SETTER_MEASURE_OPTIONAL_ATTRIBUTE(DipAngle, gsoap_eml2_3::eml23__PlaneAngleUom)
87 GETTER_AND_SETTER_MEASURE_OPTIONAL_ATTRIBUTE(DipDirection, gsoap_eml2_3::eml23__PlaneAngleUom)
88
94 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_TAG = "WellboreMarker";
95
101 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const { return XML_TAG; }
102
106 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_NS = "witsml21";
107
111 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
112 };
113}
A wellbore represents the path from surface to a unique bottomhole location.
Definition Wellbore.h:46
Definition WellboreObject.h:32
A wellbore represents the path from surface to a unique bottomhole location.
Definition Wellbore.h:29
Definition WellboreMarker.h:29
WellboreMarker(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition WellboreMarker.h:37
std::string getXmlNamespace() const final
Definition WellboreMarker.h:111
WellboreMarker(WITSML2_NS::Wellbore *witsmlWellbore, const std::string &guid, const std::string &title, double md, gsoap_eml2_3::eml23__LengthUom mdUom)
Constructor.
WellboreMarker(common ::DataObjectRepository *repo, const std::string &guid, const std::string &title, double md, gsoap_eml2_3::eml23__LengthUom mdUom)
Constructor.
WellboreMarker(gsoap_eml2_3::witsml21__WellboreMarker *fromGsoap)
Definition WellboreMarker.h:76
common::DataObjectReference getWellboreDor() const final