Fesapi  0.13.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/AbstractLocal3dCrs.h"
22 
23 namespace RESQML2_0_1_NS
24 {
25  class DLL_IMPORT_OR_EXPORT LocalDepth3dCrs : public RESQML2_NS::AbstractLocal3dCrs
26  {
27  private:
28  void init(soap* soapContext, const std::string & guid, const std::string & title,
29  const double & originOrdinal1, const double & originOrdinal2, const double & originOrdinal3,
30  const double & arealRotation,
31  const gsoap_resqml2_0_1::eml20__LengthUom & projectedUom,
32  const gsoap_resqml2_0_1::eml20__LengthUom & verticalUom, const bool & isUpOriented);
33 
34  double getZOffset() const {return getOriginDepthOrElevation();}
35 
36  public:
37 
41  LocalDepth3dCrs(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::AbstractLocal3dCrs(partialObject) {}
42 
58  LocalDepth3dCrs(soap* soapContext, const std::string & guid, const std::string & title,
59  const double & originOrdinal1, const double & originOrdinal2, const double & originOrdinal3,
60  const double & arealRotation,
61  const gsoap_resqml2_0_1::eml20__LengthUom & projectedUom, const unsigned long & projectedEpsgCode,
62  const gsoap_resqml2_0_1::eml20__LengthUom & verticalUom, const unsigned int & verticalEpsgCode, const bool & isUpOriented);
63 
79  LocalDepth3dCrs(soap* soapContext, const std::string & guid, const std::string & title,
80  const double & originOrdinal1, const double & originOrdinal2, const double & originOrdinal3,
81  const double & arealRotation,
82  const gsoap_resqml2_0_1::eml20__LengthUom & projectedUom, const std::string & projectedUnknownReason,
83  const gsoap_resqml2_0_1::eml20__LengthUom & verticalUom, const std::string & verticalUnknownReason, const bool & isUpOriented);
84 
100  LocalDepth3dCrs(soap* soapContext, const std::string & guid, const std::string & title,
101  const double & originOrdinal1, const double & originOrdinal2, const double & originOrdinal3,
102  const double & arealRotation,
103  const gsoap_resqml2_0_1::eml20__LengthUom & projectedUom, const unsigned long & projectedEpsgCode,
104  const gsoap_resqml2_0_1::eml20__LengthUom & verticalUom, const std::string & verticalUnknownReason, const bool & isUpOriented);
105 
121  LocalDepth3dCrs(soap* soapContext, const std::string & guid, const std::string & title,
122  const double & originOrdinal1, const double & originOrdinal2, const double & originOrdinal3,
123  const double & arealRotation,
124  const gsoap_resqml2_0_1::eml20__LengthUom & projectedUom, const std::string & projectedUnknownReason,
125  const gsoap_resqml2_0_1::eml20__LengthUom & verticalUom, const unsigned int & verticalEpsgCode, const bool & isUpOriented);
126 
130  LocalDepth3dCrs(gsoap_resqml2_0_1::_resqml2__LocalDepth3dCrs* fromGsoap):
131  AbstractLocal3dCrs(fromGsoap) {}
132 
137 
138  //******************************************************************
139  //********** INHERITED FROM AbstractObjectWithDcMetadata ***********
140  //******************************************************************
141 
142  static const char* XML_TAG;
143  virtual std::string getXmlTag() const {return XML_TAG;}
144  };
145 }
146 
Definition: EpcDocument.h:65
Definition: LocalDepth3dCrs.h:25
virtual std::string getXmlTag() const
Definition: LocalDepth3dCrs.h:143
LocalDepth3dCrs(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: LocalDepth3dCrs.h:41
~LocalDepth3dCrs()
Definition: LocalDepth3dCrs.h:136
LocalDepth3dCrs(gsoap_resqml2_0_1::_resqml2__LocalDepth3dCrs *fromGsoap)
Definition: LocalDepth3dCrs.h:130
Definition: AbstractLocal3dCrs.h:25
Definition: EpcDocument.h:49