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
GeneticBoundaryFeature.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 "BoundaryFeature.h"
22
23namespace RESQML2_0_1_NS
24{
27 {
28 public:
29
37 DLL_IMPORT_OR_EXPORT GeneticBoundaryFeature(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : BoundaryFeature(partialObject) {}
38
48 GeneticBoundaryFeature(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title, bool isAnHorizon);
49
55 GeneticBoundaryFeature(gsoap_resqml2_0_1::_resqml20__GeneticBoundaryFeature* fromGsoap): BoundaryFeature(fromGsoap) {}
56
58 virtual ~GeneticBoundaryFeature() = default;
59
66 DLL_IMPORT_OR_EXPORT bool isAnHorizon() const;
67
73 DLL_IMPORT_OR_EXPORT void setAge(unsigned int age);
74
80 DLL_IMPORT_OR_EXPORT bool hasAnAge() const;
81
87 DLL_IMPORT_OR_EXPORT uint64_t getAge() const;
88
94 DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
95
101 DLL_IMPORT_OR_EXPORT std::string getXmlTag() const final { return XML_TAG; }
102
103 protected:
104
107 };
108}
Definition BoundaryFeature.h:27
Definition GeneticBoundaryFeature.h:27
static const char * XML_TAG
Definition GeneticBoundaryFeature.h:94
void setAge(unsigned int age)
std::string getXmlTag() const final
Definition GeneticBoundaryFeature.h:101
GeneticBoundaryFeature(gsoap_resqml2_0_1::_resqml20__GeneticBoundaryFeature *fromGsoap)
Definition GeneticBoundaryFeature.h:55
virtual ~GeneticBoundaryFeature()=default
GeneticBoundaryFeature(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition GeneticBoundaryFeature.h:37
GeneticBoundaryFeature(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, bool isAnHorizon)