21 #include "witsml1_4_1_1/AbstractObject.h" 23 #include "tools/TimeTools.h" 25 #include "resqml2_0_1/WellboreMarkerFrameRepresentation.h" 37 const std::string & guid,
38 const std::string & title,
39 const unsigned int & mdDatumIndex,
40 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mdUom,
41 const double & mdTopSample);
44 const std::string & guid,
45 const std::string & title,
46 const unsigned int & mdDatumIndex,
47 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mdUom,
48 const double & mdTopSample,
49 const unsigned int & tvdDatumIndex,
50 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom tvdUom,
51 const double & tvdTopSample,
52 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom dipUom,
54 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom dipDirectionUom,
55 const double & dipDirection,
56 const std::string & sourceName,
57 const time_t & dTimCreation,
58 const time_t & dTimLastChange,
59 const std::string & comments);
64 FormationMarker(gsoap_witsml1_4_1_1::witsml1__obj_USCOREformationMarkers* fromGsoap):
AbstractObject(fromGsoap), wellbore(nullptr), resqmlWellboreMarkerFrameRepresentation(nullptr) {}
71 void setWellbore(
class Wellbore* witsmlWellbore);
73 class Wellbore* getWellbore() {
return wellbore;}
77 soap* getGSoapContext()
const {
return collection->soap;}
79 const std::string & getTitle()
const {
return static_cast<gsoap_witsml1_4_1_1::witsml1__obj_USCOREformationMarkers*
>(collection)->formationMarker[0]->name;}
81 std::string getUuid()
const {
return *
static_cast<gsoap_witsml1_4_1_1::witsml1__obj_USCOREformationMarkers*
>(collection)->formationMarker[0]->uid;}
82 time_t getCreation()
const 84 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__formationMarkers*>(collection)->formationMarker[0]->commonData->dTimCreation)
85 return timeTools::timegm(static_cast<gsoap_witsml1_4_1_1::_witsml1__formationMarkers*>(collection)->formationMarker[0]->commonData->dTimCreation);
89 time_t getLastUpdate()
const 91 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__formationMarkers*>(collection)->formationMarker[0]->commonData->dTimLastChange)
92 return timeTools::timegm(static_cast<gsoap_witsml1_4_1_1::_witsml1__formationMarkers*>(collection)->formationMarker[0]->commonData->dTimLastChange);
97 std::vector<epc::Relationship> getAllEpcRelationships()
const;
104 static const char* XML_TAG;
115 friend void RESQML2_0_1_NS::WellboreMarkerFrameRepresentation::setWitsmlFormationMarker(
const unsigned int & resqmlMarkerIndex,
FormationMarker * witsmlFormationMarker);
Definition: EpcDocument.h:130
Definition: EpcDocument.h:154
Definition: AbstractObject.h:28
Definition: WellboreMarkerFrameRepresentation.h:30
Definition: Wellbore.h:33