Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
IjkGridExplicitRepresentation.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/IjkGridExplicitRepresentation.h"
22 
23 namespace RESQML2_0_1_NS
24 {
29  class IjkGridExplicitRepresentation final : public RESQML2_NS::IjkGridExplicitRepresentation
30  {
31  public:
32 
50  IjkGridExplicitRepresentation(COMMON_NS::DataObjectRepository * repo,
51  const std::string & guid, const std::string & title,
52  unsigned int iCount, unsigned int jCount, unsigned int kCount, bool* kGaps = nullptr, EML2_NS::AbstractHdfProxy* proxy = nullptr) :
53  RESQML2_NS::IjkGridExplicitRepresentation(repo, guid, title, iCount, jCount, kCount, kGaps, proxy) {}
54 
71  IjkGridExplicitRepresentation(RESQML2_NS::AbstractFeatureInterpretation* interp,
72  const std::string & guid, const std::string & title,
73  unsigned int iCount, unsigned int jCount, unsigned int kCount, bool* kGaps = nullptr, EML2_NS::AbstractHdfProxy* proxy = nullptr) :
74  RESQML2_NS::IjkGridExplicitRepresentation(interp, guid, title, iCount, jCount, kCount, kGaps, proxy) {}
75 
81  IjkGridExplicitRepresentation(gsoap_resqml2_0_1::_resqml20__IjkGridRepresentation* fromGsoap) : RESQML2_NS::IjkGridExplicitRepresentation(fromGsoap) {}
82 
88  IjkGridExplicitRepresentation(gsoap_resqml2_0_1::_resqml20__TruncatedIjkGridRepresentation* fromGsoap) : RESQML2_NS::IjkGridExplicitRepresentation(fromGsoap) {}
89 
91  virtual ~IjkGridExplicitRepresentation() = default;
92 
93  COMMON_NS::DataObjectReference getHdfProxyDor() const final;
94 
104  DLL_IMPORT_OR_EXPORT void getXyzPointsOfPatch(unsigned int patchIndex, double * xyzPoints) const final;
105 
106  DLL_IMPORT_OR_EXPORT void setGeometryAsCoordinateLineNodes(
107  gsoap_resqml2_0_1::resqml20__PillarShape mostComplexPillarGeometry, gsoap_resqml2_0_1::resqml20__KDirection kDirectionKind, bool isRightHanded,
108  double * points, EML2_NS::AbstractHdfProxy* proxy = nullptr,
109  unsigned long splitCoordinateLineCount = 0, unsigned int * pillarOfCoordinateLine = nullptr,
110  unsigned int * splitCoordinateLineColumnCumulativeCount = nullptr, unsigned int * splitCoordinateLineColumns = nullptr,
111  char * definedPillars = nullptr, RESQML2_NS::AbstractLocal3dCrs * localCrs = nullptr) final;
112 
113  DLL_IMPORT_OR_EXPORT void setGeometryAsCoordinateLineNodesUsingExistingDatasets(
114  gsoap_resqml2_0_1::resqml20__PillarShape mostComplexPillarGeometry, gsoap_resqml2_0_1::resqml20__KDirection kDirectionKind, bool isRightHanded,
115  const std::string & points, EML2_NS::AbstractHdfProxy* proxy = nullptr,
116  unsigned long splitCoordinateLineCount = 0, const std::string & pillarOfCoordinateLine = "",
117  const std::string & splitCoordinateLineColumnCumulativeCount = "", const std::string & splitCoordinateLineColumns = "",
118  const std::string & definedPillars = "", RESQML2_NS::AbstractLocal3dCrs * localCrs = nullptr) final;
119 
123  DLL_IMPORT_OR_EXPORT static const char* XML_NS;
124 
128  DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
129 
130  private:
131  EML2_NS::AbstractHdfProxy* getPointDatasetPath(std::string & datasetPathInExternalFile, unsigned long & splitCoordinateLineCount) const;
132  };
133 }
Definition: IjkGridExplicitRepresentation.h:30
IjkGridExplicitRepresentation(gsoap_resqml2_0_1::_resqml20__IjkGridRepresentation *fromGsoap)
Creates an instance of this class by wrapping a gSOAP instance.
Definition: IjkGridExplicitRepresentation.h:81
IjkGridExplicitRepresentation(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount, bool *kGaps=nullptr, eml2::AbstractHdfProxy *proxy=nullptr)
Definition: IjkGridExplicitRepresentation.h:50
IjkGridExplicitRepresentation(resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount, bool *kGaps=nullptr, eml2::AbstractHdfProxy *proxy=nullptr)
Definition: IjkGridExplicitRepresentation.h:71
IjkGridExplicitRepresentation(gsoap_resqml2_0_1::_resqml20__TruncatedIjkGridRepresentation *fromGsoap)
Creates an instance of this class by wrapping a gSOAP instance.
Definition: IjkGridExplicitRepresentation.h:88
common::DataObjectReference getHdfProxyDor() const final
Gets the data object reference of the HDF proxy which is used for storing the numerical values of thi...