My Project
LocalTime3dCrs.h
1 /*-----------------------------------------------------------------------
2 Copyright F2I-CONSULTING, (2014-2017)
3 
4 philippe.verney@f2i-consulting.com
5 
6 This software is a computer program whose purpose is to access to data formatted using Energistics standards.
7 
8 This software is governed by the CeCILL-B license under French law and
9 abiding by the rules of distribution of free software. You can use,
10 modify and/ or redistribute the software under the terms of the CeCILL-B
11 license as circulated by CEA, CNRS and INRIA at the following URL
12 "http://www.cecill.info".
13 
14 As a counterpart to the access to the source code and rights to copy,
15 modify and redistribute granted by the license, users are provided only
16 with a limited warranty and the software's author, the holder of the
17 economic rights, and the successive licensors have only limited
18 liability.
19 
20 In this respect, the user's attention is drawn to the risks associated
21 with loading, using, modifying and/or developing or reproducing the
22 software by the user in light of its specific status of free software,
23 that may mean that it is complicated to manipulate, and that also
24 therefore means that it is reserved for developers and experienced
25 professionals having in-depth computer knowledge. Users are therefore
26 encouraged to load and test the software's suitability as regards their
27 requirements in conditions enabling the security of their systems and/or
28 data to be ensured and, more generally, to use and operate it in the
29 same conditions as regards security.
30 
31 The fact that you are presently reading this means that you have had
32 knowledge of the CeCILL-B license and that you accept its terms.
33 -----------------------------------------------------------------------*/
34 #pragma once
35 
36 #include "resqml2/AbstractLocal3dCrs.h"
37 
38 namespace resqml2_0_1
39 {
40  class DLL_IMPORT_OR_EXPORT LocalTime3dCrs : public resqml2::AbstractLocal3dCrs
41  {
42  private:
43  void init(soap* soapContext, const std::string & guid, const std::string & title,
44  const double & originOrdinal1, const double & originOrdinal2, const double & originOrdinal3,
45  const double & arealRotation,
46  const gsoap_resqml2_0_1::eml20__LengthUom & projectedUom,
47  const gsoap_resqml2_0_1::eml20__TimeUom & timeUom,
48  const gsoap_resqml2_0_1::eml20__LengthUom & verticalUom, const bool & isUpOriented);
49 
50  double getZOffset() const {return .0;}
51 
52  public:
53 
57  LocalTime3dCrs(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : resqml2::AbstractLocal3dCrs(partialObject) {}
58 
75  LocalTime3dCrs(soap* soapContext, const std::string & guid, const std::string & title,
76  const double & originOrdinal1, const double & originOrdinal2, const double & originOrdinal3,
77  const double & arealRotation,
78  const gsoap_resqml2_0_1::eml20__LengthUom & projectedUom, const unsigned long & projectedEpsgCode,
79  const gsoap_resqml2_0_1::eml20__TimeUom & timeUom,
80  const gsoap_resqml2_0_1::eml20__LengthUom & verticalUom, const unsigned int & verticalEpsgCode, const bool & isUpOriented);
81 
98  LocalTime3dCrs(soap* soapContext, const std::string & guid, const std::string & title,
99  const double & originOrdinal1, const double & originOrdinal2, const double & originOrdinal3,
100  const double & arealRotation,
101  const gsoap_resqml2_0_1::eml20__LengthUom & projectedUom, const std::string & projectedUnknownReason,
102  const gsoap_resqml2_0_1::eml20__TimeUom & timeUom,
103  const gsoap_resqml2_0_1::eml20__LengthUom & verticalUom, const std::string & verticalUnknownReason, const bool & isUpOriented);
104 
121  LocalTime3dCrs(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 unsigned long & projectedEpsgCode,
125  const gsoap_resqml2_0_1::eml20__TimeUom & timeUom,
126  const gsoap_resqml2_0_1::eml20__LengthUom & verticalUom, const std::string & verticalUnknownReason, const bool & isUpOriented);
127 
144  LocalTime3dCrs(soap* soapContext, const std::string & guid, const std::string & title,
145  const double & originOrdinal1, const double & originOrdinal2, const double & originOrdinal3,
146  const double & arealRotation,
147  const gsoap_resqml2_0_1::eml20__LengthUom & projectedUom, const std::string & projectedUnknownReason,
148  const gsoap_resqml2_0_1::eml20__TimeUom & timeUom,
149  const gsoap_resqml2_0_1::eml20__LengthUom & verticalUom, const unsigned int & verticalEpsgCode, const bool & isUpOriented);
150 
154  LocalTime3dCrs(gsoap_resqml2_0_1::_resqml2__LocalTime3dCrs* fromGsoap):
155  AbstractLocal3dCrs(fromGsoap) {}
156 
161 
162  gsoap_resqml2_0_1::eml20__TimeUom getUnit() const;
163 
164  std::string getUnitAsString() const;
165 
166  //******************************************************************
167  //********** INHERITED FROM AbstractObjectWithDcMetadata ***********
168  //******************************************************************
169 
170  static const char* XML_TAG;
171  virtual std::string getXmlTag() const {return XML_TAG;}
172  };
173 }
virtual std::string getXmlTag() const
Definition: LocalTime3dCrs.h:171
Definition: LocalTime3dCrs.h:40
LocalTime3dCrs(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: LocalTime3dCrs.h:57
Definition: AbstractLocal3dCrs.h:40
~LocalTime3dCrs()
Definition: LocalTime3dCrs.h:160
LocalTime3dCrs(gsoap_resqml2_0_1::_resqml2__LocalTime3dCrs *fromGsoap)
Definition: LocalTime3dCrs.h:154
Definition: EpcDocument.h:78
Definition: EpcDocument.h:62