Fesapi 2.9.0.1
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{
31 class MdDatum : public COMMON_NS::AbstractObject
32 {
33 public:
34
40 DLL_IMPORT_OR_EXPORT MdDatum(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractObject(partialObject) {}
41
43 virtual ~MdDatum() = default;
44
52 DLL_IMPORT_OR_EXPORT class AbstractLocal3dCrs * getLocalCrs() const;
53
61 virtual COMMON_NS::DataObjectReference getLocalCrsDor() const = 0;
62
68 DLL_IMPORT_OR_EXPORT virtual double getX() const = 0;
69
77 DLL_IMPORT_OR_EXPORT double getXInGlobalCrs() const;
78
84 DLL_IMPORT_OR_EXPORT virtual double getY() const = 0;
85
93 DLL_IMPORT_OR_EXPORT double getYInGlobalCrs() const;
94
100 DLL_IMPORT_OR_EXPORT virtual double getZ() const = 0;
101
109 DLL_IMPORT_OR_EXPORT double getZInGlobalCrs() const;
110
116 DLL_IMPORT_OR_EXPORT virtual bool hasKind() const = 0;
117
123 DLL_IMPORT_OR_EXPORT virtual gsoap_eml2_3::eml23__ReferencePointKind getKind() const = 0;
124
126 DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
127
133 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
134
135 protected:
136
138 MdDatum() : COMMON_NS::AbstractObject() {}
139
145 MdDatum(gsoap_resqml2_0_1::_resqml20__MdDatum* fromGsoap) : COMMON_NS::AbstractObject(fromGsoap) {}
146
156 DLL_IMPORT_OR_EXPORT virtual void setLocalCrs(RESQML2_NS::AbstractLocal3dCrs * localCrs) = 0;
157 };
158}
Proxy class for an abstract local 3D coordinate reference system (CRS).
Definition AbstractLocal3dCrs.h:27
Proxy class for a MD datum. An MD datum specifies the location of the measured depth = 0 reference po...
Definition MdDatum.h:32
virtual double getY() const =0
double getXInGlobalCrs() const
virtual double getX() const =0
virtual bool hasKind() const =0
double getYInGlobalCrs() const
double getZInGlobalCrs() const
static const char * XML_TAG
Definition MdDatum.h:126
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:133
MdDatum(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition MdDatum.h:40
virtual ~MdDatum()=default
class AbstractLocal3dCrs * getLocalCrs() const