Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
FaultInterpretation.h
1 /*-----------------------------------------------------------------------
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"; you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18 -----------------------------------------------------------------------*/
19 #pragma once
20 
21 #include "BoundaryFeatureInterpretation.h"
22 
23 namespace RESQML2_NS
24 {
30  {
31  public:
32 
34  virtual ~FaultInterpretation() = default;
35 
43  DLL_IMPORT_OR_EXPORT virtual void pushBackThrowInterpretation(gsoap_resqml2_0_1::resqml20__ThrowKind throwKind) = 0; // TODO: add a parameter to be able to indicate the time period the throw occured.
44 
46  DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
47 
48  DLL_IMPORT_OR_EXPORT std::string getXmlTag() const final { return XML_TAG; }
49 
50  protected:
51 
59  DLL_IMPORT_OR_EXPORT FaultInterpretation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : BoundaryFeatureInterpretation(partialObject) {}
60 
64  FaultInterpretation() {}
65 
71  FaultInterpretation(gsoap_resqml2_0_1::_resqml20__FaultInterpretation* fromGsoap) : BoundaryFeatureInterpretation(fromGsoap) {}
72 
78  FaultInterpretation(gsoap_eml2_3::_resqml22__FaultInterpretation* fromGsoap) : BoundaryFeatureInterpretation(fromGsoap) {}
79  };
80 }
A boundary feature interpretation. This is the main class for data describing an opinion of a surface...
Definition: BoundaryFeatureInterpretation.h:35
A fault interpretation. This type of boundary feature contains the data describing an opinion about t...
Definition: FaultInterpretation.h:30
static const char * XML_TAG
Definition: FaultInterpretation.h:46
virtual ~FaultInterpretation()=default
virtual void pushBackThrowInterpretation(gsoap_resqml2_0_1::resqml20__ThrowKind throwKind)=0
std::string getXmlTag() const final
Definition: FaultInterpretation.h:48