36 #include "witsml1_4_1_1/AbstractObject.h" 38 #include "resqml2_0_1/WellboreTrajectoryRepresentation.h" 50 const std::string & guid,
51 const std::string & title);
54 const std::string & guid,
55 const std::string & title,
56 const std::string & sourceName,
57 const time_t & dTimCreation,
58 const time_t & dTimLastChange,
59 const std::string & comments);
64 Trajectory(gsoap_witsml1_4_1_1::witsml1__obj_USCOREtrajectorys* fromGsoap):
AbstractObject(fromGsoap), wellbore(nullptr), resqmlWellboreTrajectoryRepresentation(nullptr) {}
71 double getMdDatumElevation();
72 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom getMdDatumElevationUom();
73 std::string getMdDatumName();
75 unsigned int getTrajectoryStationCount()
const;
77 void getMds(
double * mds)
const;
78 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom getMdUom()
const;
80 unsigned int getInclinometries(
double * incls)
const;
81 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom getInclinometryUom()
const;
83 unsigned int getAzimuths(
double * azims)
const;
84 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom getAzimuthUom()
const;
85 gsoap_witsml1_4_1_1::witsml1__AziRef getAzimuthReference()
const;
87 unsigned int getEastings(
double * eastings)
const;
88 gsoap_witsml1_4_1_1::witsml1__LengthUom getEastingUom()
const;
90 unsigned int getNorthings(
double * northings)
const;
91 gsoap_witsml1_4_1_1::witsml1__LengthUom getNorthingUom()
const;
93 unsigned int getTvds(
double * tvds)
const;
94 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom getTvdUom()
const;
96 void setTrajectoryStations(
97 const unsigned int & trajectoryStationCount,
98 const unsigned int & mdDatumIndex,
99 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mDUom,
101 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom angleUom,
103 gsoap_witsml1_4_1_1::witsml1__AziRef aziRef,
106 void setEastingNorthingTrajectoryStations(
107 const unsigned int & trajectoryStationCount,
108 const unsigned int & mdDatumIndex,
109 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mDUom,
111 const unsigned int & tvdDatumIndex,
112 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom tVDUom,
114 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom angleUom,
116 gsoap_witsml1_4_1_1::witsml1__AziRef aziRef,
118 gsoap_witsml1_4_1_1::witsml1__LengthUom locationUom,
119 double * locationEastingSet,
120 double * locationNorthingSet,
123 void setWestingSouthingTrajectoryStations(
124 const unsigned int & trajectoryStationCount,
125 const unsigned int & mdDatumIndex,
126 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mDUom,
128 const unsigned int & tvdDatumIndex,
129 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom tVDUom,
131 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom angleUom,
133 gsoap_witsml1_4_1_1::witsml1__AziRef aziRef,
135 gsoap_witsml1_4_1_1::witsml1__LengthUom locationUom,
136 double * locationWestingSet,
137 double * locationSouthingSet,
140 void setProjectedXProjectedYTrajectoryStations(
141 const unsigned int & trajectoryStationCount,
142 const unsigned int & mdDatumIndex,
143 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mDUom,
145 const unsigned int & tvdDatumIndex,
146 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom tVDUom,
148 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom angleUom,
150 gsoap_witsml1_4_1_1::witsml1__AziRef aziRef,
152 gsoap_witsml1_4_1_1::witsml1__LengthUom locationUom,
153 double * locationProjectedXSet,
154 double * locationProjectedYSet,
157 void setWellbore(
class Wellbore* witsmlWellbore);
159 class Wellbore* getWellbore() {
return wellbore;}
163 soap* getGSoapContext()
const {
return collection->soap;}
165 const std::string & getTitle()
const {
return static_cast<gsoap_witsml1_4_1_1::witsml1__obj_USCOREtrajectorys*
>(collection)->trajectory[0]->name;}
167 std::string getUuid()
const {
return *
static_cast<gsoap_witsml1_4_1_1::witsml1__obj_USCOREtrajectorys*
>(collection)->trajectory[0]->uid;}
168 time_t getCreation()
const 170 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__trajectorys*>(collection)->trajectory[0]->commonData->dTimCreation)
171 return *
static_cast<gsoap_witsml1_4_1_1::_witsml1__trajectorys*
>(collection)->trajectory[0]->commonData->dTimCreation;
175 time_t getLastUpdate()
const 177 if (static_cast<gsoap_witsml1_4_1_1::_witsml1__trajectorys*>(collection)->trajectory[0]->commonData->dTimLastChange)
178 return *
static_cast<gsoap_witsml1_4_1_1::_witsml1__trajectorys*
>(collection)->trajectory[0]->commonData->dTimLastChange;
183 std::vector<epc::Relationship> getAllEpcRelationships()
const;
190 static const char* XML_TAG;
195 gsoap_witsml1_4_1_1::witsml1__cs_USCOREtrajectoryStation* newTrajectoryStation(
196 gsoap_witsml1_4_1_1::witsml1__cs_USCOREwellDatum* mdDatum,
197 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mDUom,
199 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom angleUom,
203 gsoap_witsml1_4_1_1::witsml1__cs_USCOREtrajectoryStation* newTrajectoryStation(
204 gsoap_witsml1_4_1_1::witsml1__cs_USCOREwellDatum* mdDatum,
205 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mDUom,
207 gsoap_witsml1_4_1_1::witsml1__cs_USCOREwellDatum* tvdDatum,
208 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom tVDUom,
210 gsoap_witsml1_4_1_1::witsml1__PlaneAngleUom angleUom,
214 gsoap_witsml1_4_1_1::witsml1__cs_USCOREtrajectoryStation* newTrajectoryStation(
215 gsoap_witsml1_4_1_1::witsml1__cs_USCOREwellDatum* mdDatum,
216 gsoap_witsml1_4_1_1::witsml1__MeasuredDepthUom mDUom,
218 gsoap_witsml1_4_1_1::witsml1__cs_USCOREwellDatum* tvdDatum,
219 gsoap_witsml1_4_1_1::witsml1__WellVerticalCoordinateUom tVDUom,
228 friend void resqml2_0_1::WellboreTrajectoryRepresentation::setWitsmlTrajectory(
Trajectory * witsmlTraj);
Definition: EpcDocument.h:144
Definition: Wellbore.h:45
~Trajectory()
Definition: Trajectory.h:69
Definition: AbstractObject.h:43
Trajectory(gsoap_witsml1_4_1_1::witsml1__obj_USCOREtrajectorys *fromGsoap)
Definition: Trajectory.h:64
Definition: Trajectory.h:42
Definition: EpcDocument.h:168
Definition: WellboreTrajectoryRepresentation.h:45
Definition: CoordinateReferenceSystem.h:40
virtual std::string getXmlTag() const
Definition: Trajectory.h:191