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
MdDatum.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 "../common/AbstractObject.h"
22
23namespace RESQML2_NS
24{
25 class AbstractLocal3dCrs;
26}
27
28namespace RESQML2_NS
29{
36 class MdDatum : public COMMON_NS::AbstractObject
37 {
38 public:
39
45 DLL_IMPORT_OR_EXPORT MdDatum(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractObject(partialObject) {}
46
48 virtual ~MdDatum() = default;
49
57 DLL_IMPORT_OR_EXPORT EML2_NS::AbstractLocal3dCrs* getLocalCrs() const;
58
66 virtual COMMON_NS::DataObjectReference getLocalCrsDor() const = 0;
67
73 DLL_IMPORT_OR_EXPORT virtual double getX() const = 0;
74
82 DLL_IMPORT_OR_EXPORT double getXInGlobalCrs() const;
83
89 DLL_IMPORT_OR_EXPORT virtual double getY() const = 0;
90
98 DLL_IMPORT_OR_EXPORT double getYInGlobalCrs() const;
99
105 DLL_IMPORT_OR_EXPORT virtual double getZ() const = 0;
106
114 DLL_IMPORT_OR_EXPORT double getZInGlobalCrs() const;
115
121 DLL_IMPORT_OR_EXPORT virtual bool hasKind() const = 0;
122
128 DLL_IMPORT_OR_EXPORT virtual gsoap_eml2_3::eml23__ReferencePointKind getKind() const = 0;
129
131 DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
132
138 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
139
140 protected:
141
143 MdDatum() : COMMON_NS::AbstractObject() {}
144
150 MdDatum(gsoap_resqml2_0_1::_resqml20__MdDatum* fromGsoap) : COMMON_NS::AbstractObject(fromGsoap) {}
151
161 DLL_IMPORT_OR_EXPORT virtual void setLocalCrs(EML2_NS::AbstractLocal3dCrs * localCrs) = 0;
162 };
163}
Proxy class for a MD datum. An MD datum specifies the location of the measured depth = 0 reference po...
Definition MdDatum.h:37
virtual double getY() const =0
double getXInGlobalCrs() const
virtual double getX() const =0
eml2::AbstractLocal3dCrs * getLocalCrs() const
virtual bool hasKind() const =0
double getYInGlobalCrs() const
double getZInGlobalCrs() const
static const char * XML_TAG
Definition MdDatum.h:131
virtual double getZ() const =0
virtual gsoap_eml2_3::eml23__ReferencePointKind getKind() const =0
virtual common::DataObjectReference getLocalCrsDor() const =0
virtual std::string getXmlTag() const final
Definition MdDatum.h:138
MdDatum(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition MdDatum.h:45
virtual ~MdDatum()=default