Fesapi  0.13.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
GridConnectionSetRepresentation.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/GridConnectionSetRepresentation.h"
22 
23 namespace RESQML2_0_1_NS
24 {
26  {
27  protected:
28  void init(soap* soapContext, const std::string & guid, const std::string & title);
29 
34  void pushBackXmlInterpretation(RESQML2_NS::AbstractFeatureInterpretation* interp);
35 
36 
41  void pushBackXmlSupportingGridRepresentation(RESQML2_NS::AbstractGridRepresentation * supportingGridRep);
42 
43  public:
44 
48  GridConnectionSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) :
50 
58  const std::string & guid, const std::string & title);
59 
66  GridConnectionSetRepresentation(soap* soapContext,
67  const std::string & guid, const std::string & title);
68 
72  GridConnectionSetRepresentation(gsoap_resqml2_0_1::_resqml2__GridConnectionSetRepresentation* fromGsoap) : RESQML2_NS::GridConnectionSetRepresentation(fromGsoap) {}
73 
78 
79  std::string getHdfProxyUuid() const;
80 
84  ULONG64 getCellIndexPairCount() const;
85 
89  ULONG64 getCellIndexPairs(ULONG64 * cellIndexPairs) const;
90 
95  unsigned int getCellIndexPairCountFromInterpretationIndex(const unsigned int & interpretationIndex) const;
96 
100  bool isAssociatedToInterpretations() const;
101 
106  void getInterpretationIndexCumulativeCount(unsigned int * cumulativeCount) const;
107 
112  void getInterpretationIndices(unsigned int * interpretationIndices) const;
113 
117  LONG64 getInterpretationIndexNullValue() const;
118 
126  void getGridConnectionSetInformationFromInterpretationIndex(ULONG64 * cellIndexPairs, unsigned short * gridIndexPairs, int * localFaceIndexPairs, const unsigned int & interpretationIndex) const;
127 
132  std::string getInterpretationUuidFromIndex(const unsigned int & interpretationIndex) const;
133 
137  unsigned int getInterpretationCount() const;
138 
142  bool hasLocalFacePerCell() const;
143 
150  LONG64 getLocalFacePerCellIndexPairs(int * localFacePerCellIndexPairs) const;
151 
155  bool isBasedOnMultiGrids() const;
156 
161  void getGridIndexPairs(unsigned short * gridIndexPairs) const;
162 
171  void setCellIndexPairsUsingExistingDataset(const ULONG64 & cellIndexPairCount, const std::string & cellIndexPair, const LONG64 & nullValue, COMMON_NS::AbstractHdfProxy * proxy, const std::string & gridIndexPair = "");
172 
181  void setLocalFacePerCellIndexPairsUsingExistingDataset(const std::string & localFacePerCellIndexPair, const LONG64 & nullValue, COMMON_NS::AbstractHdfProxy * proxy);
182 
191  void setLocalFacePerCellIndexPairs(const ULONG64 & cellIndexPairCount, int * localFacePerCellIndexPair, const LONG64 & nullValue, COMMON_NS::AbstractHdfProxy * proxy);
192 
200  void setConnectionInterpretationIndices(unsigned int * interpretationIndices, const unsigned int & interpretationIndiceCount, const LONG64 & nullValue, COMMON_NS::AbstractHdfProxy * proxy);
201 
205  unsigned int getSupportingGridRepresentationCount() const;
206 
210  gsoap_resqml2_0_1::eml20__DataObjectReference* getSupportingGridRepresentationDor(unsigned int index) const;
211  };
212 }
213 
Definition: GridConnectionSetRepresentation.h:25
Definition: AbstractFeatureInterpretation.h:30
Definition: EpcDocument.h:65
~GridConnectionSetRepresentation()
Definition: GridConnectionSetRepresentation.h:77
Definition: AbstractGridRepresentation.h:32
Definition: AbstractHdfProxy.h:30
GridConnectionSetRepresentation(gsoap_resqml2_0_1::_resqml2__GridConnectionSetRepresentation *fromGsoap)
Definition: GridConnectionSetRepresentation.h:72
Definition: GridConnectionSetRepresentation.h:25
Definition: EpcDocument.h:49
GridConnectionSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: GridConnectionSetRepresentation.h:48