Fesapi  0.13.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
HorizonInterpretation.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 "resqml2_0_1/BoundaryFeatureInterpretation.h"
22 #include "resqml2_0_1/StructuralOrganizationInterpretation.h"
23 #include "resqml2_0_1/StratigraphicColumnRankInterpretation.h"
24 
25 namespace RESQML2_0_1_NS
26 {
27  class DLL_IMPORT_OR_EXPORT HorizonInterpretation : public BoundaryFeatureInterpretation
28  {
29  public:
30 
34  HorizonInterpretation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject):
35  BoundaryFeatureInterpretation(partialObject)
36  {
37  }
38 
45  HorizonInterpretation(class Horizon * horizon, const std::string & guid, const std::string & title);
46 
50  HorizonInterpretation(gsoap_resqml2_0_1::_resqml2__HorizonInterpretation* fromGsoap): BoundaryFeatureInterpretation(fromGsoap) {}
51 
56 
57  static const char* XML_TAG;
58  virtual std::string getXmlTag() const {return XML_TAG;}
59 
60  private:
61  std::vector<epc::Relationship> getAllEpcRelationships() const;
62 
63  // backward relationships
64  std::vector<class StructuralOrganizationInterpretation*> structuralOrganizationInterpretationSet;
65  std::vector<class StratigraphicColumnRankInterpretation*> stratigraphicColumnRankInterpretationSet;
66 
67  friend void StructuralOrganizationInterpretation::pushBackHorizonInterpretation(HorizonInterpretation * horizonInterpretation, const int & stratigraphicRank);
68  friend void StratigraphicColumnRankInterpretation::setHorizonOfLastContact(HorizonInterpretation * partOf);
69  };
70 }
71 
~HorizonInterpretation()
Definition: HorizonInterpretation.h:55
void pushBackHorizonInterpretation(class HorizonInterpretation *horizonInterpretation, const int &stratigraphicRank)
Definition: StructuralOrganizationInterpretation.cpp:81
Definition: EpcDocument.h:65
Definition: BoundaryFeatureInterpretation.h:26
Definition: Horizon.h:25
HorizonInterpretation(gsoap_resqml2_0_1::_resqml2__HorizonInterpretation *fromGsoap)
Definition: HorizonInterpretation.h:50
HorizonInterpretation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: HorizonInterpretation.h:34
Definition: HorizonInterpretation.h:27
virtual std::string getXmlTag() const
Definition: HorizonInterpretation.h:58