21 #include "witsml1_4_1_1/Wellbore.h" 23 #include "tools/TimeTools.h" 35 Well(soap* soapContext,
36 const std::string & guid,
37 const std::string & title,
38 const std::string & timeZone);
40 Well(soap* soapContext,
41 const std::string & guid,
42 const std::string & title,
43 const std::string & timeZone,
44 const std::string & operator_,
45 gsoap_witsml1_4_1_1::witsml1__WellStatus statusWell,
46 gsoap_witsml1_4_1_1::witsml1__WellPurpose purposeWell,
47 gsoap_witsml1_4_1_1::witsml1__WellFluid fluidWell,
48 gsoap_witsml1_4_1_1::witsml1__WellDirection directionWell,
49 const time_t & dTimSpud,
50 const std::string & sourceName,
51 const time_t & dTimCreation,
52 const time_t & dTimLastChange,
53 const std::string & comments
67 const std::string & guid,
68 const std::string & title);
71 const std::string & guid,
72 const std::string & title,
73 gsoap_witsml1_4_1_1::witsml1__WellStatus statusWellbore,
74 const bool & isActive,
75 gsoap_witsml1_4_1_1::witsml1__WellPurpose purposeWellbore,
76 gsoap_witsml1_4_1_1::witsml1__WellboreType typeWellbore,
77 const bool & achievedTD,
78 const std::string & sourceName,
79 const time_t & dTimCreation,
80 const time_t & dTimLastChange,
81 const std::string & comments
84 void setOperator(
const std::string & operator_);
86 double getWellHeadEastingLocationValue();
87 gsoap_witsml1_4_1_1::witsml1__LengthUom getWellHeadEastingLocationUom();
88 double getWellHeadNorthingLocationValue();
89 gsoap_witsml1_4_1_1::witsml1__LengthUom getWellHeadNorthingLocationUom();
91 void setEastingNorthingLocation(
92 gsoap_witsml1_4_1_1::witsml1__LengthUom uom,
93 const double & easting,
94 const double & northing,
97 void setWestingSouthingLocation(
98 gsoap_witsml1_4_1_1::witsml1__LengthUom uom,
99 const double & westing,
100 const double & southing,
103 void setProjectedXProjectedYLocation(
104 gsoap_witsml1_4_1_1::witsml1__LengthUom uom,
105 const double & projectedX,
106 const double & projectedY,
109 soap* getGSoapContext()
const {
return collection->soap;}
111 const std::vector<Wellbore*>& getWellbores()
const {
return wellboreSet;}
113 const std::string & getTitle()
const {
return static_cast<gsoap_witsml1_4_1_1::_witsml1__wells*
>(collection)->well[0]->name;}
115 std::string getUuid()
const {
return *
static_cast<gsoap_witsml1_4_1_1::_witsml1__wells*
>(collection)->well[0]->uid;}
116 time_t getCreation()
const 118 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__wells*>(collection)->well[0]->commonData->dTimCreation)
119 return timeTools::timegm(static_cast<gsoap_witsml1_4_1_1::_witsml1__wells*>(collection)->well[0]->commonData->dTimCreation);
123 time_t getLastUpdate()
const 125 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__wells*>(collection)->well[0]->commonData->dTimLastChange)
126 return timeTools::timegm(static_cast<gsoap_witsml1_4_1_1::_witsml1__wells*>(collection)->well[0]->commonData->dTimLastChange);
133 const std::string & guid,
134 const std::string & title,
135 gsoap_witsml1_4_1_1::witsml1__ElevCodeEnum code,
136 const unsigned int & datumIndex,
137 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom elevationUnit,
138 const double & elevation);
142 const std::string & guid,
143 const std::string & title,
144 gsoap_witsml1_4_1_1::witsml1__ElevCodeEnum code,
145 const std::string & refNamingSystem,
146 const std::string & refCode,
147 const std::string & refName);
149 unsigned int getDatumCount()
const;
151 gsoap_witsml1_4_1_1::witsml1__cs_USCOREwellDatum* getDatum(
const unsigned int & index)
const;
152 gsoap_witsml1_4_1_1::witsml1__cs_USCOREwellDatum* getDatum(
const std::string & uid)
const;
160 std::vector<epc::Relationship> getAllEpcRelationships()
const;
162 static const char* XML_TAG;
168 std::vector<Wellbore*> wellboreSet;
170 friend void Wellbore::setWell(
Well* witsmlWell);
virtual std::string getXmlTag() const
Definition: Well.h:163
Definition: EpcDocument.h:130
Definition: EpcDocument.h:154
Definition: AbstractObject.h:28
Definition: CoordinateReferenceSystem.h:27
~Well()
Definition: Well.h:64
Well(gsoap_witsml1_4_1_1::_witsml1__wells *fromGsoap)
Definition: Well.h:59
Definition: Wellbore.h:33