Fesapi  0.13.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
StratigraphicColumn.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/EarthModelInterpretation.h"
22 
23 namespace RESQML2_0_1_NS
24 {
28  class DLL_IMPORT_OR_EXPORT StratigraphicColumn : public COMMON_NS::AbstractObject
29  {
30  public:
31 
35  StratigraphicColumn(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : COMMON_NS::AbstractObject(partialObject) {}
36 
43  StratigraphicColumn(soap* soapContext, const std::string & guid, const std::string & title);
44 
49  StratigraphicColumn(gsoap_resqml2_0_1::_resqml2__StratigraphicColumn* fromGsoap) : AbstractObject(fromGsoap), earthModel(nullptr) {}
50 
55 
56  void pushBackStratiColumnRank(class StratigraphicColumnRankInterpretation * stratiColumnRank);
57 
61  std::vector<class StratigraphicColumnRankInterpretation*> getStratigraphicColumnRankInterpretationSet() const {return stratigraphicColumnRankSet;}
62 
63  static const char* XML_TAG;
64  virtual std::string getXmlTag() const {return XML_TAG;}
65 
66  private:
67  std::vector<epc::Relationship> getAllEpcRelationships() const;
68  void importRelationshipSetFromEpc(COMMON_NS::EpcDocument * epcDoc);
69 
70  // Forward relationships
71  std::vector<class StratigraphicColumnRankInterpretation*> stratigraphicColumnRankSet;
72 
73  // backward relationships
74  EarthModelInterpretation * earthModel;
75 
76  friend void EarthModelInterpretation::setStratiColumn(StratigraphicColumn * stratiColumn);
77  };
78 }
79 
StratigraphicColumn(gsoap_resqml2_0_1::_resqml2__StratigraphicColumn *fromGsoap)
Definition: StratigraphicColumn.h:49
Definition: StratigraphicColumn.h:28
Definition: EpcDocument.h:65
virtual std::string getXmlTag() const
Definition: StratigraphicColumn.h:64
std::vector< class StratigraphicColumnRankInterpretation * > getStratigraphicColumnRankInterpretationSet() const
Definition: StratigraphicColumn.h:61
Definition: EpcDocument.h:154
Definition: AbstractObject.h:27
StratigraphicColumn(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: StratigraphicColumn.h:35
Definition: EarthModelInterpretation.h:28
~StratigraphicColumn()
Definition: StratigraphicColumn.h:54
Definition: AbstractHdfProxy.h:28
Definition: StratigraphicColumnRankInterpretation.h:30