Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
AbstractSurfaceFrameworkRepresentation.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 "RepresentationSetRepresentation.h"
22 
23 namespace EML2_NS
24 {
25  class AbstractHdfProxy;
26 }
27 
28 namespace RESQML2_NS
29 {
37  {
38  public:
39 
42 
60  DLL_IMPORT_OR_EXPORT void pushBackContactIdentity(
61  gsoap_resqml2_0_1::resqml20__IdentityKind kind,
62  unsigned int contactCount, int const* contactIndices,
63  EML2_NS::AbstractHdfProxy * proxy);
64 
89  DLL_IMPORT_OR_EXPORT void pushBackContactIdentity(
90  gsoap_resqml2_0_1::resqml20__IdentityKind kind,
91  unsigned int contactCount, int const* contactIndices,
92  unsigned int identicalNodesCount, int const* identicalNodesIndexes,
93  EML2_NS::AbstractHdfProxy * proxy);
94 
103  DLL_IMPORT_OR_EXPORT virtual unsigned int getContactCount() const = 0;
104 
113  DLL_IMPORT_OR_EXPORT unsigned int getContactIdentityCount() const;
114 
125  DLL_IMPORT_OR_EXPORT gsoap_resqml2_0_1::resqml20__IdentityKind getContactIdentityKind(unsigned int ciIndex) const;
126 
139  DLL_IMPORT_OR_EXPORT unsigned int getContactCountInContactIdentity(unsigned int ciIndex) const;
140 
154  DLL_IMPORT_OR_EXPORT void getContactIndices(unsigned int ciIndex, unsigned int * contactRepIndices) const;
155 
166  DLL_IMPORT_OR_EXPORT bool areAllContactNodesIdentical(unsigned int ciIndex) const;
167 
182  DLL_IMPORT_OR_EXPORT unsigned int getIdenticalContactNodeCount(unsigned int ciIndex) const;
183 
198  DLL_IMPORT_OR_EXPORT void getIdenticalContactNodeIndices(unsigned int ciIndex, unsigned int * nodeIndices) const;
199 
200  protected:
201 
209  DLL_IMPORT_OR_EXPORT AbstractSurfaceFrameworkRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RepresentationSetRepresentation(partialObject) {}
210 
213 
219  AbstractSurfaceFrameworkRepresentation(gsoap_resqml2_0_1::resqml20__AbstractSurfaceFrameworkRepresentation* fromGsoap) : RepresentationSetRepresentation(fromGsoap) {}
220 
226  AbstractSurfaceFrameworkRepresentation(gsoap_eml2_3::resqml22__AbstractSurfaceFrameworkRepresentation* fromGsoap) : RepresentationSetRepresentation(fromGsoap) {}
227 
236  gsoap_resqml2_0_1::resqml20__ContactIdentity* getContactIdentity201(unsigned int ciIndex) const;
237 
246  gsoap_eml2_3::resqml22__ContactIdentity* getContactIdentity22(unsigned int ciIndex) const;
247  };
248 }
Parent class for a sealed or non-sealed surface framework representation. Each one instantiates a rep...
Definition: AbstractSurfaceFrameworkRepresentation.h:37
unsigned int getIdenticalContactNodeCount(unsigned int ciIndex) const
bool areAllContactNodesIdentical(unsigned int ciIndex) const
void pushBackContactIdentity(gsoap_resqml2_0_1::resqml20__IdentityKind kind, unsigned int contactCount, int const *contactIndices, unsigned int identicalNodesCount, int const *identicalNodesIndexes, eml2::AbstractHdfProxy *proxy)
unsigned int getContactCountInContactIdentity(unsigned int ciIndex) const
void pushBackContactIdentity(gsoap_resqml2_0_1::resqml20__IdentityKind kind, unsigned int contactCount, int const *contactIndices, eml2::AbstractHdfProxy *proxy)
virtual unsigned int getContactCount() const =0
void getContactIndices(unsigned int ciIndex, unsigned int *contactRepIndices) const
void getIdenticalContactNodeIndices(unsigned int ciIndex, unsigned int *nodeIndices) const
gsoap_resqml2_0_1::resqml20__IdentityKind getContactIdentityKind(unsigned int ciIndex) const
Proxy class for a representation set representation. This is the parent class of the framework repres...
Definition: RepresentationSetRepresentation.h:39