Fesapi 2.3.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
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_1/Trajectory.h"
22#include "witsml2_1/Log.h"
23#include "witsml2_1/WellboreMarkerSet.h"
24
25#include "resqml2_0_1/WellboreFeature.h"
26
27namespace WITSML2_1_NS
28{
30 {
31 public:
36 Wellbore(class Well* witsmlWell,
37 const std::string & guid,
38 const std::string & title);
39
40 Wellbore(class Well* witsmlWell,
41 const std::string & guid,
42 const std::string & title,
43 gsoap_eml2_2::eml22__WellStatus statusWellbore,
44 bool isActive,
45 gsoap_eml2_2::witsml2__WellPurpose purposeWellbore,
46 gsoap_eml2_2::witsml2__WellboreType typeWellbore,
47 bool achievedTD
48 );
49
53 Wellbore(gsoap_eml2_2::witsml2__Wellbore* fromGsoap):AbstractObject(fromGsoap) {}
54
59
60 gsoap_eml2_2::eml22__DataObjectReference* getWellDor() const;
61 DLL_IMPORT_OR_EXPORT class Well* getWell() const;
62
63 DLL_IMPORT_OR_EXPORT void setWell(class Well* witsmlWell);
64
65 DLL_IMPORT_OR_EXPORT void setShape(const gsoap_eml2_2::witsml2__WellboreShape & shape);
66
67 DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
68 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const {return XML_TAG;}
69
70 void loadTargetRelationships();
71 };
72}
Definition: AbstractObject.h:26
Definition: Well.h:26
Definition: Wellbore.h:30
Wellbore(gsoap_eml2_2::witsml2__Wellbore *fromGsoap)
Definition: Wellbore.h:53
Wellbore(class Well *witsmlWell, const std::string &guid, const std::string &title)
~Wellbore()
Definition: Wellbore.h:58