Fesapi 2.9.0.1
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
WeightingFunction.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 <vector>
22#include <string>
23
24#include "WeightingFunctionDictionary.h"
25#include "ErrorTerm.h"
26
27namespace WITSML2_1_NS
28{
29 class WeightingFunction : public COMMON_NS::AbstractObject
30 {
31 public:
32
36 WeightingFunction(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) :
37 COMMON_NS::AbstractObject(partialObject) {}
38
43 WeightingFunction(COMMON_NS::DataObjectRepository * repo,
44 const std::string & guid,
45 const std::string & title,
46 const std::string & depthFormula,
47 const std::string & inclinationFormula,
48 const std::string & azimuthFormula);
49
53 WeightingFunction(gsoap_eml2_3::witsml21__WeightingFunction* fromGsoap) : COMMON_NS::AbstractObject(fromGsoap) {}
54
59
60 DLL_IMPORT_OR_EXPORT bool isTopLevelElement() const;
61
62 DLL_IMPORT_OR_EXPORT void setKind(gsoap_eml2_3::witsml21__ErrorKind errorKind);
63 DLL_IMPORT_OR_EXPORT void pushBackSource(const std::string & source);
64 DLL_IMPORT_OR_EXPORT void setSingularityNorthFormula(const std::string & singularityNorthFormula);
65 DLL_IMPORT_OR_EXPORT void setSingularityEastFormula(const std::string & singularityEastFormula);
66 DLL_IMPORT_OR_EXPORT void setSingularityVerticalFormula(const std::string & singularityVerticalFormula);
67
68 void loadTargetRelationships() {}
69
70 DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
71 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const {return XML_TAG;}
72
76 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_NS = "witsml21";
77
81 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
82 };
83}
Definition WeightingFunction.h:30
WeightingFunction(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition WeightingFunction.h:36
WeightingFunction(gsoap_eml2_3::witsml21__WeightingFunction *fromGsoap)
Definition WeightingFunction.h:53
~WeightingFunction()
Definition WeightingFunction.h:58
std::string getXmlNamespace() const final
Definition WeightingFunction.h:81
WeightingFunction(common ::DataObjectRepository *repo, const std::string &guid, const std::string &title, const std::string &depthFormula, const std::string &inclinationFormula, const std::string &azimuthFormula)