Fesapi 2.3.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
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 "witsml2_1/AbstractObject.h"
25
26namespace WITSML2_1_NS
27{
29 {
30 public:
35 ToolErrorModelDictionary(COMMON_NS::DataObjectRepository * repo,
36 const std::string & guid,
37 const std::string & title);
38
42 ToolErrorModelDictionary(gsoap_eml2_2::witsml2__ToolErrorModelDictionary* fromGsoap) :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 };
62}
Definition: AbstractObject.h:26
Definition: ToolErrorModelDictionary.h:29
ToolErrorModelDictionary(gsoap_eml2_2::witsml2__ToolErrorModelDictionary *fromGsoap)
Definition: ToolErrorModelDictionary.h:42
ToolErrorModelDictionary(COMMON_NS::DataObjectRepository *repo, const std::string &guid, const std::string &title)
~ToolErrorModelDictionary()
Definition: ToolErrorModelDictionary.h:47
Definition: ToolErrorModel.h:30