Fesapi  0.13.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
LocalTime3dCrs.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 LocalTime3dCrs : 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__TimeUom & timeUom,
33  const gsoap_resqml2_0_1::eml20__LengthUom & verticalUom, const bool & isUpOriented);
34 
35  double getZOffset() const {return .0;}
36 
37  public:
38 
42  LocalTime3dCrs(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::AbstractLocal3dCrs(partialObject) {}
43 
60  LocalTime3dCrs(soap* soapContext, const std::string & guid, const std::string & title,
61  const double & originOrdinal1, const double & originOrdinal2, const double & originOrdinal3,
62  const double & arealRotation,
63  const gsoap_resqml2_0_1::eml20__LengthUom & projectedUom, const unsigned long & projectedEpsgCode,
64  const gsoap_resqml2_0_1::eml20__TimeUom & timeUom,
65  const gsoap_resqml2_0_1::eml20__LengthUom & verticalUom, const unsigned int & verticalEpsgCode, const bool & isUpOriented);
66 
83  LocalTime3dCrs(soap* soapContext, const std::string & guid, const std::string & title,
84  const double & originOrdinal1, const double & originOrdinal2, const double & originOrdinal3,
85  const double & arealRotation,
86  const gsoap_resqml2_0_1::eml20__LengthUom & projectedUom, const std::string & projectedUnknownReason,
87  const gsoap_resqml2_0_1::eml20__TimeUom & timeUom,
88  const gsoap_resqml2_0_1::eml20__LengthUom & verticalUom, const std::string & verticalUnknownReason, const bool & isUpOriented);
89 
106  LocalTime3dCrs(soap* soapContext, const std::string & guid, const std::string & title,
107  const double & originOrdinal1, const double & originOrdinal2, const double & originOrdinal3,
108  const double & arealRotation,
109  const gsoap_resqml2_0_1::eml20__LengthUom & projectedUom, const unsigned long & projectedEpsgCode,
110  const gsoap_resqml2_0_1::eml20__TimeUom & timeUom,
111  const gsoap_resqml2_0_1::eml20__LengthUom & verticalUom, const std::string & verticalUnknownReason, const bool & isUpOriented);
112 
129  LocalTime3dCrs(soap* soapContext, const std::string & guid, const std::string & title,
130  const double & originOrdinal1, const double & originOrdinal2, const double & originOrdinal3,
131  const double & arealRotation,
132  const gsoap_resqml2_0_1::eml20__LengthUom & projectedUom, const std::string & projectedUnknownReason,
133  const gsoap_resqml2_0_1::eml20__TimeUom & timeUom,
134  const gsoap_resqml2_0_1::eml20__LengthUom & verticalUom, const unsigned int & verticalEpsgCode, const bool & isUpOriented);
135 
139  LocalTime3dCrs(gsoap_resqml2_0_1::_resqml2__LocalTime3dCrs* fromGsoap):
140  AbstractLocal3dCrs(fromGsoap) {}
141 
146 
147  gsoap_resqml2_0_1::eml20__TimeUom getUnit() const;
148 
149  std::string getUnitAsString() const;
150 
151  //******************************************************************
152  //********** INHERITED FROM AbstractObjectWithDcMetadata ***********
153  //******************************************************************
154 
155  static const char* XML_TAG;
156  virtual std::string getXmlTag() const {return XML_TAG;}
157  };
158 }
159 
LocalTime3dCrs(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: LocalTime3dCrs.h:42
Definition: LocalTime3dCrs.h:25
Definition: EpcDocument.h:65
virtual std::string getXmlTag() const
Definition: LocalTime3dCrs.h:156
~LocalTime3dCrs()
Definition: LocalTime3dCrs.h:145
LocalTime3dCrs(gsoap_resqml2_0_1::_resqml2__LocalTime3dCrs *fromGsoap)
Definition: LocalTime3dCrs.h:139
Definition: AbstractLocal3dCrs.h:25
Definition: EpcDocument.h:49