36 #include "witsml1_4_1_1/AbstractObject.h" 37 #include "witsml1_4_1_1/Trajectory.h" 38 #include "witsml1_4_1_1/Log.h" 39 #include "witsml1_4_1_1/FormationMarker.h" 41 #include "resqml2_0_1/WellboreFeature.h" 53 const std::string & guid,
54 const std::string & title);
57 const std::string & guid,
58 const std::string & title,
59 gsoap_witsml1_4_1_1::witsml1__WellStatus statusWellbore,
60 const bool & isActive,
61 gsoap_witsml1_4_1_1::witsml1__WellPurpose purposeWellbore,
62 gsoap_witsml1_4_1_1::witsml1__WellboreType typeWellbore,
63 const bool & achievedTD,
64 const std::string & sourceName,
65 const time_t & dTimCreation,
66 const time_t & dTimLastChange,
67 const std::string & comments
73 Wellbore(gsoap_witsml1_4_1_1::witsml1__obj_USCOREwellbores* fromGsoap):
AbstractObject(fromGsoap), well(nullptr), resqmlWellboreFeature(nullptr) {}
81 const std::string & guid,
82 const std::string & title);
85 const std::string & guid,
86 const std::string & title,
87 const std::string & sourceName,
88 const time_t & dTimCreation,
89 const time_t & dTimLastChange,
90 const std::string & comments);
93 const std::string & guid,
94 const std::string & title,
95 gsoap_witsml1_4_1_1::witsml1__LogIndexType indexType,
96 const std::string & indexCurve);
99 const std::string & guid,
100 const std::string & title,
101 gsoap_witsml1_4_1_1::witsml1__LogIndexType indexType,
102 const std::string & indexCurve,
103 const std::string & sourceName,
104 const time_t & dTimCreation,
105 const time_t & dTimLastChange,
106 const std::string & comments);
109 const std::string & guid,
110 const std::string & title,
111 const unsigned int & mdDatumIndex,
112 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mdUom,
113 const double & mdTopSample);
116 const std::string & guid,
117 const std::string & title,
118 const unsigned int & mdDatumIndex,
119 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mdUom,
120 const double & mdTopSample,
121 const unsigned int & tvdDatumIndex,
122 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom tvdUom,
123 const double & tvdTopSample,
124 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom dipUom,
126 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom dipDirectionUom,
127 const double & dipDirection,
128 const std::string & sourceName,
129 const time_t & dTimCreation,
130 const time_t & dTimLastChange,
131 const std::string & comments);
133 void setWell(
class Well* witsmlWell);
135 class Well* getWell() {
return well;}
139 soap* getGSoapContext()
const {
return collection->soap;}
141 const std::vector<Trajectory*>& getTrajectories()
const {
return trajectorySet;}
143 const std::vector<Log*>& getLogs()
const {
return logSet;}
145 const std::vector<FormationMarker*>& getFormationMarkers()
const {
return formationMarkerSet;}
147 const std::string & getTitle()
const {
return static_cast<gsoap_witsml1_4_1_1::witsml1__obj_USCOREwellbores*
>(collection)->wellbore[0]->name;}
149 std::string getUuid()
const {
return *
static_cast<gsoap_witsml1_4_1_1::witsml1__obj_USCOREwellbores*
>(collection)->wellbore[0]->uid;}
150 time_t getCreation()
const 152 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__wellbores*>(collection)->wellbore[0]->commonData->dTimCreation)
153 return *
static_cast<gsoap_witsml1_4_1_1::_witsml1__wellbores*
>(collection)->wellbore[0]->commonData->dTimCreation;
157 time_t getLastUpdate()
const 159 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__wellbores*>(collection)->wellbore[0]->commonData->dTimLastChange)
160 return *
static_cast<gsoap_witsml1_4_1_1::_witsml1__wellbores*
>(collection)->wellbore[0]->commonData->dTimLastChange;
165 void setShape(
const gsoap_witsml1_4_1_1::witsml1__WellboreShape & shape);
167 std::vector<epc::Relationship> getAllEpcRelationships()
const;
174 static const char* XML_TAG;
184 std::vector<Trajectory*> trajectorySet;
185 std::vector<Log*> logSet;
186 std::vector<FormationMarker*> formationMarkerSet;
188 friend void Trajectory::setWellbore(
Wellbore* witsmlWellbore);
189 friend void Log::setWellbore(
Wellbore* witsmlWellbore);
190 friend void FormationMarker::setWellbore(
Wellbore* witsmlWellbore);
191 friend void resqml2_0_1::WellboreFeature::setWitsmlWellbore(
Wellbore * wellbore);
Definition: EpcDocument.h:142
Definition: Wellbore.h:45
Wellbore(gsoap_witsml1_4_1_1::witsml1__obj_USCOREwellbores *fromGsoap)
Definition: Wellbore.h:73
Definition: AbstractObject.h:43
Definition: Trajectory.h:42
Definition: EpcDocument.h:155
~Wellbore()
Definition: Wellbore.h:78
Definition: WellboreFeature.h:45
virtual std::string getXmlTag() const
Definition: Wellbore.h:175