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
VerticalCrs.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 EML2_3_NS
24{
26 class VerticalCrs final : public COMMON_NS::AbstractObject
27 {
28 public:
29
35 DLL_IMPORT_OR_EXPORT VerticalCrs(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : COMMON_NS::AbstractObject(partialObject) {}
36
47 VerticalCrs(COMMON_NS::DataObjectRepository* repo, const std::string& guid, const std::string& title,
48 uint64_t verticalEpsgCode,
49 gsoap_eml2_3::eml23__LengthUom verticalUom,
50 bool isUpOriented);
51
62 VerticalCrs(COMMON_NS::DataObjectRepository* repo, const std::string& guid, const std::string& title,
63 std::string unknownReason,
64 gsoap_eml2_3::eml23__LengthUom verticalUom,
65 bool isUpOriented);
66
72 VerticalCrs(gsoap_eml2_3::_eml23__VerticalCrs* fromGsoap): COMMON_NS::AbstractObject(fromGsoap) {}
73
75 ~VerticalCrs() = default;
76
82 DLL_IMPORT_OR_EXPORT bool isVerticalCrsDefinedWithEpsg() const;
83
89 DLL_IMPORT_OR_EXPORT bool isVerticalCrsUnknown() const;
90
98 DLL_IMPORT_OR_EXPORT std::string getVerticalCrsUnknownReason() const;
99
107 DLL_IMPORT_OR_EXPORT int64_t getVerticalCrsEpsgCode() const;
108
112 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_NS = "eml23";
113
117 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
118
120 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_TAG = "VerticalCrs";
121
122 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
123
125
126 private:
127
128 void init(gsoap_eml2_3::eml23__VerticalCrs* verticalCrs, const std::string& guid, const std::string& title,
129 gsoap_eml2_3::eml23__LengthUom verticalUom,
130 bool isUpOriented);
131 };
132}
Definition VerticalCrs.h:27
VerticalCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, std::string unknownReason, gsoap_eml2_3::eml23__LengthUom verticalUom, bool isUpOriented)
virtual std::string getXmlTag() const final
Definition VerticalCrs.h:122
void loadTargetRelationships() final
Definition VerticalCrs.h:124
VerticalCrs(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition VerticalCrs.h:35
VerticalCrs(gsoap_eml2_3::_eml23__VerticalCrs *fromGsoap)
Definition VerticalCrs.h:72
std::string getXmlNamespace() const final
Definition VerticalCrs.h:117
std::string getVerticalCrsUnknownReason() const
int64_t getVerticalCrsEpsgCode() const
bool isVerticalCrsUnknown() const
bool isVerticalCrsDefinedWithEpsg() const
~VerticalCrs()=default
VerticalCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, uint64_t verticalEpsgCode, gsoap_eml2_3::eml23__LengthUom verticalUom, bool isUpOriented)