Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
BlockedWellboreRepresentation.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 "WellboreFrameRepresentation.h"
22 
23 namespace RESQML2_NS
24 {
25  class AbstractGridRepresentation;
26 
33  {
34  public:
35 
37  virtual ~BlockedWellboreRepresentation() = default;
38 
86  DLL_IMPORT_OR_EXPORT virtual void setIntervalGridCells(unsigned int const* gridIndices, unsigned int gridIndicesNullValue,
87  unsigned int cellCount, uint64_t const* cellIndices,
88  unsigned char const* localFacePairPerCellIndices, unsigned char localFacePairPerCellIndicesNullValue, EML2_NS::AbstractHdfProxy * hdfProxy) = 0;
89 
95  DLL_IMPORT_OR_EXPORT virtual uint64_t getCellCount() const = 0;
96 
114  DLL_IMPORT_OR_EXPORT virtual int64_t getGridIndices(unsigned int * gridIndices) const = 0;
115 
123  DLL_IMPORT_OR_EXPORT virtual void pushBackSupportingGridRepresentation(RESQML2_NS::AbstractGridRepresentation * supportingGridRep) = 0;
124 
133  DLL_IMPORT_OR_EXPORT virtual unsigned int getSupportingGridRepresentationCount() const = 0;
134 
146  DLL_IMPORT_OR_EXPORT RESQML2_NS::AbstractGridRepresentation* getSupportingGridRepresentation(unsigned int index) const;
147 
159  virtual COMMON_NS::DataObjectReference getSupportingGridRepresentationDor(unsigned int index) const = 0;
160 
162  DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
163 
164  DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const override { return XML_TAG; }
165 
166  protected:
167 
175  DLL_IMPORT_OR_EXPORT BlockedWellboreRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : WellboreFrameRepresentation(partialObject) {}
176 
180  BlockedWellboreRepresentation() {}
181 
187  BlockedWellboreRepresentation(gsoap_resqml2_0_1::_resqml20__BlockedWellboreRepresentation* fromGsoap) : WellboreFrameRepresentation(fromGsoap) {}
188 
194  BlockedWellboreRepresentation(gsoap_eml2_3::_resqml22__BlockedWellboreRepresentation* fromGsoap) : WellboreFrameRepresentation(fromGsoap) {}
195 
197  void loadTargetRelationships() override;
198  };
199 }
A blocked wellbore representation. This is the information that allows you to locate,...
Definition: BlockedWellboreRepresentation.h:33
resqml2::AbstractGridRepresentation * getSupportingGridRepresentation(unsigned int index) const
virtual int64_t getGridIndices(unsigned int *gridIndices) const =0
virtual unsigned int getSupportingGridRepresentationCount() const =0
static const char * XML_TAG
Definition: BlockedWellboreRepresentation.h:162
virtual uint64_t getCellCount() const =0
virtual std::string getXmlTag() const override
Definition: BlockedWellboreRepresentation.h:164
virtual void setIntervalGridCells(unsigned int const *gridIndices, unsigned int gridIndicesNullValue, unsigned int cellCount, uint64_t const *cellIndices, unsigned char const *localFacePairPerCellIndices, unsigned char localFacePairPerCellIndicesNullValue, eml2::AbstractHdfProxy *hdfProxy)=0
virtual void pushBackSupportingGridRepresentation(resqml2::AbstractGridRepresentation *supportingGridRep)=0
virtual common::DataObjectReference getSupportingGridRepresentationDor(unsigned int index) const =0
virtual ~BlockedWellboreRepresentation()=default
Proxy class for a wellbore frame representation. A wellbore frame representation is a representation ...
Definition: WellboreFrameRepresentation.h:35