Fesapi 2.10.1.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
SealedVolumeFrameworkRepresentation.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 "../resqml2/SealedVolumeFrameworkRepresentation.h"
22
23namespace RESQML2_0_1_NS
24{
26 class SealedVolumeFrameworkRepresentation final : public RESQML2_NS::SealedVolumeFrameworkRepresentation
27 {
28 public:
29
37 DLL_IMPORT_OR_EXPORT SealedVolumeFrameworkRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::SealedVolumeFrameworkRepresentation(partialObject) {}
38
51 SealedVolumeFrameworkRepresentation(RESQML2_NS::StratigraphicColumnRankInterpretation* interp,
52 const std::string & guid,
53 const std::string & title,
54 RESQML2_NS::SealedSurfaceFrameworkRepresentation* ssf);
55
61 SealedVolumeFrameworkRepresentation(gsoap_resqml2_0_1::_resqml20__SealedVolumeFrameworkRepresentation* fromGsoap) : RESQML2_NS::SealedVolumeFrameworkRepresentation(fromGsoap) {}
62
65
66 DLL_IMPORT_OR_EXPORT void pushBackVolumeRegion(RESQML2_NS::StratigraphicUnitInterpretation * stratiUnitInterp,
67 unsigned int externalShellFaceCount,
68 unsigned int const* faceRepresentationIndices, unsigned int const* faceRepPatchIndices, bool const* faceSide) final;
69
70 DLL_IMPORT_OR_EXPORT void pushBackInternalShell(uint64_t regionIndex,
71 unsigned int externalShellFaceCount,
72 unsigned int const* faceRepresentationIndices, unsigned int const* faceRepPatchIndices, bool const* faceSide) final;
73
74 DLL_IMPORT_OR_EXPORT uint64_t getRegionCount() const final;
75
76 DLL_IMPORT_OR_EXPORT uint64_t getInternalShellCount(uint64_t regionIndex) const final;
77
78 DLL_IMPORT_OR_EXPORT uint64_t getFaceCountOfExternalShell(uint64_t regionIndex) const final;
79
80 DLL_IMPORT_OR_EXPORT uint64_t getFaceCountOfInternalShell(uint64_t regionIndex, unsigned int internalShellIndex) const final;
81
82 DLL_IMPORT_OR_EXPORT RESQML2_NS::AbstractRepresentation* getRepOfExternalShellFace(uint64_t regionIndex, unsigned int faceIndex) const final;
83
84 DLL_IMPORT_OR_EXPORT RESQML2_NS::AbstractRepresentation* getRepOfInternalShellFace(uint64_t regionIndex, unsigned int internalShellIndex, unsigned int faceIndex) const final;
85
86 DLL_IMPORT_OR_EXPORT uint64_t getRepPatchIndexOfExternalShellFace(uint64_t regionIndex, unsigned int faceIndex) const final;
87
88 DLL_IMPORT_OR_EXPORT uint64_t getRepPatchIndexOfInternalShellFace(uint64_t regionIndex, unsigned int internalShellIndex, unsigned int faceIndex) const final;
89
90 DLL_IMPORT_OR_EXPORT bool getSideFlagOfExternalShellFace(uint64_t regionIndex, unsigned int faceIndex) const final;
91
92 DLL_IMPORT_OR_EXPORT bool getSideFlagOfInternalShellFace(uint64_t regionIndex, unsigned int internalShellIndex, unsigned int faceIndex) const final;
93
97 DLL_IMPORT_OR_EXPORT static const char* XML_NS;
98
102 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
103
104 private:
105
116 gsoap_resqml2_0_1::resqml20__VolumeShell* createVolumeShell(
117 unsigned int shellFaceCount,
118 unsigned int const* faceRepresentationIndices, unsigned int const* faceRepPatchIndices, bool const* faceSide);
119
127 gsoap_resqml2_0_1::resqml20__VolumeRegion* getRegion(uint64_t regionIndex) const;
128
136 gsoap_resqml2_0_1::resqml20__VolumeShell* getRegionExternalShell(uint64_t regionIndex) const;
137
146 gsoap_resqml2_0_1::resqml20__VolumeShell* getRegionInternalShell(uint64_t regionIndex, unsigned int internalShellIndex) const;
147
156 gsoap_resqml2_0_1::resqml20__OrientedMacroFace* getRegionExternalShellFace(uint64_t regionIndex, unsigned int faceIndex) const;
157
167 gsoap_resqml2_0_1::resqml20__OrientedMacroFace* getRegionInternalShellFace(uint64_t regionIndex, unsigned int internalShellIndex, unsigned int faceIndex) const;
168
169 COMMON_NS::DataObjectReference getSealedStructuralFrameworkDor() const final;
170
171 COMMON_NS::DataObjectReference getStratiUnitInterpDor(uint64_t regionIndex) const final;
172
178 void setXmlSealedSurfaceFramework(RESQML2_NS::SealedSurfaceFrameworkRepresentation* ssf) final;
179
186 void setXmlInterpretationOfVolumeRegion(uint64_t regionIndex, RESQML2_NS::StratigraphicUnitInterpretation * stratiUnitInterp) final;
187 };
188}
Definition SealedSurfaceFrameworkRepresentation.h:31
Definition SealedVolumeFrameworkRepresentation.h:27
void pushBackInternalShell(uint64_t regionIndex, unsigned int externalShellFaceCount, unsigned int const *faceRepresentationIndices, unsigned int const *faceRepPatchIndices, bool const *faceSide) final
SealedVolumeFrameworkRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition SealedVolumeFrameworkRepresentation.h:37
void pushBackVolumeRegion(resqml2::StratigraphicUnitInterpretation *stratiUnitInterp, unsigned int externalShellFaceCount, unsigned int const *faceRepresentationIndices, unsigned int const *faceRepPatchIndices, bool const *faceSide) final
SealedVolumeFrameworkRepresentation(gsoap_resqml2_0_1::_resqml20__SealedVolumeFrameworkRepresentation *fromGsoap)
Definition SealedVolumeFrameworkRepresentation.h:61
SealedVolumeFrameworkRepresentation(resqml2::StratigraphicColumnRankInterpretation *interp, const std::string &guid, const std::string &title, resqml2::SealedSurfaceFrameworkRepresentation *ssf)
Creates an instance of this class in a gsoap context.
Definition StratigraphicUnitInterpretation.h:27