Fesapi 2.9.0.1
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
SealedSurfaceFrameworkRepresentation.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/SealedSurfaceFrameworkRepresentation.h"
22
23namespace RESQML2_0_1_NS
24{
30 class SealedSurfaceFrameworkRepresentation final : public RESQML2_NS::SealedSurfaceFrameworkRepresentation
31 {
32 public:
33
41 DLL_IMPORT_OR_EXPORT SealedSurfaceFrameworkRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::SealedSurfaceFrameworkRepresentation(partialObject) {}
42
53 SealedSurfaceFrameworkRepresentation(RESQML2_NS::StructuralOrganizationInterpretation* interp,
54 const std::string & guid,
55 const std::string & title);
56
62 SealedSurfaceFrameworkRepresentation(gsoap_resqml2_0_1::_resqml20__SealedSurfaceFrameworkRepresentation* fromGsoap) : RESQML2_NS::SealedSurfaceFrameworkRepresentation(fromGsoap) {}
63
66
67 DLL_IMPORT_OR_EXPORT void pushBackContact(gsoap_resqml2_0_1::resqml20__IdentityKind kind) final;
68
69 DLL_IMPORT_OR_EXPORT void pushBackContact(
70 gsoap_resqml2_0_1::resqml20__IdentityKind kind,
71 unsigned int patchCount,
72 unsigned int identicalNodesCount,
73 int const* identicalNodes,
74 EML2_NS::AbstractHdfProxy * proxy) final;
75
76 DLL_IMPORT_OR_EXPORT void pushBackContactPatch(
77 unsigned int contactIdx,
78 int const* nodeIndicesOnSupportingRepresentation, uint64_t nodeCount,
79 RESQML2_NS::AbstractRepresentation * supportingRepresentation,
80 EML2_NS::AbstractHdfProxy * proxy) final;
81
82 DLL_IMPORT_OR_EXPORT unsigned int getContactCount() const final;
83
84 DLL_IMPORT_OR_EXPORT gsoap_resqml2_0_1::resqml20__IdentityKind getContactPatchIdentityKind(unsigned int contactIdx) const final;
85
86 DLL_IMPORT_OR_EXPORT bool areAllContactPatchNodesIdentical(unsigned int contactIdx) const final;
87
88 DLL_IMPORT_OR_EXPORT unsigned int getIdenticalContactPatchNodeCount(unsigned int contactIdx) const final;
89
90 DLL_IMPORT_OR_EXPORT void getIdenticalContactPatchNodeIndices(unsigned int contactIdx, unsigned int * nodeIndices) const final;
91
92 DLL_IMPORT_OR_EXPORT unsigned int getContactPatchCount(unsigned int contactIdx) const final;
93
94 DLL_IMPORT_OR_EXPORT RESQML2_NS::AbstractRepresentation* getRepresentationOfContactPatch(unsigned int contactIdx, unsigned int cpIndex) const final;
95
96 DLL_IMPORT_OR_EXPORT unsigned int getRepresentationIndexOfContactPatch(unsigned int contactIdx, unsigned int cpIndex) const final;
97
98 DLL_IMPORT_OR_EXPORT unsigned int getContactPatchNodeCount(unsigned int contactIdx, unsigned int cpIndex) const final;
99
109 DLL_IMPORT_OR_EXPORT void getContactPatchNodeIndices(unsigned int contactIdx, unsigned int cpIndex, unsigned int * nodeIndices) const final;
110
114 DLL_IMPORT_OR_EXPORT static const char* XML_NS;
115
119 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
120
121 private:
122
131 gsoap_resqml2_0_1::resqml20__SealedContactRepresentationPart* getContact(unsigned int contactIdx) const;
132
143 gsoap_resqml2_0_1::resqml20__ContactPatch* getContactPatch(unsigned int contactIdx, unsigned int cpIndex) const;
144 };
145}
Definition SealedSurfaceFrameworkRepresentation.h:31
SealedSurfaceFrameworkRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition SealedSurfaceFrameworkRepresentation.h:41
SealedSurfaceFrameworkRepresentation(resqml2 ::StructuralOrganizationInterpretation *interp, const std::string &guid, const std::string &title)
Creates an instance of this class in a gsoap context.
SealedSurfaceFrameworkRepresentation(gsoap_resqml2_0_1::_resqml20__SealedSurfaceFrameworkRepresentation *fromGsoap)
Definition SealedSurfaceFrameworkRepresentation.h:62