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
LocalEngineering2dCrs.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 LocalEngineering2dCrs final : public COMMON_NS::AbstractObject
27 {
28 public:
29
37 DLL_IMPORT_OR_EXPORT LocalEngineering2dCrs(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : COMMON_NS::AbstractObject(partialObject) {}
38
54 LocalEngineering2dCrs(COMMON_NS::DataObjectRepository* repo, const std::string& guid, const std::string& title,
55 uint64_t projectedEpsgCode,
56 double originOrdinal1, double originOrdinal2, gsoap_eml2_3::eml23__LengthUom projectedUom,
57 double azimuth, gsoap_eml2_3::eml23__PlaneAngleUom azimuthUom, gsoap_eml2_3::eml23__NorthReferenceKind azimuthReference,
58 gsoap_eml2_3::eml23__AxisOrder2d axisOrder);
59
75 LocalEngineering2dCrs(COMMON_NS::DataObjectRepository* repo, const std::string& guid, const std::string& title,
76 std::string unknownReason,
77 double originOrdinal1, double originOrdinal2, gsoap_eml2_3::eml23__LengthUom projectedUom,
78 double azimuth, gsoap_eml2_3::eml23__PlaneAngleUom azimuthUom, gsoap_eml2_3::eml23__NorthReferenceKind azimuthReference,
79 gsoap_eml2_3::eml23__AxisOrder2d axisOrder);
80
86 LocalEngineering2dCrs(gsoap_eml2_3::_eml23__LocalEngineering2dCrs* fromGsoap): COMMON_NS::AbstractObject(fromGsoap) {}
87
90
98 DLL_IMPORT_OR_EXPORT double getOriginOrdinal1() const;
99
107 DLL_IMPORT_OR_EXPORT double getOriginOrdinal2() const;
108
114 DLL_IMPORT_OR_EXPORT double getAzimuth() const;
115
121 DLL_IMPORT_OR_EXPORT std::string getAzimuthUomAsString() const;
122
128 DLL_IMPORT_OR_EXPORT bool isProjectedCrsDefinedWithEpsg() const;
129
135 DLL_IMPORT_OR_EXPORT bool isProjectedCrsUnknown() const;
136
144 DLL_IMPORT_OR_EXPORT std::string getProjectedCrsUnknownReason() const;
145
153 DLL_IMPORT_OR_EXPORT int64_t getProjectedCrsEpsgCode() const;
154
160 DLL_IMPORT_OR_EXPORT std::string getProjectedCrsUnitAsString() const;
161
167 DLL_IMPORT_OR_EXPORT gsoap_eml2_3::eml23__AxisOrder2d getAxisOrder() const;
168
176 DLL_IMPORT_OR_EXPORT void setAxisOrder(gsoap_eml2_3::eml23__AxisOrder2d axisOrder) const;
177
181 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_NS = "eml23";
182
186 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
187
189 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_TAG = "LocalEngineering2dCrs";
190
191 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
192
194
195 private:
196 void init(gsoap_eml2_3::eml23__LocalEngineering2dCrs* local2dCrs, const std::string& guid, const std::string& title,
197 double originOrdinal1, double originOrdinal2, gsoap_eml2_3::eml23__LengthUom projectedUom,
198 double azimuth, gsoap_eml2_3::eml23__PlaneAngleUom azimuthUom, gsoap_eml2_3::eml23__NorthReferenceKind azimuthReference,
199 gsoap_eml2_3::eml23__AxisOrder2d axisOrder);
200 };
201}
Definition LocalEngineering2dCrs.h:27
std::string getProjectedCrsUnknownReason() const
int64_t getProjectedCrsEpsgCode() const
LocalEngineering2dCrs(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition LocalEngineering2dCrs.h:37
double getOriginOrdinal1() const
LocalEngineering2dCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, uint64_t projectedEpsgCode, double originOrdinal1, double originOrdinal2, gsoap_eml2_3::eml23__LengthUom projectedUom, double azimuth, gsoap_eml2_3::eml23__PlaneAngleUom azimuthUom, gsoap_eml2_3::eml23__NorthReferenceKind azimuthReference, gsoap_eml2_3::eml23__AxisOrder2d axisOrder)
void setAxisOrder(gsoap_eml2_3::eml23__AxisOrder2d axisOrder) const
void loadTargetRelationships() final
Definition LocalEngineering2dCrs.h:193
virtual std::string getXmlTag() const final
Definition LocalEngineering2dCrs.h:191
LocalEngineering2dCrs(gsoap_eml2_3::_eml23__LocalEngineering2dCrs *fromGsoap)
Definition LocalEngineering2dCrs.h:86
gsoap_eml2_3::eml23__AxisOrder2d getAxisOrder() const
std::string getAzimuthUomAsString() const
LocalEngineering2dCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, std::string unknownReason, double originOrdinal1, double originOrdinal2, gsoap_eml2_3::eml23__LengthUom projectedUom, double azimuth, gsoap_eml2_3::eml23__PlaneAngleUom azimuthUom, gsoap_eml2_3::eml23__NorthReferenceKind azimuthReference, gsoap_eml2_3::eml23__AxisOrder2d axisOrder)
std::string getXmlNamespace() const final
Definition LocalEngineering2dCrs.h:186
std::string getProjectedCrsUnitAsString() const
double getOriginOrdinal2() const
bool isProjectedCrsDefinedWithEpsg() const