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
WellboreObject.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 "Wellbore.h"
22
23namespace WITSML2_NS
24{
25 class Wellbore;
26
31 class WellboreObject : public COMMON_NS::AbstractObject
32 {
33 public:
34
36 virtual ~WellboreObject() = default;
37
41 DLL_IMPORT_OR_EXPORT virtual COMMON_NS::DataObjectReference getWellboreDor() const = 0;
42
48 DLL_IMPORT_OR_EXPORT Wellbore* getWellbore() const;
49
55 DLL_IMPORT_OR_EXPORT virtual void setWellbore(Wellbore* witsmlWellbore) = 0;
56
60 virtual void loadTargetRelationships() override;
61
62 protected:
63
69 DLL_IMPORT_OR_EXPORT WellboreObject(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : COMMON_NS::AbstractObject(partialObject) {}
70
72 WellboreObject() = default;
73
79 WellboreObject(gsoap_eml2_3::eml23__AbstractObject* fromGsoap) : COMMON_NS::AbstractObject(fromGsoap) {}
80 };
81}
A wellbore represents the path from surface to a unique bottomhole location.
Definition Wellbore.h:46
Definition WellboreObject.h:32
Wellbore * getWellbore() const
virtual void loadTargetRelationships() override
virtual void setWellbore(Wellbore *witsmlWellbore)=0
virtual ~WellboreObject()=default
virtual common::DataObjectReference getWellboreDor() const =0