Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
SealedVolumeFrameworkRepresentation.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 "../resqml2/SealedVolumeFrameworkRepresentation.h"
22 
23 namespace RESQML2_2_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_eml2_3::_resqml22__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(unsigned int regionIndex,
71  unsigned int externalShellFaceCount,
72  unsigned int const* faceRepresentationIndices, unsigned int const* faceRepPatchIndices, bool const* faceSide) final;
73 
74  DLL_IMPORT_OR_EXPORT unsigned int getRegionCount() const final;
75 
76  DLL_IMPORT_OR_EXPORT unsigned int getInternalShellCount(unsigned int regionIndex) const final;
77 
78  DLL_IMPORT_OR_EXPORT unsigned int getFaceCountOfExternalShell(unsigned int regionIndex) const final;
79 
80  DLL_IMPORT_OR_EXPORT unsigned int getFaceCountOfInternalShell(unsigned int regionIndex, unsigned int internalShellIndex) const final;
81 
82  DLL_IMPORT_OR_EXPORT RESQML2_NS::AbstractRepresentation* getRepOfExternalShellFace(unsigned int regionIndex, unsigned int faceIndex) const final;
83 
84  DLL_IMPORT_OR_EXPORT RESQML2_NS::AbstractRepresentation* getRepOfInternalShellFace(unsigned int regionIndex, unsigned int internalShellIndex, unsigned int faceIndex) const final;
85 
86  DLL_IMPORT_OR_EXPORT unsigned int getRepPatchIndexOfExternalShellFace(unsigned int regionIndex, unsigned int faceIndex) const final;
87 
88  DLL_IMPORT_OR_EXPORT unsigned int getRepPatchIndexOfInternalShellFace(unsigned int regionIndex, unsigned int internalShellIndex, unsigned int faceIndex) const final;
89 
90  DLL_IMPORT_OR_EXPORT bool getSideFlagOfExternalShellFace(unsigned int regionIndex, unsigned int faceIndex) const final;
91 
92  DLL_IMPORT_OR_EXPORT bool getSideFlagOfInternalShellFace(unsigned int 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_eml2_3::resqml22__VolumeShell* createVolumeShell(
117  unsigned int shellFaceCount,
118  unsigned int const* faceRepresentationIndices, unsigned int const* faceRepPatchIndices, bool const* faceSide);
119 
127  gsoap_eml2_3::resqml22__VolumeRegion* getRegion(unsigned int regionIndex) const;
128 
136  gsoap_eml2_3::resqml22__VolumeShell* getRegionExternalShell(unsigned int regionIndex) const;
137 
146  gsoap_eml2_3::resqml22__VolumeShell* getRegionInternalShell(unsigned int regionIndex, unsigned int internalShellIndex) const;
147 
156  gsoap_eml2_3::resqml22__OrientedMacroFace* getRegionExternalShellFace(unsigned int regionIndex, unsigned int faceIndex) const;
157 
167  gsoap_eml2_3::resqml22__OrientedMacroFace* getRegionInternalShellFace(unsigned int regionIndex, unsigned int internalShellIndex, unsigned int faceIndex) const;
168 
169  COMMON_NS::DataObjectReference getSealedStructuralFrameworkDor() const final;
170 
171  COMMON_NS::DataObjectReference getStratiUnitInterpDor(unsigned int regionIndex) const final;
172 
178  void setXmlSealedSurfaceFramework(RESQML2_NS::SealedSurfaceFrameworkRepresentation* ssf) final;
179 
186  void setXmlInterpretationOfVolumeRegion(unsigned int regionIndex, RESQML2_NS::StratigraphicUnitInterpretation * stratiUnitInterp) final;
187  };
188 }
Definition: SealedSurfaceFrameworkRepresentation.h:31
Definition: SealedVolumeFrameworkRepresentation.h:27
void pushBackInternalShell(unsigned int regionIndex, unsigned int externalShellFaceCount, unsigned int const *faceRepresentationIndices, unsigned int const *faceRepPatchIndices, bool const *faceSide) final
void pushBackVolumeRegion(resqml2::StratigraphicUnitInterpretation *stratiUnitInterp, unsigned int externalShellFaceCount, unsigned int const *faceRepresentationIndices, unsigned int const *faceRepPatchIndices, bool const *faceSide) final
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.
SealedVolumeFrameworkRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: SealedVolumeFrameworkRepresentation.h:37
SealedVolumeFrameworkRepresentation(gsoap_eml2_3::_resqml22__SealedVolumeFrameworkRepresentation *fromGsoap)
Definition: SealedVolumeFrameworkRepresentation.h:61
Definition: StratigraphicUnitInterpretation.h:27