Fesapi 2.10.1.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
ToolErrorModelDictionary.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 "../common/AbstractObject.h"
25
26namespace WITSML2_1_NS
27{
28 class ToolErrorModelDictionary : public COMMON_NS::AbstractObject
29 {
30 public:
35 ToolErrorModelDictionary(COMMON_NS::DataObjectRepository * repo,
36 const std::string & guid,
37 const std::string & title);
38
42 ToolErrorModelDictionary(gsoap_eml2_3::witsml21__ToolErrorModelDictionary* fromGsoap) : COMMON_NS::AbstractObject(fromGsoap) {}
43
48
49 DLL_IMPORT_OR_EXPORT std::string getToolErrorModelUuid(unsigned long index) const;
50 DLL_IMPORT_OR_EXPORT class ToolErrorModel* getToolErrorModel(unsigned long index) const;
51 DLL_IMPORT_OR_EXPORT std::vector<class ToolErrorModel*> getToolErrorModels() const;
52 DLL_IMPORT_OR_EXPORT void pushBackToolErrorModel(class ToolErrorModel* tem);
53
58
59 DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
60 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const {return XML_TAG;}
61
65 DLL_IMPORT_OR_EXPORT static constexpr char const* XML_NS = "witsml21";
66
70 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
71 };
72}
Definition ToolErrorModelDictionary.h:29
std::string getXmlNamespace() const final
Definition ToolErrorModelDictionary.h:70
ToolErrorModelDictionary(gsoap_eml2_3::witsml21__ToolErrorModelDictionary *fromGsoap)
Definition ToolErrorModelDictionary.h:42
ToolErrorModelDictionary(common::DataObjectRepository *repo, const std::string &guid, const std::string &title)
~ToolErrorModelDictionary()
Definition ToolErrorModelDictionary.h:47
virtual std::string getXmlTag() const
Definition ToolErrorModelDictionary.h:60
Definition ToolErrorModel.h:30