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;
60 DLL_IMPORT_OR_EXPORT
virtual unsigned int getItemCount()
const = 0;
72 DLL_IMPORT_OR_EXPORT
virtual double getKeyAtIndex(
unsigned int index)
const = 0;
84 DLL_IMPORT_OR_EXPORT
virtual double getValueAtIndex(
unsigned int 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 const char*
XML_TAG;
140 DLL_IMPORT_OR_EXPORT std::string
getXmlTag() const final {
return XML_TAG; }
152 DoubleTableLookup(gsoap_resqml2_0_1::_resqml20__DoubleTableLookup* fromGsoap) : AbstractObject(fromGsoap) {}
159 DoubleTableLookup(gsoap_eml2_3::_resqml22__DoubleTableLookup* fromGsoap) : AbstractObject(fromGsoap) {}
162 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
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 const char * XML_TAG
Definition: DoubleTableLookup.h:138
virtual double getKeyAtIndex(unsigned int index) const =0
virtual unsigned int getItemCount() const =0
virtual double getValueAtIndex(unsigned int index) const =0