Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
LocalDepth3dCrs.h
1 /*-----------------------------------------------------------------------
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"; you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 -----------------------------------------------------------------------*/
19 #pragma once
20 
21 #include "../resqml2/LocalDepth3dCrs.h"
22 
23 namespace RESQML2_2_NS
24 {
26  class LocalDepth3dCrs final : public RESQML2_NS::LocalDepth3dCrs
27  {
28  public:
29 
37  DLL_IMPORT_OR_EXPORT LocalDepth3dCrs(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::LocalDepth3dCrs(partialObject) {}
38 
63  LocalDepth3dCrs(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
64  double originOrdinal1, double originOrdinal2, double originOrdinal3,
65  double arealRotation,
66  gsoap_resqml2_0_1::eml20__LengthUom projectedUom, unsigned long projectedEpsgCode,
67  gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented);
68 
94  LocalDepth3dCrs(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
95  double originOrdinal1, double originOrdinal2, double originOrdinal3,
96  double arealRotation,
97  gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string & projectedUnknownReason,
98  gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string & verticalUnknownReason, bool isUpOriented);
99 
127  LocalDepth3dCrs(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
128  double originOrdinal1, double originOrdinal2, double originOrdinal3,
129  double arealRotation,
130  gsoap_resqml2_0_1::eml20__LengthUom projectedUom, unsigned long projectedEpsgCode,
131  gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string & verticalUnknownReason, bool isUpOriented);
132 
158  LocalDepth3dCrs(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
159  double originOrdinal1, double originOrdinal2, double originOrdinal3,
160  double arealRotation,
161  gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string & projectedUnknownReason,
162  gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented);
163 
169  LocalDepth3dCrs(gsoap_eml2_3::_resqml22__LocalDepth3dCrs* fromGsoap): RESQML2_NS::LocalDepth3dCrs(fromGsoap) {}
170 
172  ~LocalDepth3dCrs() = default;
173 
177  DLL_IMPORT_OR_EXPORT static const char* XML_NS;
178 
182  DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
183 
184  private:
185 
200  void init(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title,
201  double originOrdinal1, double originOrdinal2, double originOrdinal3,
202  double arealRotation,
203  gsoap_resqml2_0_1::eml20__LengthUom projectedUom,
204  gsoap_resqml2_0_1::eml20__LengthUom verticalUom, bool isUpOriented);
205 
211  double getZOffset() const { return getOriginDepthOrElevation(); }
212  };
213 }
Definition: LocalDepth3dCrs.h:27
LocalDepth3dCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string &projectedUnknownReason, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented)
Creates a local depth 3d CRS which unkown for its projected part and which is identified by an EPSG c...
LocalDepth3dCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string &projectedUnknownReason, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string &verticalUnknownReason, bool isUpOriented)
LocalDepth3dCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, unsigned long projectedEpsgCode, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string &verticalUnknownReason, bool isUpOriented)
Creates a local depth 3d CRS which is identified by an EPSG code for its projected part and which is ...
static const char * XML_NS
Definition: LocalDepth3dCrs.h:177
std::string getXmlNamespace() const final
Definition: LocalDepth3dCrs.h:182
LocalDepth3dCrs(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, unsigned long projectedEpsgCode, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented)
Creates a local depth 3d CRS which is fully identified by means of EPSG code.
LocalDepth3dCrs(gsoap_eml2_3::_resqml22__LocalDepth3dCrs *fromGsoap)
Definition: LocalDepth3dCrs.h:169
LocalDepth3dCrs(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: LocalDepth3dCrs.h:37