21#include "../witsml2/WellboreObject.h"
37 DLL_IMPORT_OR_EXPORT
WellboreCompletion(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : WITSML2_NS::WellboreObject(partialObject) {}
50 const std::string & guid,
51 const std::string & title,
52 const std::string & wellCompletionName);
59 WellboreCompletion(gsoap_eml2_1::witsml20__WellboreCompletion* fromGsoap) :WellboreObject(fromGsoap) {}
72 COMMON_NS::DataObjectReference getWellCompletionDor() const;
82 DLL_IMPORT_OR_EXPORT
void setWellbore(WITSML2_NS::
Wellbore* witsmlWellbore) final;
89 DLL_IMPORT_OR_EXPORT
void setWellCompletion(class
WellCompletion* wellCompletion);
100 DLL_IMPORT_OR_EXPORT
void pushBackPerforation(const std::
string & datum,
101 gsoap_eml2_1::eml21__LengthUom MdUnit,
104 const std::
string & guid = "");
112 DLL_IMPORT_OR_EXPORT
void pushBackPerforationHistory(
unsigned int index,
113 const std::
string & guid = "");
123 DLL_IMPORT_OR_EXPORT
void pushBackPerforationHistory(
unsigned int index,
124 gsoap_eml2_1::witsml20__PerforationStatus perforationStatus,
126 const std::
string & guid = "");
133 DLL_IMPORT_OR_EXPORT
unsigned int getPerforationCount() const;
142 DLL_IMPORT_OR_EXPORT std::
string getPerforationUid(
unsigned int index) const;
151 DLL_IMPORT_OR_EXPORT
bool hasPerforationMdDatum(
unsigned int index) const;
160 DLL_IMPORT_OR_EXPORT std::
string getPerforationMdDatum(
unsigned int index) const;
169 DLL_IMPORT_OR_EXPORT
bool hasPerforationMdUnit(
unsigned int index) const;
179 DLL_IMPORT_OR_EXPORT gsoap_eml2_1::eml21__LengthUom getPerforationMdUnit(
unsigned int index) const;
189 DLL_IMPORT_OR_EXPORT std::
string getPerforationMdUnitAsString(
unsigned int index) const;
198 DLL_IMPORT_OR_EXPORT
bool hasPerforationTopMd(
unsigned int index) const;
207 DLL_IMPORT_OR_EXPORT
double getPerforationTopMd(
unsigned int index) const;
216 DLL_IMPORT_OR_EXPORT
bool hasPerforationBaseMd(
unsigned int index) const;
225 DLL_IMPORT_OR_EXPORT
double getPerforationBaseMd(
unsigned int index) const;
234 DLL_IMPORT_OR_EXPORT
unsigned int getPerforationHistoryCount(
unsigned int index) const;
244 DLL_IMPORT_OR_EXPORT
bool hasPerforationHistoryStatus(
unsigned int historyIndex,
245 unsigned int perforationIndex) const;
255 DLL_IMPORT_OR_EXPORT gsoap_eml2_1::witsml20__PerforationStatus getPerforationHistoryStatus(
unsigned int historyIndex,
256 unsigned int perforationIndex) const;
266 DLL_IMPORT_OR_EXPORT std::
string getPerforationHistoryStatusToString(
unsigned int historyIndex,
267 unsigned int perforationIndex) const;
276 DLL_IMPORT_OR_EXPORT
void setPerforationHistoryStatus(
unsigned int historyIndex,
277 unsigned int perforationIndex,
278 gsoap_eml2_1::witsml20__PerforationStatus perforationStatus);
288 DLL_IMPORT_OR_EXPORT
bool hasPerforationHistoryStartDate(
unsigned int historyIndex,
289 unsigned int perforationIndex) const;
299 DLL_IMPORT_OR_EXPORT time_t getPerforationHistoryStartDate(
unsigned int historyIndex,
300 unsigned int perforationIndex) const;
309 DLL_IMPORT_OR_EXPORT
void setPerforationHistoryStartDate(
unsigned int historyIndex,
310 unsigned int perforationIndex, time_t startDate) const;
320 DLL_IMPORT_OR_EXPORT
bool hasPerforationHistoryEndDate(
unsigned int historyIndex,
321 unsigned int perforationIndex) const;
331 DLL_IMPORT_OR_EXPORT time_t getPerforationHistoryEndDate(
unsigned int historyIndex,
332 unsigned int perforationIndex) const;
341 DLL_IMPORT_OR_EXPORT
void setPerforationHistoryEndDate(
unsigned int historyIndex,
342 unsigned int perforationIndex, time_t endDate) const;
352 DLL_IMPORT_OR_EXPORT
bool hasPerforationHistoryMdDatum(
unsigned int historyIndex,
353 unsigned int perforationIndex) const;
363 DLL_IMPORT_OR_EXPORT std::
string getPerforationHistoryMdDatum(
unsigned int historyIndex,
364 unsigned int perforationIndex) const;
374 DLL_IMPORT_OR_EXPORT
bool hasPerforationHistoryMdUnit(
unsigned int historyIndex,
375 unsigned int perforationIndex) const;
386 DLL_IMPORT_OR_EXPORT gsoap_eml2_1::eml21__LengthUom getPerforationHistoryMdUnit(
unsigned int historyIndex,
387 unsigned int perforationIndex) const;
398 DLL_IMPORT_OR_EXPORT std::
string getPerforationHistoryMdUnitAsString(
unsigned int historyIndex,
399 unsigned int perforationIndex) const;
409 DLL_IMPORT_OR_EXPORT
bool hasPerforationHistoryTopMd(
unsigned int historyIndex,
410 unsigned int perforationIndex) const;
420 DLL_IMPORT_OR_EXPORT
double getPerforationHistoryTopMd(
unsigned int historyIndex,
421 unsigned int perforationIndex) const;
433 DLL_IMPORT_OR_EXPORT
void setPerforationHistoryTopMd(
unsigned int historyIndex,
434 unsigned int perforationIndex,
435 const std::
string & datum,
436 gsoap_eml2_1::eml21__LengthUom MdUnit,
447 DLL_IMPORT_OR_EXPORT
bool hasPerforationHistoryBaseMd(
unsigned int historyIndex,
448 unsigned int perforationIndex) const;
458 DLL_IMPORT_OR_EXPORT
double getPerforationHistoryBaseMd(
unsigned int historyIndex,
459 unsigned int perforationIndex) const;
471 DLL_IMPORT_OR_EXPORT
void setPerforationHistoryBaseMd(
unsigned int historyIndex,
472 unsigned int perforationIndex,
473 const std::
string & datum,
474 gsoap_eml2_1::eml21__LengthUom MdUnit,
485 DLL_IMPORT_OR_EXPORT
bool hasPerforationHistoryComment(
unsigned int historyIndex,
486 unsigned int perforationIndex) const;
496 DLL_IMPORT_OR_EXPORT std::
string getPerforationHistoryComment(
unsigned int historyIndex,
497 unsigned int perforationIndex) const;
506 DLL_IMPORT_OR_EXPORT
void setPerforationHistoryComment(
unsigned int historyIndex,
507 unsigned int perforationIndex,
508 const std::
string & comment);
515 DLL_IMPORT_OR_EXPORT static const
char* XML_TAG;
522 DLL_IMPORT_OR_EXPORT virtual std::
string getXmlTag()
const {
return XML_TAG; }
532 DLL_IMPORT_OR_EXPORT static constexpr
char const* XML_NS = "witsml20";
537 DLL_IMPORT_OR_EXPORT std::
string getXmlNamespace() const final {
return XML_NS; }
548 gsoap_eml2_1::witsml20__PerforationSetInterval* getPerforation(
unsigned int index)
const;
558 gsoap_eml2_1::witsml20__PerforationStatusHistory* getPerforationHistoryEntry(
unsigned int index,
559 unsigned int perforationIndex)
const;
A wellbore represents the path from surface to a unique bottomhole location.
Definition: Wellbore.h:46
Definition: WellboreObject.h:32
Definition: WellCompletion.h:31
Definition: WellboreCompletion.h:27
common::DataObjectReference getWellboreDor() const final
void loadTargetRelationships() final
~WellboreCompletion()=default
WellboreCompletion(gsoap_eml2_1::witsml20__WellboreCompletion *fromGsoap)
Definition: WellboreCompletion.h:59
WellboreCompletion(WITSML2_NS::Wellbore *witsmlWellbore, class WellCompletion *wellCompletion, const std::string &guid, const std::string &title, const std::string &wellCompletionName)
WellboreCompletion(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: WellboreCompletion.h:37
A wellbore represents the path from surface to a unique bottomhole location.
Definition: Wellbore.h:29