21 #include "AbstractValuesProperty.h"
57 DLL_IMPORT_OR_EXPORT
void pushBackLongHdf5Array1dOfValues(
const int64_t * values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy, int64_t nullValue, int64_t minimumValue, int64_t maximumValue);
58 using AbstractValuesProperty::pushBackLongHdf5Array1dOfValues;
65 DLL_IMPORT_OR_EXPORT
void pushBackIntHdf5Array1dOfValues(
const int * values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy,
int nullValue,
int minimumValue,
int maximumValue);
66 using AbstractValuesProperty::pushBackIntHdf5Array1dOfValues;
73 DLL_IMPORT_OR_EXPORT
void pushBackShortHdf5Array1dOfValues(
const short * values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy,
short nullValue,
short minimumValue,
short maximumValue);
74 using AbstractValuesProperty::pushBackShortHdf5Array1dOfValues;
81 DLL_IMPORT_OR_EXPORT
void pushBackCharHdf5Array1dOfValues(
const char * values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy,
char nullValue,
char minimumValue,
char maximumValue);
82 using AbstractValuesProperty::pushBackCharHdf5Array1dOfValues;
104 DLL_IMPORT_OR_EXPORT
void pushBackLongHdf5Array2dOfValues(
const int64_t * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, int64_t nullValue, int64_t minimumValue, int64_t maximumValue);
105 using AbstractValuesProperty::pushBackLongHdf5Array2dOfValues;
112 DLL_IMPORT_OR_EXPORT
void pushBackIntHdf5Array2dOfValues(
const int * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy,
int nullValue,
int minimumValue,
int maximumValue);
113 using AbstractValuesProperty::pushBackIntHdf5Array2dOfValues;
120 DLL_IMPORT_OR_EXPORT
void pushBackShortHdf5Array2dOfValues(
const short * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy,
short nullValue,
short minimumValue,
short maximumValue);
121 using AbstractValuesProperty::pushBackShortHdf5Array2dOfValues;
128 DLL_IMPORT_OR_EXPORT
void pushBackUShortHdf5Array2dOfValues(
const unsigned short * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy,
unsigned short nullValue,
unsigned short minimumValue,
unsigned short maximumValue);
129 using AbstractValuesProperty::pushBackUShortHdf5Array2dOfValues;
136 DLL_IMPORT_OR_EXPORT
void pushBackCharHdf5Array2dOfValues(
const char * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy,
char nullValue,
char minimumValue,
char maximumValue);
137 using AbstractValuesProperty::pushBackCharHdf5Array2dOfValues;
161 DLL_IMPORT_OR_EXPORT
void pushBackLongHdf5Array3dOfValues(
const int64_t * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, int64_t nullValue, int64_t minimumValue, int64_t maximumValue);
162 using AbstractValuesProperty::pushBackLongHdf5Array3dOfValues;
169 DLL_IMPORT_OR_EXPORT
void pushBackIntHdf5Array3dOfValues(
const int * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy,
int nullValue,
int minimumValue,
int maximumValue);
170 using AbstractValuesProperty::pushBackIntHdf5Array3dOfValues;
177 DLL_IMPORT_OR_EXPORT
void pushBackShortHdf5Array3dOfValues(
const short * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy,
short nullValue,
short minimumValue,
short maximumValue);
178 using AbstractValuesProperty::pushBackShortHdf5Array3dOfValues;
185 DLL_IMPORT_OR_EXPORT
void pushBackUShortHdf5Array3dOfValues(
const unsigned short * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy,
unsigned short nullValue,
unsigned short minimumValue,
unsigned short maximumValue);
186 using AbstractValuesProperty::pushBackUShortHdf5Array3dOfValues;
193 DLL_IMPORT_OR_EXPORT
void pushBackCharHdf5Array3dOfValues(
const char * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy,
char nullValue,
char minimumValue,
char maximumValue);
194 using AbstractValuesProperty::pushBackCharHdf5Array3dOfValues;
213 DLL_IMPORT_OR_EXPORT
void pushBackLongHdf5ArrayOfValues(
const int64_t * values,
unsigned long long * numValues,
unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy, int64_t nullValue)
final;
220 DLL_IMPORT_OR_EXPORT
void pushBackIntHdf5ArrayOfValues(
const int * values,
unsigned long long * numValues,
unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy,
int nullValue)
final;
227 DLL_IMPORT_OR_EXPORT
void pushBackShortHdf5ArrayOfValues(
const short * values,
unsigned long long * numValues,
unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy,
short nullValue)
final;
234 DLL_IMPORT_OR_EXPORT
void pushBackUShortHdf5ArrayOfValues(
const unsigned short * values,
unsigned long long * numValues,
unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy,
unsigned short nullValue)
final;
241 DLL_IMPORT_OR_EXPORT
void pushBackCharHdf5ArrayOfValues(
const char * values,
unsigned long long * numValues,
unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy,
char nullValue)
final;
266 DLL_IMPORT_OR_EXPORT
void pushBackLongHdf5ArrayOfValues(
const int64_t * values,
unsigned long long * numValues,
unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy, int64_t nullValue, int64_t minimumValue, int64_t maximumValue);
273 DLL_IMPORT_OR_EXPORT
void pushBackIntHdf5ArrayOfValues(
const int * values,
unsigned long long * numValues,
unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy,
int nullValue,
int minimumValue,
int maximumValue);
280 DLL_IMPORT_OR_EXPORT
void pushBackShortHdf5ArrayOfValues(
const short * values,
unsigned long long * numValues,
unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy,
short nullValue,
short minimumValue,
short maximumValue);
287 DLL_IMPORT_OR_EXPORT
void pushBackUShortHdf5ArrayOfValues(
const unsigned short * values,
unsigned long long * numValues,
unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy,
unsigned short nullValue,
unsigned short minimumValue,
unsigned short maximumValue);
294 DLL_IMPORT_OR_EXPORT
void pushBackCharHdf5ArrayOfValues(
const char * values,
unsigned long long * numValues,
unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy,
char nullValue,
char minimumValue,
char maximumValue);
319 DLL_IMPORT_OR_EXPORT
virtual std::string
pushBackRefToExistingIntegerDataset(EML2_NS::AbstractHdfProxy* proxy,
const std::string & datasetName, int64_t nullValue, int64_t minimumValue, int64_t maximumValue) = 0;
320 using AbstractValuesProperty::pushBackRefToExistingIntegerDataset;
353 unsigned long long* numValues,
354 unsigned int numArrayDimensions,
355 int64_t* minimumValue, int64_t* maximumValue,
356 int64_t nullValue = (std::numeric_limits<int64_t>::max)(),
357 EML2_NS::AbstractHdfProxy* proxy =
nullptr);
358 using AbstractValuesProperty::pushBackLongHdf5ArrayOfValues;
385 uint64_t valueCountInFastestDim,
386 uint64_t valueCountInMiddleDim,
387 uint64_t valueCountInSlowestDim,
388 int64_t minimumValue, int64_t maximumValue,
389 int64_t nullValue = (std::numeric_limits<int64_t>::max)(),
390 EML2_NS::AbstractHdfProxy* proxy =
nullptr);
432 uint64_t valueCountInFastestDim,
433 uint64_t valueCountInMiddleDim,
434 uint64_t valueCountInSlowestDim,
435 uint64_t offsetInFastestDim,
436 uint64_t offsetInMiddleDim,
437 uint64_t offsetInSlowestDim,
439 EML2_NS::AbstractHdfProxy* proxy =
nullptr,
440 unsigned int patchIndex = (std::numeric_limits<unsigned int>::max)());
441 using AbstractValuesProperty::setValuesOfLongHdf5Array3dOfValues;
476 unsigned long long const * numValues,
477 unsigned long long const * offsetValues,
478 unsigned int numArrayDimensions,
480 EML2_NS::AbstractHdfProxy* proxy =
nullptr,
481 unsigned int patchIndex = (std::numeric_limits<unsigned int>::max)());
491 DLL_IMPORT_OR_EXPORT
virtual int64_t
getNullValue(
unsigned int patchIndex = (std::numeric_limits<unsigned int>::max)())
const = 0;
520 DLL_IMPORT_OR_EXPORT
virtual int64_t
getMinimumValue(
unsigned int index = 0)
const = 0;
549 DLL_IMPORT_OR_EXPORT
virtual int64_t
getMaximumValue(
unsigned int index = 0)
const = 0;
560 DLL_IMPORT_OR_EXPORT
virtual void setMinimumValue(int64_t value,
unsigned int index = 0)
const = 0;
571 DLL_IMPORT_OR_EXPORT
virtual void setMaximumValue(int64_t value,
unsigned int index = 0)
const = 0;
574 DLL_IMPORT_OR_EXPORT
static const char*
XML_TAG;
576 DLL_IMPORT_OR_EXPORT
virtual std::string
getXmlTag() const final {
return XML_TAG; }
588 DiscreteProperty() {}
595 DiscreteProperty(gsoap_resqml2_0_1::_resqml20__DiscreteProperty* fromGsoap) : AbstractValuesProperty(fromGsoap) {}
602 DiscreteProperty(gsoap_eml2_3::_resqml22__DiscreteProperty* fromGsoap) : AbstractValuesProperty(fromGsoap) {}
604 virtual size_t getMinimumValueSize()
const = 0;
605 virtual size_t getMaximumValueSize()
const = 0;
Proxy class for an abstract values property.
Definition: AbstractValuesProperty.h:28
Proxy class for a discrete property. Such property contains discrete integer values; typically used t...
Definition: DiscreteProperty.h:34
void pushBackCharHdf5ArrayOfValues(const char *values, unsigned long long *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, char nullValue) final
void pushBackIntHdf5ArrayOfValues(const int *values, unsigned long long *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, int nullValue) final
void pushBackUShortHdf5ArrayOfValues(const unsigned short *values, unsigned long long *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, unsigned short nullValue, unsigned short minimumValue, unsigned short maximumValue)
virtual std::string pushBackRefToExistingIntegerDataset(eml2::AbstractHdfProxy *proxy, const std::string &datasetName, int64_t nullValue, int64_t minimumValue, int64_t maximumValue)=0
virtual int64_t getMaximumValue(unsigned int index=0) const =0
Gets the maximum value of a non vector property or the maximum value of one given value of a vector p...
void pushBackShortHdf5Array3dOfValues(const short *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, short nullValue, short minimumValue, short maximumValue)
void pushBackLongHdf5Array3dOfValues(uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, int64_t minimumValue, int64_t maximumValue, int64_t nullValue=(std::numeric_limits< int64_t >::max)(), eml2::AbstractHdfProxy *proxy=nullptr)
void pushBackShortHdf5Array1dOfValues(const short *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy, short nullValue, short minimumValue, short maximumValue)
void pushBackLongHdf5Array1dOfValues(const int64_t *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy, int64_t nullValue, int64_t minimumValue, int64_t maximumValue)
Adds a 1d array of explicit long values to the property values.
void pushBackIntHdf5Array1dOfValues(const int *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy, int nullValue, int minimumValue, int maximumValue)
void pushBackCharHdf5Array1dOfValues(const char *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy, char nullValue, char minimumValue, char maximumValue)
void pushBackUShortHdf5Array2dOfValues(const unsigned short *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, unsigned short nullValue, unsigned short minimumValue, unsigned short maximumValue)
void pushBackLongHdf5ArrayOfValues(unsigned long long *numValues, unsigned int numArrayDimensions, int64_t *minimumValue, int64_t *maximumValue, int64_t nullValue=(std::numeric_limits< int64_t >::max)(), eml2::AbstractHdfProxy *proxy=nullptr)
virtual void setMaximumValue(int64_t value, unsigned int index=0) const =0
Sets the maximum value of a non vector property or the maximum value of one given value of a vector p...
void setValuesOfLongHdf5Array3dOfValues(int64_t *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim, bool computeMinMax, eml2::AbstractHdfProxy *proxy=nullptr, unsigned int patchIndex=(std::numeric_limits< unsigned int >::max)())
void pushBackLongHdf5Array2dOfValues(const int64_t *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int64_t nullValue, int64_t minimumValue, int64_t maximumValue)
Adds a 2d array of explicit long values to the property values.
void pushBackLongHdf5ArrayOfValues(const int64_t *values, unsigned long long *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, int64_t nullValue) final
Adds an nd array of explicit long values to the property values.
void pushBackCharHdf5Array3dOfValues(const char *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, char nullValue, char minimumValue, char maximumValue)
static const char * XML_TAG
Definition: DiscreteProperty.h:574
virtual ~DiscreteProperty()=default
void pushBackIntHdf5Array3dOfValues(const int *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int nullValue, int minimumValue, int maximumValue)
virtual void setMinimumValue(int64_t value, unsigned int index=0) const =0
Sets the minimum value of a non vector property or the minimum value of one given value of a vector p...
void pushBackShortHdf5ArrayOfValues(const short *values, unsigned long long *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, short nullValue, short minimumValue, short maximumValue)
virtual int64_t getNullValue(unsigned int patchIndex=(std::numeric_limits< unsigned int >::max)()) const =0
Gets the null value in this discrete property.
virtual int64_t getMinimumValue(unsigned int index=0) const =0
Gets the minimum value of a non vector property or the minimum value of one given value of a vector p...
virtual bool hasMinimumValue(unsigned int index=0) const =0
Checks if a non vector property or a given value of a vector property has got a minimum value already...
void pushBackCharHdf5ArrayOfValues(const char *values, unsigned long long *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, char nullValue, char minimumValue, char maximumValue)
void setValuesOfLongHdf5ArrayOfValues(int64_t *values, unsigned long long const *numValues, unsigned long long const *offsetValues, unsigned int numArrayDimensions, bool computeMinMax, eml2::AbstractHdfProxy *proxy=nullptr, unsigned int patchIndex=(std::numeric_limits< unsigned int >::max)())
void pushBackLongHdf5Array3dOfValues(const int64_t *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int64_t nullValue, int64_t minimumValue, int64_t maximumValue)
Adds a 3d array of explicit long values to the property values.
virtual std::string getXmlTag() const final
Definition: DiscreteProperty.h:576
void pushBackUShortHdf5ArrayOfValues(const unsigned short *values, unsigned long long *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, unsigned short nullValue) final
void pushBackUShortHdf5Array3dOfValues(const unsigned short *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, unsigned short nullValue, unsigned short minimumValue, unsigned short maximumValue)
void pushBackCharHdf5Array2dOfValues(const char *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, char nullValue, char minimumValue, char maximumValue)
void pushBackShortHdf5Array2dOfValues(const short *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, short nullValue, short minimumValue, short maximumValue)
virtual bool hasMaximumValue(unsigned int index=0) const =0
Checks if a non vector property or a given value of a vector property has got a maximum value already...
void pushBackIntHdf5ArrayOfValues(const int *values, unsigned long long *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, int nullValue, int minimumValue, int maximumValue)
void pushBackShortHdf5ArrayOfValues(const short *values, unsigned long long *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, short nullValue) final
void pushBackLongHdf5ArrayOfValues(const int64_t *values, unsigned long long *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, int64_t nullValue, int64_t minimumValue, int64_t maximumValue)
Adds an nd array of explicit long values to the property values.
void pushBackIntHdf5Array2dOfValues(const int *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int nullValue, int minimumValue, int maximumValue)