21#include "../common/AbstractObject.h"
41 DLL_IMPORT_OR_EXPORT
DoubleTableLookup(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : COMMON_NS::AbstractObject(partialObject) {}
53 DLL_IMPORT_OR_EXPORT
virtual bool containsKey(
double key) = 0;
72 DLL_IMPORT_OR_EXPORT
virtual double getKeyAtIndex(uint64_t index)
const = 0;
102 DLL_IMPORT_OR_EXPORT
virtual void addValue(
double key,
double value) = 0;
111 DLL_IMPORT_OR_EXPORT
virtual void setValue(
double key,
double value) = 0;
135 DLL_IMPORT_OR_EXPORT
virtual std::map<double, double>
getMap()
const = 0;
138 DLL_IMPORT_OR_EXPORT
static constexpr char const*
XML_TAG =
"DoubleTableLookup";
152 DoubleTableLookup(gsoap_resqml2_0_1::_resqml20__DoubleTableLookup* fromGsoap) : AbstractObject(fromGsoap) {}
155 void loadTargetRelationships() final {}
Defines a function for table lookups. For example, used for linear interpolation, such as PVT.
Definition DoubleTableLookup.h:33
virtual void setValue(double key, double value)=0
DoubleTableLookup(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition DoubleTableLookup.h:41
virtual double getValueAtKey(double key)=0
virtual double getValueAtIndex(uint64_t index) const =0
std::string getXmlTag() const final
Definition DoubleTableLookup.h:140
virtual void addValue(double key, double value)=0
virtual std::map< double, double > getMap() const =0
virtual ~DoubleTableLookup()=default
virtual double getMaximumValue()=0
virtual bool containsKey(double key)=0
virtual double getMinimumValue()=0
static constexpr char const * XML_TAG
Definition DoubleTableLookup.h:138
virtual double getKeyAtIndex(uint64_t index) const =0
virtual uint64_t getItemCount() const =0