Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
SealedSurfaceFrameworkRepresentation.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/SealedSurfaceFrameworkRepresentation.h"
22 
23 namespace RESQML2_2_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_eml2_3::_resqml22__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, unsigned int 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 
100  DLL_IMPORT_OR_EXPORT void getContactPatchNodeIndices(unsigned int contactIdx, unsigned int cpIndex, unsigned int * nodeIndices) const final;
101 
105  DLL_IMPORT_OR_EXPORT static const char* XML_NS;
106 
110  DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
111 
112  private:
113 
122  gsoap_eml2_3::resqml22__SealedContactRepresentationPart* getContact(unsigned int contactIdx) const;
123 
134  gsoap_eml2_3::resqml22__ContactPatch* getContactPatch(unsigned int contactIdx, unsigned int cpIndex) const;
135  };
136 }
Definition: SealedSurfaceFrameworkRepresentation.h:31
void pushBackContact(gsoap_resqml2_0_1::resqml20__IdentityKind kind, unsigned int patchCount, unsigned int identicalNodesCount, int const *identicalNodes, eml2::AbstractHdfProxy *proxy) final
void pushBackContact(gsoap_resqml2_0_1::resqml20__IdentityKind kind) final
SealedSurfaceFrameworkRepresentation(resqml2::StructuralOrganizationInterpretation *interp, const std::string &guid, const std::string &title)
Creates an instance of this class in a gsoap context.
SealedSurfaceFrameworkRepresentation(gsoap_eml2_3::_resqml22__SealedSurfaceFrameworkRepresentation *fromGsoap)
Definition: SealedSurfaceFrameworkRepresentation.h:62
SealedSurfaceFrameworkRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: SealedSurfaceFrameworkRepresentation.h:41
void pushBackContactPatch(unsigned int contactIdx, int const *nodeIndicesOnSupportingRepresentation, unsigned int nodeCount, resqml2::AbstractRepresentation *supportingRepresentation, eml2::AbstractHdfProxy *proxy) final