Fesapi  2.0.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
SeismicWellboreFrameRepresentation.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 "WellboreFrameRepresentation.h"
22 
23 namespace RESQML2_NS
24 {
27  {
28  public:
29 
30  virtual ~SeismicWellboreFrameRepresentation() = default;
31 
38  DLL_IMPORT_OR_EXPORT void setTimeValues(double const * timeValues, unsigned int timeValueCount, EML2_NS::AbstractHdfProxy* proxy = nullptr);
39 
46  DLL_IMPORT_OR_EXPORT void setTimeValues(double firstTimeValue, double incrementTimeValue, unsigned int timeValueCount);
47 
52  DLL_IMPORT_OR_EXPORT bool areTimeValuesRegularlySpaced() const;
53 
58  DLL_IMPORT_OR_EXPORT double getTimeConstantIncrementValue() const;
59 
63  DLL_IMPORT_OR_EXPORT double getTimeFirstValue() const;
64 
68  DLL_IMPORT_OR_EXPORT unsigned int getTimeValuesCount() const;
69 
73  DLL_IMPORT_OR_EXPORT COMMON_NS::AbstractObject::hdfDatatypeEnum getTimeHdfDatatype() const;
74 
78  DLL_IMPORT_OR_EXPORT void getTimeAsDoubleValues(double* values) const;
79 
83  DLL_IMPORT_OR_EXPORT void getTimeAsFloatValues(float* values) const;
84 
88  DLL_IMPORT_OR_EXPORT double getSeismicReferenceDatum() const;
89 
93  DLL_IMPORT_OR_EXPORT double getWeatheringVelocity() const;
94 
98  DLL_IMPORT_OR_EXPORT static const char* XML_TAG;
99 
103  DLL_IMPORT_OR_EXPORT virtual std::string getXmlTag() const final { return XML_TAG; }
104 
105  protected:
106 
107  /*
108  * Default constructor
109  */
111 
115  SeismicWellboreFrameRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) :
116  WellboreFrameRepresentation(partialObject) {}
117 
121  SeismicWellboreFrameRepresentation(gsoap_eml2_3::resqml22__SeismicWellboreFrameRepresentation * fromGsoap) :
122  WellboreFrameRepresentation(fromGsoap) {}
123  };
124 }
A seismic wellbore frame representation. This class cannot be inherited.
Definition: SeismicWellboreFrameRepresentation.h:27
static const char * XML_TAG
Definition: SeismicWellboreFrameRepresentation.h:98
void getTimeAsDoubleValues(double *values) const
void setTimeValues(double firstTimeValue, double incrementTimeValue, unsigned int timeValueCount)
common::AbstractObject::hdfDatatypeEnum getTimeHdfDatatype() const
void getTimeAsFloatValues(float *values) const
void setTimeValues(double const *timeValues, unsigned int timeValueCount, eml2::AbstractHdfProxy *proxy=nullptr)
virtual std::string getXmlTag() const final
Definition: SeismicWellboreFrameRepresentation.h:103
Proxy class for a wellbore frame representation. A wellbore frame representation is a representation ...
Definition: WellboreFrameRepresentation.h:35