Fesapi 2.9.0.1
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
PolylineSetRepresentation.h
1/*-----------------------------------------------------------------------
2Licensed to the Apache Software Foundation (ASF) under one
3or more contributor license agreements. See the NOTICE file
4distributed with this work for additional information
5regarding copyright ownership. The ASF licenses this file
6to you under the Apache License, Version 2.0 (the
7"License"; you may not use this file except in compliance
8with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing,
13software distributed under the License is distributed on an
14"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15KIND, either express or implied. See the License for the
16specific language governing permissions and limitations
17under the License.
18-----------------------------------------------------------------------*/
19#pragma once
20
21#include "../resqml2/PolylineSetRepresentation.h"
22
23namespace RESQML2_2_NS
24{
26 class PolylineSetRepresentation final : public RESQML2_NS::PolylineSetRepresentation
27 {
28 public:
29
37 DLL_IMPORT_OR_EXPORT PolylineSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::PolylineSetRepresentation(partialObject) {}
38
47 PolylineSetRepresentation(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title);
48
59 PolylineSetRepresentation(RESQML2_NS::AbstractFeatureInterpretation* interp,
60 const std::string & guid, const std::string & title);
61
73 PolylineSetRepresentation(RESQML2_NS::AbstractFeatureInterpretation* interp,
74 const std::string & guid, const std::string & title, gsoap_eml2_3::resqml22__LineRole roleKind);
75
81 PolylineSetRepresentation(gsoap_eml2_3::_resqml22__PolylineSetRepresentation* fromGsoap) : RESQML2_NS::PolylineSetRepresentation(fromGsoap) {}
82
85
86 COMMON_NS::DataObjectReference getHdfProxyDor() const final;
87
88 DLL_IMPORT_OR_EXPORT uint64_t getPolylineCountOfPatch(uint64_t patchIndex) const final;
89
90 DLL_IMPORT_OR_EXPORT uint64_t getPolylineCountOfAllPatches() const final;
91
92 DLL_IMPORT_OR_EXPORT void getNodeCountPerPolylineInPatch(unsigned int patchIndex, unsigned int * nodeCountPerPolyline) const final;
93
94 DLL_IMPORT_OR_EXPORT void getNodeCountPerPolylineOfAllPatches(unsigned int * NodeCountPerPolyline) const final;
95
96 DLL_IMPORT_OR_EXPORT void getXyzPointsOfPatch(unsigned int patchIndex, double * xyzPoints) const final;
97
98 DLL_IMPORT_OR_EXPORT uint64_t getPatchCount() const final;
99
100 DLL_IMPORT_OR_EXPORT void pushBackGeometryPatch(
101 unsigned int const * nodeCountPerPolyline, double const * nodes,
102 uint64_t polylineCount, bool allPolylinesClosedFlag,
103 EML2_NS::AbstractHdfProxy* proxy = nullptr, RESQML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
104
105 DLL_IMPORT_OR_EXPORT void pushBackGeometryPatch(
106 unsigned int const * nodeCountPerPolyline, double const * nodes,
107 uint64_t polylineCount, bool * polylineClosedFlags,
108 EML2_NS::AbstractHdfProxy* proxy = nullptr, RESQML2_NS::AbstractLocal3dCrs* localCrs = nullptr) final;
109
110 DLL_IMPORT_OR_EXPORT bool areAllPolylinesClosedOfPatch(unsigned int patchIndex) const final;
111
112 DLL_IMPORT_OR_EXPORT bool areAllPolylinesClosedOfAllPatches() const final;
113
114 DLL_IMPORT_OR_EXPORT bool areAllPolylinesNonClosedOfPatch(unsigned int patchIndex) const final;
115
116 DLL_IMPORT_OR_EXPORT bool areAllPolylinesNonClosedOfAllPatches() const final;
117
118 DLL_IMPORT_OR_EXPORT void getClosedFlagPerPolylineOfPatch(unsigned int patchIndex, bool * closedFlagPerPolyline) const final;
119
120 DLL_IMPORT_OR_EXPORT void getClosedFlagPerPolylineOfAllPatches(bool * closedFlagPerPolyline) const final;
121
122 DLL_IMPORT_OR_EXPORT bool hasALineRole() const final;
123
124 DLL_IMPORT_OR_EXPORT gsoap_eml2_3::resqml22__LineRole getLineRole() const final;
125
126 DLL_IMPORT_OR_EXPORT void setLineRole(gsoap_eml2_3::resqml22__LineRole lineRole) final;
127
131 DLL_IMPORT_OR_EXPORT static const char* XML_NS;
132
136 DLL_IMPORT_OR_EXPORT std::string getXmlNamespace() const final { return XML_NS; }
137
138 private:
139 gsoap_eml2_3::resqml22__PointGeometry* getPointGeometry2_2(uint64_t patchIndex) const;
140
148 void init(COMMON_NS::DataObjectRepository * repo, const std::string & guid, const std::string & title);
149 };
150}
Definition PolylineSetRepresentation.h:27
PolylineSetRepresentation(resqml2 ::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title)
Creates an instance of this class in a gsoap context.
PolylineSetRepresentation(common ::DataObjectRepository *repo, const std::string &guid, const std::string &title)
PolylineSetRepresentation(gsoap_eml2_3::_resqml22__PolylineSetRepresentation *fromGsoap)
Definition PolylineSetRepresentation.h:81
PolylineSetRepresentation(resqml2 ::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, gsoap_eml2_3::resqml22__LineRole roleKind)
Creates an instance of this class in a gsoap context.
PolylineSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition PolylineSetRepresentation.h:37