Fesapi 2.13.0.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
63 VerticalCrs(COMMON_NS::DataObjectRepository* repo, const std::string& guid, const std::string& title,
64 std::string verticalDefinition,
65 gsoap_eml2_3::eml23__LengthUom verticalUom,
66 bool isUpOriented);
67
73 VerticalCrs(gsoap_eml2_3::_eml23__VerticalCrs* fromGsoap): COMMON_NS::AbstractObject(fromGsoap) {}
74
76 ~VerticalCrs() = default;
77
83 DLL_IMPORT_OR_EXPORT bool isVerticalCrsDefinedWithEpsg() const;
84
90 DLL_IMPORT_OR_EXPORT bool isVerticalCrsDefinedWithWkt() const;
91
97 DLL_IMPORT_OR_EXPORT bool isVerticalCrsUnknown() const;
98
106 DLL_IMPORT_OR_EXPORT std::string getVerticalCrsUnknownReason() const;
107
115 DLL_IMPORT_OR_EXPORT std::string getVerticalCrsWkt() const;
116
124 DLL_IMPORT_OR_EXPORT int64_t getVerticalCrsEpsgCode() const;
125
129 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_NS = "eml23";
130
134 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
135
137 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_TAG = "VerticalCrs";
138
139 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
140
142
143 private:
144
145 void init(gsoap_eml2_3::eml23__VerticalCrs* verticalCrs, const std::string& guid, const std::string& title,
146 gsoap_eml2_3::eml23__LengthUom verticalUom,
147 bool isUpOriented);
148 };
149}
virtual std::string getXmlTag() const final
Definition VerticalCrs.h:139
void loadTargetRelationships() final
Definition VerticalCrs.h:141
VerticalCrs(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition VerticalCrs.h:35
std::string getVerticalCrsWkt() const
static constexpr char const * XML_NS
Definition VerticalCrs.h:129
VerticalCrs(gsoap_eml2_3::_eml23__VerticalCrs *fromGsoap)
Definition VerticalCrs.h:73
VerticalCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, std::string verticalDefinition, gsoap_eml2_3::eml23__LengthUom verticalUom, bool isUpOriented)
std::string getXmlNamespace() const final
Definition VerticalCrs.h:134
std::string getVerticalCrsUnknownReason() const
int64_t getVerticalCrsEpsgCode() const
bool isVerticalCrsUnknown() const
static constexpr char const * XML_TAG
Definition VerticalCrs.h:137
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)
bool isVerticalCrsDefinedWithWkt() const