Fesapi 2.1.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
89 DLL_IMPORT_OR_EXPORT virtual void setIntervalGridCells(unsigned int const* gridIndices, unsigned int gridIndicesNullValue,
90 unsigned int cellCount, int64_t const* cellIndices,
91 unsigned char const* localFacePairPerCellIndices, unsigned char localFacePairPerCellIndicesNullValue, EML2_NS::AbstractHdfProxy * hdfProxy) = 0;
92
98 DLL_IMPORT_OR_EXPORT virtual uint64_t getCellCount() const = 0;
99
117 DLL_IMPORT_OR_EXPORT virtual int64_t getGridIndices(unsigned int * gridIndices) const = 0;
118
126 DLL_IMPORT_OR_EXPORT virtual void pushBackSupportingGridRepresentation(RESQML2_NS::AbstractGridRepresentation * supportingGridRep) = 0;
127
136 DLL_IMPORT_OR_EXPORT virtual unsigned int getSupportingGridRepresentationCount() const = 0;
137
149 DLL_IMPORT_OR_EXPORT RESQML2_NS::AbstractGridRepresentation* getSupportingGridRepresentation(unsigned int index) const;
150
162 virtual COMMON_NS::DataObjectReference getSupportingGridRepresentationDor(unsigned int index) const = 0;
163
165 DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
166
167 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const override { return XML_TAG; }
168
169 protected:
170
178 DLL_IMPORT_OR_EXPORT BlockedWellboreRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : WellboreFrameRepresentation(partialObject) {}
179
183 BlockedWellboreRepresentation() {}
184
190 BlockedWellboreRepresentation(gsoap_resqml2_0_1::_resqml20__BlockedWellboreRepresentation* fromGsoap) : WellboreFrameRepresentation(fromGsoap) {}
191
197 BlockedWellboreRepresentation(gsoap_eml2_3::_resqml22__BlockedWellboreRepresentation* fromGsoap) : WellboreFrameRepresentation(fromGsoap) {}
198
200 void loadTargetRelationships() override;
201 };
202}
A blocked wellbore representation. This is the information that allows you to locate,...
Definition: BlockedWellboreRepresentation.h:33
virtual int64_t getGridIndices(unsigned int *gridIndices) const =0
virtual unsigned int getSupportingGridRepresentationCount() const =0
static const char * XML_TAG
Definition: BlockedWellboreRepresentation.h:165
virtual uint64_t getCellCount() const =0
virtual std::string getXmlTag() const override
Definition: BlockedWellboreRepresentation.h:167
virtual void pushBackSupportingGridRepresentation(resqml2::AbstractGridRepresentation *supportingGridRep)=0
virtual void setIntervalGridCells(unsigned int const *gridIndices, unsigned int gridIndicesNullValue, unsigned int cellCount, int64_t const *cellIndices, unsigned char const *localFacePairPerCellIndices, unsigned char localFacePairPerCellIndicesNullValue, eml2::AbstractHdfProxy *hdfProxy)=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