Fesapi  2.0.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 "../common/AbstractObject.h"
22 
23 namespace RESQML2_NS
24 {
25  class StratigraphicColumnRankInterpretation;
26 
34  class StratigraphicColumn : public COMMON_NS::AbstractObject
35  {
36  public:
37 
39  virtual ~StratigraphicColumn() = default;
40 
48  DLL_IMPORT_OR_EXPORT virtual void pushBackStratiColumnRank(StratigraphicColumnRankInterpretation * stratiColumnRank) = 0;
49 
57  DLL_IMPORT_OR_EXPORT virtual unsigned int getStratigraphicColumnRankInterpretationCount() const = 0;
58 
69  DLL_IMPORT_OR_EXPORT virtual COMMON_NS::DataObjectReference getStratigraphicColumnRankInterpretationDor(unsigned int index) const = 0;
70 
82 
90  DLL_IMPORT_OR_EXPORT std::vector<StratigraphicColumnRankInterpretation *> getStratigraphicColumnRankInterpretationSet() const;
91 
93  DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
94 
95  DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
96 
97  protected:
98 
106  DLL_IMPORT_OR_EXPORT StratigraphicColumn(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : COMMON_NS::AbstractObject(partialObject) {}
107 
111  StratigraphicColumn() {}
112 
118  StratigraphicColumn(gsoap_resqml2_0_1::_resqml20__StratigraphicColumn* fromGsoap) : AbstractObject(fromGsoap) {}
119 
125  StratigraphicColumn(gsoap_eml2_3::_resqml22__StratigraphicColumn* fromGsoap) : AbstractObject(fromGsoap) {}
126 
128  void loadTargetRelationships();
129  };
130 }
A global interpretation of the stratigraphy, which can be made up of several ranks of stratigraphic u...
Definition: StratigraphicColumn.h:35
StratigraphicColumnRankInterpretation * getStratigraphicColumnRankInterpretation(unsigned int index) const
virtual std::string getXmlTag() const final
Definition: StratigraphicColumn.h:95
virtual ~StratigraphicColumn()=default
std::vector< StratigraphicColumnRankInterpretation * > getStratigraphicColumnRankInterpretationSet() const
virtual common::DataObjectReference getStratigraphicColumnRankInterpretationDor(unsigned int index) const =0
virtual unsigned int getStratigraphicColumnRankInterpretationCount() const =0
virtual void pushBackStratiColumnRank(StratigraphicColumnRankInterpretation *stratiColumnRank)=0
static const char * XML_TAG
Definition: StratigraphicColumn.h:93
A stratigraphic column rank interpretation is a global hierarchy containing an ordered list of strati...
Definition: StratigraphicColumnRankInterpretation.h:39