Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
AbstractSurfaceRepresentation.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 "AbstractRepresentation.h"
22 
23 namespace RESQML2_NS
24 {
25  class PolylineRepresentation;
26 
33  {
34  public:
35 
37  virtual ~AbstractSurfaceRepresentation() = default;
38 
46  unsigned int getBoundariesCount() const;
47 
58  COMMON_NS::DataObjectReference getOuterRingDor(unsigned int index) const;
59 
70  DLL_IMPORT_OR_EXPORT void pushBackOuterRing(PolylineRepresentation * outerRing);
71 
81  DLL_IMPORT_OR_EXPORT void setSurfaceRole(gsoap_resqml2_0_1::resqml20__SurfaceRole surfaceRole);
82 
91  DLL_IMPORT_OR_EXPORT gsoap_resqml2_0_1::resqml20__SurfaceRole getSurfaceRole() const;
92 
93  protected:
94 
102  DLL_IMPORT_OR_EXPORT AbstractSurfaceRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractRepresentation(partialObject) {}
103 
106 
112  AbstractSurfaceRepresentation(gsoap_resqml2_0_1::resqml20__AbstractSurfaceRepresentation* fromGsoap) : AbstractRepresentation(fromGsoap) {}
113 
119  AbstractSurfaceRepresentation(gsoap_eml2_3::resqml22__AbstractSurfaceRepresentation* fromGsoap) : AbstractRepresentation(fromGsoap) {}
120 
122  virtual void loadTargetRelationships();
123  };
124 }
Proxy class for an abstract representation.
Definition: AbstractRepresentation.h:32
An abstract surface representation. It is the parent class of structural surface representations,...
Definition: AbstractSurfaceRepresentation.h:33
common::DataObjectReference getOuterRingDor(unsigned int index) const
virtual ~AbstractSurfaceRepresentation()=default
void setSurfaceRole(gsoap_resqml2_0_1::resqml20__SurfaceRole surfaceRole)
gsoap_resqml2_0_1::resqml20__SurfaceRole getSurfaceRole() const
void pushBackOuterRing(PolylineRepresentation *outerRing)
unsigned int getBoundariesCount() const
A representation made up of a single polyline or "polygonal chain", which may be closed or not....
Definition: PolylineRepresentation.h:38