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
RepresentationSetRepresentation.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{
38 class RepresentationSetRepresentation : public RESQML2_NS::AbstractRepresentation
39 {
40 public:
41
44
52 COMMON_NS::DataObjectReference getHdfProxyDor() const final { return COMMON_NS::DataObjectReference(); }
53
55 DLL_IMPORT_OR_EXPORT uint64_t getXyzPointCountOfPatch(unsigned int patchIndex) const override;
56
58 DLL_IMPORT_OR_EXPORT void getXyzPointsOfPatch(unsigned int patchIndex, double * xyzPoints) const override;
59
65 DLL_IMPORT_OR_EXPORT uint64_t getPatchCount() const override {return 1;}
66
75 DLL_IMPORT_OR_EXPORT bool isHomogeneous() const;
76
85 DLL_IMPORT_OR_EXPORT uint64_t getRepresentationCount() const;
86
97 DLL_IMPORT_OR_EXPORT RESQML2_NS::AbstractRepresentation* getRepresentation(uint64_t index) const;
98
110 COMMON_NS::DataObjectReference getRepresentationDor(uint64_t index) const;
111
121 DLL_IMPORT_OR_EXPORT void pushBack(RESQML2_NS::AbstractRepresentation* rep);
122
128 DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
129
130 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const override { return XML_TAG; }
131
133 void virtual loadTargetRelationships() override;
134
135 protected:
136
139
145 DLL_IMPORT_OR_EXPORT RepresentationSetRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) :
146 RESQML2_NS::AbstractRepresentation(partialObject) {}
147
153 RepresentationSetRepresentation(gsoap_resqml2_0_1::_resqml20__RepresentationSetRepresentation* fromGsoap) : RESQML2_NS::AbstractRepresentation(fromGsoap) {}
154
160 RepresentationSetRepresentation(gsoap_eml2_3::_resqml22__RepresentationSetRepresentation* fromGsoap) : RESQML2_NS::AbstractRepresentation(fromGsoap) {}
161
162 };
163}
Proxy class for an abstract representation.
Definition AbstractRepresentation.h:37
Proxy class for a representation set representation. This is the parent class of the framework repres...
Definition RepresentationSetRepresentation.h:39
static const char * XML_TAG
Definition RepresentationSetRepresentation.h:128
common::DataObjectReference getHdfProxyDor() const final
Definition RepresentationSetRepresentation.h:52
uint64_t getPatchCount() const override
Definition RepresentationSetRepresentation.h:65
void pushBack(resqml2 ::AbstractRepresentation *rep)
common::DataObjectReference getRepresentationDor(uint64_t index) const
uint64_t getXyzPointCountOfPatch(unsigned int patchIndex) const override
resqml2::AbstractRepresentation * getRepresentation(uint64_t index) const
virtual ~RepresentationSetRepresentation()=default
void getXyzPointsOfPatch(unsigned int patchIndex, double *xyzPoints) const override
virtual void loadTargetRelationships() override