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
WellCompletion.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 "../common/AbstractObject.h"
22
23
24namespace WITSML2_1_NS
25{
27 class WellboreCompletion;
28
30 class WellCompletion : public COMMON_NS::AbstractObject
31 {
32 public:
33
41 DLL_IMPORT_OR_EXPORT WellCompletion(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : COMMON_NS::AbstractObject(partialObject) {}
42
53 const std::string & guid,
54 const std::string & title);
55
61 WellCompletion(gsoap_eml2_3::witsml21__WellCompletion* fromGsoap) : COMMON_NS::AbstractObject(fromGsoap) {}
62
64 ~WellCompletion() = default;
65
69 COMMON_NS::DataObjectReference getWellDor() const;
70
72 DLL_IMPORT_OR_EXPORT WITSML2_NS::Well* getWell() const;
73
79 DLL_IMPORT_OR_EXPORT void setWell(WITSML2_NS::Well* witsmlWell);
80
86 DLL_IMPORT_OR_EXPORT std::vector<WellboreCompletion *> getWellboreCompletions() const;
87
93 DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
94
100 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const { return XML_TAG; }
101
106
110 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_NS = "witsml21";
111
115 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
116 };
117}
Contains all information that is the same for all wellbores (sidetracks).
Definition Well.h:43
Definition WellCompletion.h:31
WellCompletion(WITSML2_NS::Well *witsmlWell, const std::string &guid, const std::string &title)
Constructor.
void setWell(WITSML2_NS::Well *witsmlWell)
virtual std::string getXmlTag() const
Definition WellCompletion.h:100
WellCompletion(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition WellCompletion.h:41
common::DataObjectReference getWellDor() const
static const char * XML_TAG
Definition WellCompletion.h:93
WITSML2_NS::Well * getWell() const
WellCompletion(gsoap_eml2_3::witsml21__WellCompletion *fromGsoap)
Definition WellCompletion.h:61
std::vector< WellboreCompletion * > getWellboreCompletions() const
void loadTargetRelationships() final