Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
DeviationSurveyRepresentation.h
1 /*-----------------------------------------------------------------------
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"; you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 -----------------------------------------------------------------------*/
19 #pragma once
20 
21 #include "AbstractRepresentation.h"
22 
23 namespace RESQML2_NS
24 {
41  {
42  public:
43 
45  virtual ~DeviationSurveyRepresentation() = default;
46 
77  DLL_IMPORT_OR_EXPORT virtual void setGeometry(double const* firstStationLocation, uint64_t stationCount,
78  gsoap_resqml2_0_1::eml20__LengthUom mdUom, double const* mds,
79  gsoap_resqml2_0_1::eml20__PlaneAngleUom angleUom, double const* azimuths, double const* inclinations,
80  EML2_NS::AbstractHdfProxy* proxy) = 0;
81 
89  DLL_IMPORT_OR_EXPORT virtual void setMdDatum(RESQML2_NS::MdDatum * mdDatum) = 0;
90 
96  virtual COMMON_NS::DataObjectReference getMdDatumDor() const = 0;
97 
103  DLL_IMPORT_OR_EXPORT class MdDatum* getMdDatum() const;
104 
111  DLL_IMPORT_OR_EXPORT virtual bool isFinal() const = 0;
112 
118  DLL_IMPORT_OR_EXPORT virtual gsoap_resqml2_0_1::eml20__LengthUom getMdUom() const = 0;
119 
125  virtual gsoap_resqml2_0_1::eml20__PlaneAngleUom getAngleUom() const = 0;
126 
137  DLL_IMPORT_OR_EXPORT virtual void getMdValues(double* values) const = 0;
138 
149  DLL_IMPORT_OR_EXPORT virtual void getInclinations(double* values) const = 0;
150 
162  DLL_IMPORT_OR_EXPORT virtual void getAzimuths(double* values) const = 0;
163 
172  DLL_IMPORT_OR_EXPORT std::vector<class RESQML2_NS::WellboreFrameRepresentation *> getWellboreFrameRepresentationSet() const;
173 
181  DLL_IMPORT_OR_EXPORT unsigned int getWellboreFrameRepresentationCount() const; // It is mainly used in SWIG context for parsing the vector from a non C++ language.
182 
196  DLL_IMPORT_OR_EXPORT class RESQML2_NS::WellboreFrameRepresentation * getWellboreFrameRepresentation(unsigned int index) const; // It is mainly used in SWIG context for parsing the vector from a non C++ language.
197 
204  DLL_IMPORT_OR_EXPORT std::vector<class WellboreTrajectoryRepresentation *> getWellboreTrajectoryRepresentationSet() const;
205 
214  DLL_IMPORT_OR_EXPORT unsigned int getWellboreTrajectoryRepresentationCount() const; // It is mainly used in SWIG context for parsing the vector from a non C++ language.
215 
225  DLL_IMPORT_OR_EXPORT class WellboreTrajectoryRepresentation * getWellboreTrajectoryRepresentation(unsigned int index) const; // It is mainly used in SWIG context for parsing the vector from a non C++ language.
226 
227  DLL_IMPORT_OR_EXPORT unsigned int getPatchCount() const final {return 1;}
228 
230  DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
231 
232  DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
233 
234  protected:
235 
243  DLL_IMPORT_OR_EXPORT DeviationSurveyRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractRepresentation(partialObject) {}
244 
248  DeviationSurveyRepresentation() {}
249 
255  DeviationSurveyRepresentation(gsoap_resqml2_0_1::_resqml20__DeviationSurveyRepresentation* fromGsoap) : AbstractRepresentation(fromGsoap) {}
256 
262  DeviationSurveyRepresentation(gsoap_eml2_3::_resqml22__DeviationSurveyRepresentation* fromGsoap) : AbstractRepresentation(fromGsoap) {}
263 
265  void loadTargetRelationships() final;
266  };
267 }
Proxy class for an abstract representation.
Definition: AbstractRepresentation.h:32
A deviation survey representation. It Specifies the station data from a deviation survey.
Definition: DeviationSurveyRepresentation.h:41
class MdDatum * getMdDatum() const
unsigned int getWellboreTrajectoryRepresentationCount() const
virtual ~DeviationSurveyRepresentation()=default
virtual gsoap_resqml2_0_1::eml20__PlaneAngleUom getAngleUom() const =0
virtual void setMdDatum(resqml2::MdDatum *mdDatum)=0
virtual gsoap_resqml2_0_1::eml20__LengthUom getMdUom() const =0
static const char * XML_TAG
Definition: DeviationSurveyRepresentation.h:230
virtual void getAzimuths(double *values) const =0
class resqml2::WellboreFrameRepresentation * getWellboreFrameRepresentation(unsigned int index) const
std::vector< class resqml2::WellboreFrameRepresentation * > getWellboreFrameRepresentationSet() const
virtual void getInclinations(double *values) const =0
virtual void getMdValues(double *values) const =0
unsigned int getPatchCount() const final
Definition: DeviationSurveyRepresentation.h:227
class WellboreTrajectoryRepresentation * getWellboreTrajectoryRepresentation(unsigned int index) const
virtual std::string getXmlTag() const final
Definition: DeviationSurveyRepresentation.h:232
virtual common::DataObjectReference getMdDatumDor() const =0
unsigned int getWellboreFrameRepresentationCount() const
virtual 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)=0
std::vector< class WellboreTrajectoryRepresentation * > getWellboreTrajectoryRepresentationSet() const
Proxy class for a MD datum. An MD datum specifies the location of the measured depth = 0 reference po...
Definition: MdDatum.h:32
Representation of a wellbore trajectory.
Definition: WellboreTrajectoryRepresentation.h:29