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
AbstractSurfaceRepresentation.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 "AbstractRepresentation.h"
22
23namespace 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() override;
123 };
124}
Proxy class for an abstract representation.
Definition AbstractRepresentation.h:37
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