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 "AbstractSurfaceFrameworkRepresentation.h"
22 
23 namespace RESQML2_NS
24 {
31  {
32  public:
33 
36 
46  DLL_IMPORT_OR_EXPORT virtual void pushBackContact(gsoap_resqml2_0_1::resqml20__IdentityKind kind) = 0;
47 
73  DLL_IMPORT_OR_EXPORT virtual void pushBackContact(
74  gsoap_resqml2_0_1::resqml20__IdentityKind kind,
75  unsigned int patchCount,
76  unsigned int identicalNodesCount,
77  int const* identicalNodes,
78  EML2_NS::AbstractHdfProxy * proxy) = 0;
79 
105  DLL_IMPORT_OR_EXPORT virtual void pushBackContactPatch(
106  unsigned int contactIdx,
107  int const* nodeIndicesOnSupportingRepresentation, unsigned int nodeCount,
108  AbstractRepresentation * supportingRepresentation,
109  EML2_NS::AbstractHdfProxy * proxy) = 0;
110 
111  DLL_IMPORT_OR_EXPORT virtual unsigned int getContactCount() const override = 0;
112 
122  DLL_IMPORT_OR_EXPORT virtual gsoap_resqml2_0_1::resqml20__IdentityKind getContactPatchIdentityKind(unsigned int contactIdx) const = 0;
123 
134  DLL_IMPORT_OR_EXPORT virtual bool areAllContactPatchNodesIdentical(unsigned int contactIdx) const = 0;
135 
150  DLL_IMPORT_OR_EXPORT virtual unsigned int getIdenticalContactPatchNodeCount(unsigned int contactIdx) const = 0;
151 
164  DLL_IMPORT_OR_EXPORT virtual void getIdenticalContactPatchNodeIndices(unsigned int contactIdx, unsigned int * nodeIndices) const = 0;
165 
178  DLL_IMPORT_OR_EXPORT virtual unsigned int getContactPatchCount(unsigned int contactIdx) const = 0;
179 
193  DLL_IMPORT_OR_EXPORT virtual RESQML2_NS::AbstractRepresentation* getRepresentationOfContactPatch(unsigned int contactIdx, unsigned int cpIndex) const = 0;
194 
208  DLL_IMPORT_OR_EXPORT virtual unsigned int getRepresentationIndexOfContactPatch(unsigned int contactIdx, unsigned int cpIndex) const = 0;
209 
222  DLL_IMPORT_OR_EXPORT virtual unsigned int getContactPatchNodeCount(unsigned int contactIdx, unsigned int cpIndex) const = 0;
223 
237  DLL_IMPORT_OR_EXPORT virtual void getContactPatchNodeIndices(unsigned int contactIdx, unsigned int cpIndex, unsigned int * nodeIndices) const = 0;
238 
240  DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
241 
242  DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
243 
244  protected:
245 
253  DLL_IMPORT_OR_EXPORT SealedSurfaceFrameworkRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractSurfaceFrameworkRepresentation(partialObject) {}
254 
263  SealedSurfaceFrameworkRepresentation() {}
264 
270  SealedSurfaceFrameworkRepresentation(gsoap_resqml2_0_1::_resqml20__SealedSurfaceFrameworkRepresentation* fromGsoap) : AbstractSurfaceFrameworkRepresentation(fromGsoap) {}
271 
277  SealedSurfaceFrameworkRepresentation(gsoap_eml2_3::_resqml22__SealedSurfaceFrameworkRepresentation* fromGsoap) : AbstractSurfaceFrameworkRepresentation(fromGsoap) {}
278  };
279 
280 }
Proxy class for an abstract representation.
Definition: AbstractRepresentation.h:32
Parent class for a sealed or non-sealed surface framework representation. Each one instantiates a rep...
Definition: AbstractSurfaceFrameworkRepresentation.h:37
A collection of contact, which are a list of contact patches and their identities....
Definition: SealedSurfaceFrameworkRepresentation.h:31
virtual unsigned int getIdenticalContactPatchNodeCount(unsigned int contactIdx) const =0
virtual unsigned int getContactPatchNodeCount(unsigned int contactIdx, unsigned int cpIndex) const =0
virtual resqml2::AbstractRepresentation * getRepresentationOfContactPatch(unsigned int contactIdx, unsigned int cpIndex) const =0
static const char * XML_TAG
Definition: SealedSurfaceFrameworkRepresentation.h:240
virtual void pushBackContact(gsoap_resqml2_0_1::resqml20__IdentityKind kind)=0
virtual unsigned int getContactCount() const override=0
virtual void pushBackContact(gsoap_resqml2_0_1::resqml20__IdentityKind kind, unsigned int patchCount, unsigned int identicalNodesCount, int const *identicalNodes, eml2::AbstractHdfProxy *proxy)=0
virtual void getContactPatchNodeIndices(unsigned int contactIdx, unsigned int cpIndex, unsigned int *nodeIndices) const =0
virtual void pushBackContactPatch(unsigned int contactIdx, int const *nodeIndicesOnSupportingRepresentation, unsigned int nodeCount, AbstractRepresentation *supportingRepresentation, eml2::AbstractHdfProxy *proxy)=0
virtual bool areAllContactPatchNodesIdentical(unsigned int contactIdx) const =0
virtual void getIdenticalContactPatchNodeIndices(unsigned int contactIdx, unsigned int *nodeIndices) const =0
virtual unsigned int getContactPatchCount(unsigned int contactIdx) const =0
virtual std::string getXmlTag() const final
Definition: SealedSurfaceFrameworkRepresentation.h:242
virtual gsoap_resqml2_0_1::resqml20__IdentityKind getContactPatchIdentityKind(unsigned int contactIdx) const =0
virtual unsigned int getRepresentationIndexOfContactPatch(unsigned int contactIdx, unsigned int cpIndex) const =0