Fesapi 2.3.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
BlockedWellboreRepresentation.h
1/*-----------------------------------------------------------------------
2Licensed to the Apache Software Foundation (ASF) under one
3or more contributor license agreements. See the NOTICE file
4distributed with this work for additional information
5regarding copyright ownership. The ASF licenses this file
6to you under the Apache License, Version 2.0 (the
7"License"; you may not use this file except in compliance
8with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing,
13software distributed under the License is distributed on an
14"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15KIND, either express or implied. See the License for the
16specific language governing permissions and limitations
17under the License.
18-----------------------------------------------------------------------*/
19#pragma once
20
21#include "WellboreFrameRepresentation.h"
22
23namespace RESQML2_NS
24{
25 class AbstractGridRepresentation;
26
33 {
34 public:
35
37 virtual ~BlockedWellboreRepresentation() = default;
38
83 DLL_IMPORT_OR_EXPORT virtual void setIntervalGridCells(char const* gridIndices, char gridIndicesNullValue, int64_t const* cellIndices,
84 char const* localFacePairPerCellIndices, char localFacePairPerCellIndicesNullValue, EML2_NS::AbstractHdfProxy * hdfProxy = nullptr) = 0;
85
91 DLL_IMPORT_OR_EXPORT virtual uint64_t getCellCount() const = 0;
92
110 DLL_IMPORT_OR_EXPORT virtual char getGridIndices(char* gridIndices) const = 0;
111
127 DLL_IMPORT_OR_EXPORT virtual int64_t getCellIndices(int64_t* cellIndices) const = 0;
128
143 DLL_IMPORT_OR_EXPORT virtual char getLocalFacePairPerCellIndices(char* localFacePairPerCellIndices) const = 0;
144
152 DLL_IMPORT_OR_EXPORT virtual void pushBackSupportingGridRepresentation(RESQML2_NS::AbstractGridRepresentation * supportingGridRep) = 0;
153
162 DLL_IMPORT_OR_EXPORT virtual unsigned int getSupportingGridRepresentationCount() const = 0;
163
175 DLL_IMPORT_OR_EXPORT RESQML2_NS::AbstractGridRepresentation* getSupportingGridRepresentation(unsigned int index) const;
176
188 virtual COMMON_NS::DataObjectReference getSupportingGridRepresentationDor(unsigned int index) const = 0;
189
191 DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
192
193 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const override { return XML_TAG; }
194
195 protected:
196
204 DLL_IMPORT_OR_EXPORT BlockedWellboreRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : WellboreFrameRepresentation(partialObject) {}
205
209 BlockedWellboreRepresentation() {}
210
216 BlockedWellboreRepresentation(gsoap_resqml2_0_1::_resqml20__BlockedWellboreRepresentation* fromGsoap) : WellboreFrameRepresentation(fromGsoap) {}
217
223 BlockedWellboreRepresentation(gsoap_eml2_3::_resqml22__BlockedWellboreRepresentation* fromGsoap) : WellboreFrameRepresentation(fromGsoap) {}
224
226 void loadTargetRelationships() override;
227 };
228}
A blocked wellbore representation. This is the information that allows you to locate,...
Definition: BlockedWellboreRepresentation.h:33
virtual unsigned int getSupportingGridRepresentationCount() const =0
virtual void setIntervalGridCells(char const *gridIndices, char gridIndicesNullValue, int64_t const *cellIndices, char const *localFacePairPerCellIndices, char localFacePairPerCellIndicesNullValue, eml2::AbstractHdfProxy *hdfProxy=nullptr)=0
static const char * XML_TAG
Definition: BlockedWellboreRepresentation.h:191
virtual uint64_t getCellCount() const =0
virtual std::string getXmlTag() const override
Definition: BlockedWellboreRepresentation.h:193
virtual void pushBackSupportingGridRepresentation(resqml2::AbstractGridRepresentation *supportingGridRep)=0
virtual char getGridIndices(char *gridIndices) const =0
virtual char getLocalFacePairPerCellIndices(char *localFacePairPerCellIndices) const =0
virtual int64_t getCellIndices(int64_t *cellIndices) const =0
virtual common::DataObjectReference getSupportingGridRepresentationDor(unsigned int index) const =0
resqml2::AbstractGridRepresentation * getSupportingGridRepresentation(unsigned int index) const
virtual ~BlockedWellboreRepresentation()=default
Proxy class for a wellbore frame representation. A wellbore frame representation is a representation ...
Definition: WellboreFrameRepresentation.h:35