Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
WellCompletion.h
1 /*-----------------------------------------------------------------------
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"; you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9 
10 http://www.apache.org/licenses/LICENSE-2.0
11 
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 -----------------------------------------------------------------------*/
19 #pragma once
20 
21 #include "AbstractObject.h"
22 
23 namespace WITSML2_0_NS
24 {
26  class WellboreCompletion;
27 
29  class WellCompletion : public WITSML2_0_NS::AbstractObject
30  {
31  public:
32 
40  DLL_IMPORT_OR_EXPORT WellCompletion(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : WITSML2_0_NS::AbstractObject(partialObject) {}
41 
51  WellCompletion(class Well* witsmlWell,
52  const std::string & guid,
53  const std::string & title);
54 
60  WellCompletion(gsoap_eml2_1::witsml20__WellCompletion* fromGsoap) :AbstractObject(fromGsoap) {}
61 
63  ~WellCompletion() = default;
64 
68  COMMON_NS::DataObjectReference getWellDor() const;
69 
71  DLL_IMPORT_OR_EXPORT class Well* getWell() const;
72 
78  DLL_IMPORT_OR_EXPORT void setWell(class Well* witsmlWell);
79 
85  DLL_IMPORT_OR_EXPORT std::vector<WellboreCompletion *> getWellboreCompletions() const;
86 
92  DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
93 
99  DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const { return XML_TAG; }
100 
105  };
106 }
Definition: AbstractObject.h:28
Definition: WellCompletion.h:30
static const char * XML_TAG
Definition: WellCompletion.h:92
common::DataObjectReference getWellDor() const
WellCompletion(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: WellCompletion.h:40
WellCompletion(class Well *witsmlWell, const std::string &guid, const std::string &title)
Constructor.
std::vector< WellboreCompletion * > getWellboreCompletions() const
WellCompletion(gsoap_eml2_1::witsml20__WellCompletion *fromGsoap)
Definition: WellCompletion.h:60
virtual std::string getXmlTag() const
Definition: WellCompletion.h:99
class Well * getWell() const
void setWell(class Well *witsmlWell)
Definition: Well.h:32