Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
PointSetRepresentation.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/PointSetRepresentation.h"
22 
23 namespace RESQML2_0_1_NS
24 {
26  class PointSetRepresentation final : public RESQML2_NS::PointSetRepresentation
27  {
28  private :
29  gsoap_resqml2_0_1::resqml20__PointGeometry* getPointGeometry2_0_1(unsigned int patchIndex) const;
30 
31  public:
39  DLL_IMPORT_OR_EXPORT PointSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::PointSetRepresentation(partialObject) {}
40 
48  PointSetRepresentation(COMMON_NS::DataObjectRepository* repo, const std::string & guid, const std::string & title);
49 
60  PointSetRepresentation(RESQML2_NS::AbstractFeatureInterpretation* interp,
61  const std::string & guid, const std::string & title);
62 
68  PointSetRepresentation(gsoap_resqml2_0_1::_resqml20__PointSetRepresentation* fromGsoap) : RESQML2_NS::PointSetRepresentation(fromGsoap) {}
69 
72 
73  COMMON_NS::DataObjectReference getHdfProxyDor() const final;
74 
75  DLL_IMPORT_OR_EXPORT uint64_t getXyzPointCountOfPatch(unsigned int patchIndex) const final;
76 
86  DLL_IMPORT_OR_EXPORT void getXyzPointsOfPatch(unsigned int patchIndex, double * xyzPoints) const final;
87 
88  DLL_IMPORT_OR_EXPORT unsigned int getPatchCount() const final;
89 
90  DLL_IMPORT_OR_EXPORT void pushBackGeometryPatch(
91  unsigned int xyzPointCount, double const * xyzPoints,
92  EML2_NS::AbstractHdfProxy* proxy = nullptr, RESQML2_NS::AbstractLocal3dCrs * localCrs = nullptr) final;
93 
97  DLL_IMPORT_OR_EXPORT static const char* XML_NS;
98 
102  DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
103  };
104 }
Definition: PointSetRepresentation.h:27
PointSetRepresentation(resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title)
Creates an instance of this class in a gsoap context.
PointSetRepresentation(gsoap_resqml2_0_1::_resqml20__PointSetRepresentation *fromGsoap)
Definition: PointSetRepresentation.h:68
PointSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: PointSetRepresentation.h:39
common::DataObjectReference getHdfProxyDor() const final
Gets the data object reference of the HDF proxy which is used for storing the numerical values of thi...
PointSetRepresentation(common::DataObjectRepository *repo, const std::string &guid, const std::string &title)
Constructor.