Fesapi  0.13.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
PolylineSetRepresentation.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/AbstractRepresentation.h"
22 
23 namespace RESQML2_0_1_NS
24 {
26  {
27  private :
28  gsoap_resqml2_0_1::resqml2__PointGeometry* getPointGeometry2_0_1(const unsigned int & patchIndex) const;
30  const std::string & guid, const std::string & title);
31 
32  public:
33 
37  PolylineSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : RESQML2_NS::AbstractRepresentation(partialObject) {}
38 
46  const std::string & guid, const std::string & title);
47 
56  const std::string & guid, const std::string & title);
57 
67  const std::string & guid, const std::string & title, const gsoap_resqml2_0_1::resqml2__LineRole & roleKind);
68 
72  PolylineSetRepresentation(gsoap_resqml2_0_1::_resqml2__PolylineSetRepresentation* fromGsoap) : RESQML2_NS::AbstractRepresentation(fromGsoap) {}
73 
78 
79  std::string getHdfProxyUuid() const;
80 
84  unsigned int getPolylineCountOfPatch(const unsigned int & patchIndex) const;
85  unsigned int getPolylineCountOfAllPatches() const;
86 
87  static const char* XML_TAG;
88  virtual std::string getXmlTag() const {return XML_TAG;}
89 
90  void getNodeCountPerPolylineInPatch(const unsigned int & patchIndex, unsigned int * NodeCountPerPolyline) const;
91 
96  void getNodeCountPerPolylineOfAllPatches(unsigned int * NodeCountPerPolyline) const;
97 
101  ULONG64 getXyzPointCountOfPatch(const unsigned int & patchIndex) const;
102 
108  void getXyzPointsOfPatch(const unsigned int & patchIndex, double * xyzPoints) const;
109 
113  unsigned int getPatchCount() const;
114 
123  void pushBackGeometryPatch(
124  unsigned int * NodeCountPerPolyline, double * nodes,
125  const unsigned int & polylineCount, const bool & allPolylinesClosedFlag,
127 
136  void pushBackGeometryPatch(
137  unsigned int * NodeCountPerPolyline, double * nodes,
138  const unsigned int & polylineCount, bool * polylineClosedFlags,
140 
147  bool areAllPolylinesClosedOfPatch(const unsigned int & patchIndex) const;
148  bool areAllPolylinesClosedOfAllPatches() const;
149 
156  bool areAllPolylinesNonClosedOfPatch(const unsigned int & patchIndex) const;
157  bool areAllPolylinesNonClosedOfAllPatches() const;
158 
163  void getClosedFlagPerPolylineOfPatch(const unsigned int & patchIndex, bool * closedFlagPerPolyline) const;
164  void getClosedFlagPerPolylineOfAllPatches(bool * closedFlagPerPolyline) const;
165 
169  bool hasALineRole() const;
170 
175  gsoap_resqml2_0_1::resqml2__LineRole getLineRole() const;
176 
180  void setLineRole(const gsoap_resqml2_0_1::resqml2__LineRole & lineRole);
181 
182  };
183 }
184 
virtual std::string getXmlTag() const
Definition: PolylineSetRepresentation.h:88
Definition: AbstractRepresentation.h:31
Definition: AbstractFeatureInterpretation.h:30
Definition: EpcDocument.h:65
PolylineSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: PolylineSetRepresentation.h:37
Definition: PolylineSetRepresentation.h:25
~PolylineSetRepresentation()
Definition: PolylineSetRepresentation.h:77
Definition: AbstractHdfProxy.h:30
Definition: AbstractLocal3dCrs.h:25
Definition: EpcDocument.h:49
PolylineSetRepresentation(gsoap_resqml2_0_1::_resqml2__PolylineSetRepresentation *fromGsoap)
Definition: PolylineSetRepresentation.h:72