Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
MdDatum.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 "../resqml2/MdDatum.h"
22 
23 namespace RESQML2_0_1_NS
24 {
26  class MdDatum final : public RESQML2_NS::MdDatum
27  {
28  public:
29 
37  DLL_IMPORT_OR_EXPORT MdDatum(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::MdDatum(partialObject) {}
38 
56  MdDatum(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
57  RESQML2_NS::AbstractLocal3dCrs * locCrs, gsoap_eml2_3::eml23__WellboreDatumReference originKind,
58  double referenceLocationOrdinal1, double referenceLocationOrdinal2, double referenceLocationOrdinal3);
59 
65  MdDatum(gsoap_resqml2_0_1::_resqml20__MdDatum* fromGsoap) :RESQML2_NS::MdDatum(fromGsoap) {}
66 
68  ~MdDatum() = default;
69 
70  COMMON_NS::DataObjectReference getLocalCrsDor() const final;
71 
72  DLL_IMPORT_OR_EXPORT double getX() const final;
73 
74  DLL_IMPORT_OR_EXPORT double getY() const final;
75 
76  DLL_IMPORT_OR_EXPORT double getZ() const final;
77 
78  DLL_IMPORT_OR_EXPORT gsoap_eml2_3::eml23__WellboreDatumReference getOriginKind() const final;
79 
81  void loadTargetRelationships() final;
82 
86  DLL_IMPORT_OR_EXPORT static const char* XML_NS;
87 
91  DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
92 
93  private:
94 
104  DLL_IMPORT_OR_EXPORT void setLocalCrs(RESQML2_NS::AbstractLocal3dCrs * localCrs) final;
105  };
106 }
Definition: MdDatum.h:27
MdDatum(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, resqml2::AbstractLocal3dCrs *locCrs, gsoap_eml2_3::eml23__WellboreDatumReference originKind, double referenceLocationOrdinal1, double referenceLocationOrdinal2, double referenceLocationOrdinal3)
common::DataObjectReference getLocalCrsDor() const final
MdDatum(gsoap_resqml2_0_1::_resqml20__MdDatum *fromGsoap)
Definition: MdDatum.h:65
MdDatum(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: MdDatum.h:37