Fesapi 2.10.1.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
StreamlinesFeature.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 "AbstractTechnicalFeature.h"
22
23namespace EML2_NS
24{
25 class TimeSeries;
26}
27
28namespace RESQML2_NS
29{
38 {
39 public:
40
42
48 DLL_IMPORT_OR_EXPORT StreamlinesFeature(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractTechnicalFeature(partialObject) {}
49
55 StreamlinesFeature(gsoap_resqml2_0_1::_resqml20__StreamlinesFeature* fromGsoap): AbstractTechnicalFeature(fromGsoap) {}
56
62 StreamlinesFeature(gsoap_eml2_3::_resqml22__StreamlinesFeature* fromGsoap) : AbstractTechnicalFeature(fromGsoap) {}
63
67 virtual ~StreamlinesFeature() = default;
68
76 DLL_IMPORT_OR_EXPORT EML2_NS::TimeSeries* getTimeSeries() const;
77
85 virtual COMMON_NS::DataObjectReference getTimeSeriesDor() const = 0;
86
94 DLL_IMPORT_OR_EXPORT virtual uint64_t getTimeIndex() const = 0;
95
98
102 DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
103
104 DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
105 };
106}
An abstract technical feature. These are objects that exist by the action of humans.
Definition AbstractTechnicalFeature.h:37
Specification of the vector field upon which the streamlines are based.
Definition StreamlinesFeature.h:38
StreamlinesFeature(gsoap_eml2_3::_resqml22__StreamlinesFeature *fromGsoap)
Definition StreamlinesFeature.h:62
eml2::TimeSeries * getTimeSeries() const
virtual common::DataObjectReference getTimeSeriesDor() const =0
StreamlinesFeature(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition StreamlinesFeature.h:48
virtual uint64_t getTimeIndex() const =0
StreamlinesFeature(gsoap_resqml2_0_1::_resqml20__StreamlinesFeature *fromGsoap)
Definition StreamlinesFeature.h:55
virtual ~StreamlinesFeature()=default
void loadTargetRelationships() final