Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
NonSealedSurfaceFrameworkRepresentation.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 {
32  {
33  public:
34 
37 
59  DLL_IMPORT_OR_EXPORT virtual void pushBackNonSealedContactRepresentation(unsigned int pointCount, double const* points, EML2_NS::AbstractHdfProxy* proxy = nullptr, RESQML2_NS::AbstractLocal3dCrs* localCrs = nullptr) = 0;
60 
61  /*
62  * Pushes back a contact patch in a particular contact representation of the structural framework.
63  * @param contactIndex The index of the contact which will contain this contact patch.
64  * @param nodeIndicesOnSupportingRepresentation The nodes defining the contact patch on the supporting representation.
65  * @param NodeCount The node count of this contact patch.
66  * @param supportingRepresentation The supporting representation of this contact patch.
67  * @param proxy The hdf proxy for storing the nodes.
68  */
69  /*
70  void pushBackContactPatchInContactRepresentation(
71  const unsigned int & contactIndex,
72  int * nodeIndicesOnSupportingRepresentation, const unsigned int & NodeCount,
73  class AbstractRepresentation * supportingRepresentation,
74  EML2_NS::AbstractHdfProxy* proxy);
75  */
76 
77  DLL_IMPORT_OR_EXPORT virtual unsigned int getContactCount() const override = 0;
78 
80  DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
81 
82  DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
83 
84  protected:
85 
93  DLL_IMPORT_OR_EXPORT NonSealedSurfaceFrameworkRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractSurfaceFrameworkRepresentation(partialObject) {}
94 
98  NonSealedSurfaceFrameworkRepresentation() {}
99 
105  NonSealedSurfaceFrameworkRepresentation(gsoap_resqml2_0_1::_resqml20__NonSealedSurfaceFrameworkRepresentation* fromGsoap) : AbstractSurfaceFrameworkRepresentation(fromGsoap) {}
106 
112  NonSealedSurfaceFrameworkRepresentation(gsoap_eml2_3::_resqml22__NonSealedSurfaceFrameworkRepresentation* fromGsoap) : AbstractSurfaceFrameworkRepresentation(fromGsoap) {}
113  };
114 }
Parent class for a sealed or non-sealed surface framework representation. Each one instantiates a rep...
Definition: AbstractSurfaceFrameworkRepresentation.h:37
A non sealed surface framework representation is collection of contact representations parts,...
Definition: NonSealedSurfaceFrameworkRepresentation.h:32
virtual unsigned int getContactCount() const override=0
virtual void pushBackNonSealedContactRepresentation(unsigned int pointCount, double const *points, eml2::AbstractHdfProxy *proxy=nullptr, resqml2::AbstractLocal3dCrs *localCrs=nullptr)=0
static const char * XML_TAG
Definition: NonSealedSurfaceFrameworkRepresentation.h:80
virtual std::string getXmlTag() const final
Definition: NonSealedSurfaceFrameworkRepresentation.h:82