Fesapi 2.10.1.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
DeviationSurveyRepresentation.h
1/*-----------------------------------------------------------------------
2Licensed to the Apache Software Foundation (ASF) under one
3or more contributor license agreements. See the NOTICE file
4distributed with this work for additional information
5regarding copyright ownership. The ASF licenses this file
6to you under the Apache License, Version 2.0 (the
7"License"; you may not use this file except in compliance
8with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing,
13software distributed under the License is distributed on an
14"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15KIND, either express or implied. See the License for the
16specific language governing permissions and limitations
17under the License.
18-----------------------------------------------------------------------*/
19#pragma once
20
21#include "../resqml2/AbstractRepresentation.h"
22
23namespace RESQML2_0_1_NS
24{
40 class DeviationSurveyRepresentation final : public RESQML2_NS::AbstractRepresentation
41 {
42 public:
43
49 DLL_IMPORT_OR_EXPORT DeviationSurveyRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::AbstractRepresentation(partialObject) {}
50
65 DeviationSurveyRepresentation(class RESQML2_NS::WellboreInterpretation* interp, const std::string& guid, const std::string& title, bool isFinal, RESQML2_NS::MdDatum* mdInfo);
66
72 DeviationSurveyRepresentation(gsoap_resqml2_0_1::_resqml20__DeviationSurveyRepresentation* fromGsoap) : RESQML2_NS::AbstractRepresentation(fromGsoap) {}
73
76
107 DLL_IMPORT_OR_EXPORT void setGeometry(double const* firstStationLocation, uint64_t stationCount,
108 gsoap_resqml2_0_1::eml20__LengthUom mdUom, double const* mds,
109 gsoap_resqml2_0_1::eml20__PlaneAngleUom angleUom, double const* azimuths, double const* inclinations,
110 EML2_NS::AbstractHdfProxy* proxy);
111
119 DLL_IMPORT_OR_EXPORT void setMdDatum(RESQML2_NS::MdDatum* mdDatum);
120
126 COMMON_NS::DataObjectReference getMdDatumDor() const;
127
133 DLL_IMPORT_OR_EXPORT RESQML2_NS::MdDatum* getMdDatum() const;
134
141 DLL_IMPORT_OR_EXPORT bool isFinal() const;
142
143 uint64_t getXyzPointCountOfPatch(unsigned int patchIndex) const final;
144
145 DLL_IMPORT_OR_EXPORT void getXyzPointsOfPatch(unsigned int patchIndex, double* xyzPoints) const final;
146
152 DLL_IMPORT_OR_EXPORT gsoap_resqml2_0_1::eml20__LengthUom getMdUom() const;
153
159 DLL_IMPORT_OR_EXPORT gsoap_resqml2_0_1::eml20__PlaneAngleUom getAngleUom() const;
160
171 DLL_IMPORT_OR_EXPORT void getMdValues(double* values) const;
172
183 DLL_IMPORT_OR_EXPORT void getInclinations(double* values) const;
184
196 DLL_IMPORT_OR_EXPORT void getAzimuths(double* values) const;
197
206 DLL_IMPORT_OR_EXPORT std::vector<RESQML2_NS::WellboreFrameRepresentation*> getWellboreFrameRepresentationSet() const;
207
215 DLL_IMPORT_OR_EXPORT uint64_t getWellboreFrameRepresentationCount() const; // It is mainly used in SWIG context for parsing the vector from a non C++ language.
216
230 DLL_IMPORT_OR_EXPORT class RESQML2_NS::WellboreFrameRepresentation* getWellboreFrameRepresentation(uint64_t index) const; // It is mainly used in SWIG context for parsing the vector from a non C++ language.
231
238 DLL_IMPORT_OR_EXPORT std::vector<RESQML2_NS::WellboreTrajectoryRepresentation*> getWellboreTrajectoryRepresentationSet() const;
239
248 DLL_IMPORT_OR_EXPORT uint64_t getWellboreTrajectoryRepresentationCount() const; // It is mainly used in SWIG context for parsing the vector from a non C++ language.
249
259 DLL_IMPORT_OR_EXPORT RESQML2_NS::WellboreTrajectoryRepresentation* getWellboreTrajectoryRepresentation(uint64_t index) const; // It is mainly used in SWIG context for parsing the vector from a non C++ language.
260
261 COMMON_NS::DataObjectReference getHdfProxyDor() const;
262
263 DLL_IMPORT_OR_EXPORT uint64_t getPatchCount() const final { return 1; }
264
266 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_TAG = "DeviationSurveyRepresentation";
267
268 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
269
273 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_NS = "resqml20";
274
278 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
279
280 private:
281
283 void loadTargetRelationships();
284 };
285}
A deviation survey representation. It Specifies the station data from a deviation survey.
Definition DeviationSurveyRepresentation.h:41
common::DataObjectReference getHdfProxyDor() const
Gets the data object reference of the HDF proxy which is used for storing the numerical values of thi...
common::DataObjectReference getMdDatumDor() const
uint64_t getWellboreTrajectoryRepresentationCount() const
void getInclinations(double *values) const
virtual std::string getXmlTag() const final
Definition DeviationSurveyRepresentation.h:268
void getMdValues(double *values) const
std::string getXmlNamespace() const final
Definition DeviationSurveyRepresentation.h:278
std::vector< resqml2::WellboreTrajectoryRepresentation * > getWellboreTrajectoryRepresentationSet() const
gsoap_resqml2_0_1::eml20__LengthUom getMdUom() const
void getXyzPointsOfPatch(unsigned int patchIndex, double *xyzPoints) const final
Gets all the xyz points of a particular patch of this representation. xyz points are given in the loc...
class resqml2::WellboreFrameRepresentation * getWellboreFrameRepresentation(uint64_t index) const
void getAzimuths(double *values) const
resqml2::MdDatum * getMdDatum() const
uint64_t getXyzPointCountOfPatch(unsigned int patchIndex) const final
void setGeometry(double const *firstStationLocation, uint64_t stationCount, gsoap_resqml2_0_1::eml20__LengthUom mdUom, double const *mds, gsoap_resqml2_0_1::eml20__PlaneAngleUom angleUom, double const *azimuths, double const *inclinations, eml2::AbstractHdfProxy *proxy)
DeviationSurveyRepresentation(class resqml2::WellboreInterpretation *interp, const std::string &guid, const std::string &title, bool isFinal, resqml2::MdDatum *mdInfo)
Creates an instance of this class in a gsoap context.
DeviationSurveyRepresentation(gsoap_resqml2_0_1::_resqml20__DeviationSurveyRepresentation *fromGsoap)
Definition DeviationSurveyRepresentation.h:72
gsoap_resqml2_0_1::eml20__PlaneAngleUom getAngleUom() const
resqml2::WellboreTrajectoryRepresentation * getWellboreTrajectoryRepresentation(uint64_t index) const
uint64_t getPatchCount() const final
Definition DeviationSurveyRepresentation.h:263
std::vector< resqml2::WellboreFrameRepresentation * > getWellboreFrameRepresentationSet() const
void setMdDatum(resqml2::MdDatum *mdDatum)
DeviationSurveyRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition DeviationSurveyRepresentation.h:49