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
resqml2_0_1::CategoricalProperty Class Referencefinal

#include <CategoricalProperty.h>

Inheritance diagram for resqml2_0_1::CategoricalProperty:
resqml2::CategoricalProperty resqml2::AbstractValuesProperty resqml2::AbstractProperty common::AbstractObject

Public Member Functions

 CategoricalProperty (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 CategoricalProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, resqml2::StringTableLookup *strLookup, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind)
 
 CategoricalProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, resqml2::DoubleTableLookup *dblLookup, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind)
 
 CategoricalProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, resqml2::StringTableLookup *strLookup, eml2::PropertyKind *localPropKind)
 
 CategoricalProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, resqml2::DoubleTableLookup *dblLookup, eml2::PropertyKind *localPropKind)
 
 CategoricalProperty (gsoap_resqml2_0_1::_resqml20__CategoricalProperty *fromGsoap)
 
 ~CategoricalProperty ()=default
 
common::DataObjectReference getLookupDor () const final
 
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind getEnergisticsPropertyKind () const
 
bool validatePropertyKindAssociation (eml2::PropertyKind *pk) final
 
bool validatePropertyKindAssociation (gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind pk) final
 
std::string getXmlNamespace () const final
 
- Public Member Functions inherited from resqml2::CategoricalProperty
StringTableLookupgetStringLookup () const
 Gets the string lookup which is associated to this categorical property values.
 
DoubleTableLookupgetDoubleLookup () const
 Gets the double lookup which is associated to this categorical property values.
 
virtual std::string getXmlTag () const final
 
- Public Member Functions inherited from resqml2::AbstractValuesProperty
virtual ~AbstractValuesProperty ()=default
 
uint64_t getPatchCount () const final
 
common::AbstractObject::numericalDatatypeEnum getValuesHdfDatatype () const final
 
uint64_t getValuesCountOfDimensionOfPatch (uint64_t dimIndex, uint64_t patchIndex) const final
 
uint64_t getDimensionsCountOfPatch (uint64_t patchIndex) const final
 
void pushBackFacet (gsoap_eml2_3::eml23__FacetKind facet, const std::string &facetValue)
 
uint64_t getFacetCount () const
 
gsoap_eml2_3::eml23__FacetKind getFacetKind (uint64_t index) const
 
std::string getFacetValue (uint64_t index) const
 
void pushBackIntegerConstantArrayOfValues (int64_t value, uint64_t valueCount)
 Adds an array constant integer values to the property values.
 
void pushBackInt64Hdf5Array1dOfValues (const int64_t *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy, int64_t nullValue)
 Adds a 1d array of explicit int values to the property values.
 
void pushBackInt32Hdf5Array1dOfValues (const int *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy, int nullValue)
 
void pushBackInt16Hdf5Array1dOfValues (const short *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy, short nullValue)
 
void pushBackInt8Hdf5Array1dOfValues (const int8_t *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy, int8_t nullValue)
 
void pushBackInt64Hdf5Array2dOfValues (const int64_t *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int64_t nullValue)
 Adds a 2d array of explicit int values to the property values.
 
void pushBackInt32Hdf5Array2dOfValues (const int *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int nullValue)
 
void pushBackInt16Hdf5Array2dOfValues (const short *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, short nullValue)
 
void pushBackUInt16Hdf5Array2dOfValues (const unsigned short *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, unsigned short nullValue)
 
void pushBackInt8Hdf5Array2dOfValues (const int8_t *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int8_t nullValue)
 
void pushBackInt64Hdf5Array3dOfValues (const int64_t *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int64_t nullValue)
 Adds a 3d array of explicit int values to the property values.
 
void pushBackInt32Hdf5Array3dOfValues (const int *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int nullValue)
 
void pushBackInt16Hdf5Array3dOfValues (const short *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, short nullValue)
 
void pushBackUInt16Hdf5Array3dOfValues (const unsigned short *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, unsigned short nullValue)
 
void pushBackInt8Hdf5Array3dOfValues (const int8_t *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int8_t nullValue)
 
virtual void pushBackInt64Hdf5ArrayOfValues (const int64_t *values, const uint64_t *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, int64_t nullValue)
 Adds an nd array of explicit int values to the property values.
 
virtual void pushBackInt32Hdf5ArrayOfValues (const int *values, const uint64_t *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, int nullValue)
 
virtual void pushBackInt16Hdf5ArrayOfValues (const short *values, const uint64_t *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, short nullValue)
 
virtual void pushBackUInt16Hdf5ArrayOfValues (const unsigned short *values, const uint64_t *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, unsigned short nullValue)
 
virtual void pushBackInt8Hdf5ArrayOfValues (const int8_t *values, const uint64_t *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, int8_t nullValue)
 
virtual std::string pushBackRefToExistingIntegerDataset (eml2::AbstractHdfProxy *hdfProxy, const std::string &dataset="", int64_t nullValue=(std::numeric_limits< int64_t >::max)())
 
bool hasConstantValues (uint64_t patchIndex) const
 
int64_t getInt64ConstantValuesOfPatch (uint64_t patchIndex) const
 
double getDoubleConstantValuesOfPatch (uint64_t patchIndex) const
 
int64_t getNullValueOfPatch (uint64_t patchIndex) const
 
int64_t getInt64ValuesOfPatch (uint64_t patchIndex, int64_t *values) const
 
uint64_t getUInt64ValuesOfPatch (uint64_t patchIndex, uint64_t *values) const
 
int32_t getInt32ValuesOfPatch (uint64_t patchIndex, int32_t *values) const
 
uint32_t getUInt32ValuesOfPatch (uint64_t patchIndex, uint32_t *values) const
 
int16_t getInt16ValuesOfPatch (uint64_t patchIndex, int16_t *values) const
 
uint16_t getUInt16ValuesOfPatch (uint64_t patchIndex, uint16_t *values) const
 
int8_t getInt8ValuesOfPatch (uint64_t patchIndex, int8_t *values) const
 
uint8_t getUInt8ValuesOfPatch (uint64_t patchIndex, uint8_t *values) const
 
void pushBackHdf5ArrayOfValues (common::AbstractObject::numericalDatatypeEnum datatype, uint64_t const *numValues, unsigned int numArrayDimensions, int64_t nullValue=(std::numeric_limits< int64_t >::max)(), eml2::AbstractHdfProxy *proxy=nullptr)
 
void pushBackHdf5Array1dOfValues (common::AbstractObject::numericalDatatypeEnum datatype, uint64_t valueCount, int64_t nullValue=(std::numeric_limits< int64_t >::max)(), eml2::AbstractHdfProxy *proxy=nullptr)
 
void pushBackHdf5Array2dOfValues (common::AbstractObject::numericalDatatypeEnum datatype, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, int64_t nullValue=(std::numeric_limits< int64_t >::max)(), eml2::AbstractHdfProxy *proxy=nullptr)
 
void pushBackHdf5Array3dOfValues (common::AbstractObject::numericalDatatypeEnum datatype, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, int64_t nullValue=(std::numeric_limits< int64_t >::max)(), eml2::AbstractHdfProxy *proxy=nullptr)
 
void setValuesOfInt64Hdf5ArrayOfValues (int64_t const *values, uint64_t const *numValues, uint64_t const *offsetValues, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt64Hdf5ArrayOfValues (uint64_t const *values, uint64_t const *numValues, uint64_t const *offsetValues, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfInt32Hdf5ArrayOfValues (int32_t const *values, uint64_t const *numValues, uint64_t const *offsetValues, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt32Hdf5ArrayOfValues (uint32_t const *values, uint64_t const *numValues, uint64_t const *offsetValues, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfInt16Hdf5ArrayOfValues (int16_t const *values, uint64_t const *numValues, uint64_t const *offsetValues, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt16Hdf5ArrayOfValues (uint16_t const *values, uint64_t const *numValues, uint64_t const *offsetValues, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfInt8Hdf5ArrayOfValues (int8_t const *values, uint64_t const *numValues, uint64_t const *offsetValues, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt8Hdf5ArrayOfValues (uint8_t const *values, uint64_t const *numValues, uint64_t const *offsetValues, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfDoubleHdf5ArrayOfValues (double const *values, uint64_t const *numValues, uint64_t const *offsetValues, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfFloatHdf5ArrayOfValues (float const *values, uint64_t const *numValues, uint64_t const *offsetValues, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfInt64Hdf5Array1dOfValues (int64_t const *values, uint64_t valueCount, uint64_t offset, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt64Hdf5Array1dOfValues (uint64_t const *values, uint64_t valueCount, uint64_t offset, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfInt32Hdf5Array1dOfValues (int32_t const *values, uint64_t valueCount, uint64_t offset, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt32Hdf5Array1dOfValues (uint32_t const *values, uint64_t valueCount, uint64_t offset, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfInt16Hdf5Array1dOfValues (int16_t const *values, uint64_t valueCount, uint64_t offset, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt16Hdf5Array1dOfValues (uint16_t const *values, uint64_t valueCount, uint64_t offset, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfInt8Hdf5Array1dOfValues (int8_t const *values, uint64_t valueCount, uint64_t offset, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt8Hdf5Array1dOfValues (uint8_t const *values, uint64_t valueCount, uint64_t offset, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfDoubleHdf5Array1dOfValues (double const *values, uint64_t valueCount, uint64_t offset, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfFloatHdf5Array1dOfValues (float const *values, uint64_t valueCount, uint64_t offset, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfInt64Hdf5Array2dOfValues (int64_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt64Hdf5Array2dOfValues (uint64_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfInt32Hdf5Array2dOfValues (int32_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt32Hdf5Array2dOfValues (uint32_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfInt16Hdf5Array2dOfValues (int16_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt16Hdf5Array2dOfValues (uint16_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfInt8Hdf5Array2dOfValues (int8_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt8Hdf5Array2dOfValues (uint8_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfDoubleHdf5Array2dOfValues (double const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfFloatHdf5Array2dOfValues (float const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfInt64Hdf5Array3dOfValues (int64_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt64Hdf5Array3dOfValues (uint64_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfInt32Hdf5Array3dOfValues (int32_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt32Hdf5Array3dOfValues (uint32_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfInt16Hdf5Array3dOfValues (int16_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt16Hdf5Array3dOfValues (uint16_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfInt8Hdf5Array3dOfValues (int8_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfUInt8Hdf5Array3dOfValues (uint8_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfDoubleHdf5Array3dOfValues (double const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void setValuesOfFloatHdf5Array3dOfValues (float const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
 
void getInt64ValuesOfPatch (uint64_t patchIndex, int64_t *values, uint64_t const *numValuesInEachDimension, uint64_t const *offsetInEachDimension, unsigned int numArrayDimensions) const
 
void getInt64ValuesOf3dPatch (uint64_t patchIndex, int64_t *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim) const
 
int32_t getIntValuesOfPatch (uint64_t patchIndex, int32_t *values, const uint64_t *numValuesInEachDimension, const uint64_t *offsetInEachDimension, unsigned int numArrayDimensions) const
 
void getIntValuesOf3dPatch (uint64_t patchIndex, int32_t *values, unsigned int valueCountInFastestDim, unsigned int valueCountInMiddleDim, unsigned int valueCountInSlowestDim, unsigned int offsetInFastestDim, unsigned int offsetInMiddleDim, unsigned int offsetInSlowestDim) const
 
void pushBackFloatingPointConstantArrayOfValues (double value, uint64_t valueCount)
 Adds an array constant flaoting point values to the property values.
 
void pushBackDoubleHdf5Array1dOfValues (const double *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy=nullptr)
 Adds a 1d array of explicit double values to the property values.
 
void pushBackDoubleHdf5Array2dOfValues (const double *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr)
 Adds a 2d array of explicit double values to the property values.
 
void pushBackDoubleHdf5Array3dOfValues (const double *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr)
 Adds a 3d array of explicit double values to the property values.
 
void pushBackDoubleHdf5ArrayOfValues (double const *values, uint64_t const *numValues, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr)
 Adds an nd array of explicit double values to the property values.
 
void pushBackFloatHdf5Array1dOfValues (const float *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy=nullptr)
 
void pushBackFloatHdf5Array2dOfValues (const float *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr)
 
void pushBackFloatHdf5Array3dOfValues (const float *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr)
 
void pushBackFloatHdf5ArrayOfValues (float const *values, uint64_t const *numValues, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr)
 
virtual std::string pushBackRefToExistingFloatingPointDataset (eml2::AbstractHdfProxy *proxy, const std::string &datasetName="")
 
void getDoubleValuesOfPatch (uint64_t patchIndex, double *values) const
 
void getFloatValuesOfPatch (uint64_t patchIndex, float *values) const
 
void getFloatValuesOfPatch (uint64_t patchIndex, float *values, uint64_t const *numValuesInEachDimension, uint64_t const *offsetInEachDimension, unsigned int numArrayDimensions) const
 
void getFloatValuesOf3dPatch (uint64_t patchIndex, float *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim) const
 
- Public Member Functions inherited from resqml2::AbstractProperty
virtual ~AbstractProperty ()=default
 
void setRepresentation (AbstractRepresentation *rep)
 
common::DataObjectReference getRepresentationDor () const
 
AbstractRepresentationgetRepresentation () const
 
unsigned int getElementCountPerValue () const
 
gsoap_eml2_3::eml23__IndexableElement getAttachmentKind () const
 
uint64_t getValuesCountOfPatch (unsigned int patchIndex) const
 
std::vector< resqml2_0_1::PropertySet * > getPropertySets () const
 
uint64_t getPropertySetCount () const
 
resqml2_0_1::PropertySetgetPropertySet (uint64_t index) const
 
void setLocalCrs (eml2::AbstractLocal3dCrs *crs)
 
eml2::AbstractLocal3dCrsgetLocalCrs () const
 
common::DataObjectReference getLocalCrsDor () const
 
bool hasRealizationIndices () const
 
std::vector< unsigned int > getRealizationIndices () const
 
void setRealizationIndices (int64_t startRealizationIndex, int64_t countRealizationIndices)
 
void setRealizationIndices (const std::vector< unsigned int > &realizationIndices, eml2::AbstractHdfProxy *hdfProxy=nullptr)
 Sets the realization indices of this property.
 
void setTimeSeries (eml2::TimeSeries *ts)
 
void setSingleTimestamp (time_t timestamp, LONG64 yearOffset=0)
 
time_t getSingleTimestamp () const
 
eml2::TimeSeriesgetTimeSeries () const
 
common::DataObjectReference getTimeSeriesDor () const
 
bool useInterval () const
 
bool isAssociatedToOneStandardEnergisticsPropertyKind () const
 
std::string getPropertyKindDescription () const
 
std::string getPropertyKindAsString () const
 
std::string getPropertyKindParentAsString () const
 
void setPropertyKind (eml2::PropertyKind *propKind)
 
common::DataObjectReference getPropertyKindDor () const
 
eml2::PropertyKindgetPropertyKind () const
 
bool validate ()
 
- Public Member Functions inherited from common::AbstractObject
bool isPartial () const
 
virtual bool isTopLevelElement () const
 
std::string getUuid () const
 
std::string getTitle () const
 
std::string getEditor () const
 
time_t getCreation () const
 
tm getCreationAsTimeStructure () const
 
std::string getOriginator () const
 
std::string getDescription () const
 
time_t getLastUpdate () const
 
tm getLastUpdateAsTimeStructure () const
 
std::string getFormat () const
 
std::string getDescriptiveKeywords () const
 
std::string getVersion () const
 
void setTitle (const std::string &title)
 
void setEditor (const std::string &editor)
 
void setCreation (time_t creation)
 
void setCreation (const tm &creation)
 
void setOriginator (const std::string &originator)
 
void setDescription (const std::string &description)
 
void setLastUpdate (time_t lastUpdate)
 
void setLastUpdate (const tm &lastUpdate)
 
void setDescriptiveKeywords (const std::string &descriptiveKeywords)
 
void setVersion (const std::string &version)
 
void setMetadata (const std::string &title, const std::string &editor, time_t creation, const std::string &originator, const std::string &description, time_t lastUpdate, const std::string &descriptiveKeywords)
 
void serializeIntoStream (std::ostream *stream)
 
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * getEml20GsoapProxy () const
 
void setGsoapProxy (gsoap_resqml2_0_1::eml20__AbstractCitedDataObject *gsoapProxy)
 
gsoap_eml2_3::eml23__AbstractObject * getEml23GsoapProxy () const
 
void setGsoapProxy (gsoap_eml2_3::eml23__AbstractObject *gsoapProxy)
 
soap * getGsoapContext () const
 
int getGsoapType () const
 
gsoap_resqml2_0_1::eml20__DataObjectReference * newResqmlReference () const
 
gsoap_eml2_3::eml23__DataObjectReference * newEml23Reference () const
 
gsoap_resqml2_0_1::resqml20__ContactElementReference * newContactElementReference2_0_1 () const
 
gsoap_eml2_3::resqml22__ContactElement * newContactElementReference2_2 () const
 
common::DataObjectRepositorygetRepository () const
 
virtual std::string getXmlNamespaceVersion () const
 
virtual std::string getContentType () const
 
virtual std::string getQualifiedType () const
 
virtual std::string getPartNameInEpcDocument () const
 
std::string serializeIntoString ()
 
void addAlias (const std::string &authority, const std::string &title)
 
uint64_t getAliasCount () const
 
std::string getAliasAuthorityAtIndex (uint64_t index) const
 
std::string getAliasTitleAtIndex (uint64_t index) const
 
std::vector< eml2::Activity * > getActivitySet () const
 
uint64_t getActivityCount () const
 
eml2::ActivitygetActivity (uint64_t index) const
 
void pushBackExtraMetadata (const std::string &key, const std::string &value)
 
std::unordered_map< std::string, std::string > getExtraMetadataSet () const
 
std::vector< std::string > getExtraMetadata (const std::string &key) const
 
unsigned int getExtraMetadataCount () const
 
std::string getExtraMetadataKeyAtIndex (unsigned int index) const
 
std::string getExtraMetadataStringValueAtIndex (unsigned int index) const
 
std::string buildEtp12Uri () const
 
void setUriSource (const std::string &uriSource)
 
const std::string & getUriSource () const
 
std::string getEpcSourceFolder () const
 
void changeToPartialObject ()
 

Static Public Attributes

static const char * XML_NS
 
- Static Public Attributes inherited from resqml2::CategoricalProperty
static const char * XML_TAG
 

Additional Inherited Members

- Public Types inherited from common::AbstractObject
enum class  numericalDatatypeEnum {
  UNKNOWN = 0 , DOUBLE = 1 , FLOAT = 2 , INT64 = 3 ,
  UINT64 = 4 , INT32 = 5 , UINT32 = 6 , INT16 = 7 ,
  UINT16 = 8 , INT8 = 9 , UINT8 = 10
}
 
- Static Public Member Functions inherited from common::AbstractObject
static void setFormat (const std::string &vendor, const std::string &applicationName, const std::string &applicationVersionNumber)
 

Detailed Description

Proxy class for a categorical property. It contains discrete integers. This type of property is associated either: as an internally stored index to a string through a lookup mapping, or as an internally stored double to another double value through an explicitly provided table.

Constructor & Destructor Documentation

◆ CategoricalProperty() [1/6]

resqml2_0_1::CategoricalProperty::CategoricalProperty ( gsoap_resqml2_0_1::eml20__DataObjectReference * partialObject)
inline

Only to be used in partial transfer context

Parameters
[in]partialObjectIf non-null, the partial object.

◆ CategoricalProperty() [2/6]

resqml2_0_1::CategoricalProperty::CategoricalProperty ( resqml2::AbstractRepresentation * rep,
const std::string & guid,
const std::string & title,
unsigned int dimension,
gsoap_eml2_3::eml23__IndexableElement attachmentKind,
resqml2::StringTableLookup * strLookup,
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind )

Creates a categorical property which is of an Energistics standard property kind

Exceptions
std::invalid_argumentIf rep or strLookup is null.
Parameters
[in]repThe representation on which this property is attached to. It cannot be null.
guidThe guid to set to the property. If empty then a new guid will be generated.
titleThe title to set to the property. If empty then "unknown" title will be set.
dimensionThe dimension of each value of this property. Dimension is 1 for a scalar property.
attachmentKindThe topological element on which the property values are attached to.
[in]strLookupThe string lookup which defines the possible string values and their keys. It cannot be null.
[in]energisticsPropertyKindThe property kind of these property values which must be defined in the standard Energistics property type dictionary.

◆ CategoricalProperty() [3/6]

resqml2_0_1::CategoricalProperty::CategoricalProperty ( resqml2::AbstractRepresentation * rep,
const std::string & guid,
const std::string & title,
unsigned int dimension,
gsoap_eml2_3::eml23__IndexableElement attachmentKind,
resqml2::DoubleTableLookup * dblLookup,
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind )

Creates a categorical property which is of an Energistics standard property kind

Exceptions
std::invalid_argumentIf rep or strLookup is null.
Parameters
[in]repThe representation on which this property is attached to. It cannot be null.
guidThe guid to set to the property. If empty then a new guid will be generated.
titleThe title to set to the property. If empty then "unknown" title will be set.
dimensionThe dimension of each value of this property. Dimension is 1 for a scalar property.
attachmentKindThe topological element on which the property values are attached to.
[in]dblLookupThe double table lookup which associate a discrete function to the property values.
[in]energisticsPropertyKindThe property kind of these property values which must be defined in the standard Energistics property type dictionary.

◆ CategoricalProperty() [4/6]

resqml2_0_1::CategoricalProperty::CategoricalProperty ( resqml2::AbstractRepresentation * rep,
const std::string & guid,
const std::string & title,
unsigned int dimension,
gsoap_eml2_3::eml23__IndexableElement attachmentKind,
resqml2::StringTableLookup * strLookup,
eml2::PropertyKind * localPropKind )

Creates a categorical property which is of a local property kind

Exceptions
std::invalid_argumentIf rep, strLookup or localPropKind is null.
Parameters
[in]repThe representation on which this property is attached to. It cannot be null.
guidThe guid to set to the property. If empty then a new guid will be generated.
titleThe title to set to the property. If empty then "unknown" title will be set.
dimensionThe dimension of each value of this property. Dimension is 1 for a scalar property.
attachmentKindThe topological element on which the property values are attached to.
[in]strLookupThe string lookup which defines the possible string values and their keys. It cannot be null.
[in]localPropKindThe property kind of these property values which must be defined in the EPC document as a local property kind. It cannot be null.

◆ CategoricalProperty() [5/6]

resqml2_0_1::CategoricalProperty::CategoricalProperty ( resqml2::AbstractRepresentation * rep,
const std::string & guid,
const std::string & title,
unsigned int dimension,
gsoap_eml2_3::eml23__IndexableElement attachmentKind,
resqml2::DoubleTableLookup * dblLookup,
eml2::PropertyKind * localPropKind )

Creates a categorical property which is of a local property kind

Exceptions
std::invalid_argumentIf rep, strLookup or localPropKind is null.
Parameters
[in]repThe representation on which this property is attached to. It cannot be null.
guidThe guid to set to the property. If empty then a new guid will be generated.
titleThe title to set to the property. If empty then "unknown" title will be set.
dimensionThe dimension of each value of this property. Dimension is 1 for a scalar property.
attachmentKindThe topological element on which the property values are attached to.
[in]dblLookupThe double table lookup which associate a discrete function to the property values.
[in]localPropKindThe property kind of these property values which must be defined in the EPC document as a local property kind. It cannot be null.

◆ CategoricalProperty() [6/6]

resqml2_0_1::CategoricalProperty::CategoricalProperty ( gsoap_resqml2_0_1::_resqml20__CategoricalProperty * fromGsoap)
inline

Creates an instance of this class by wrapping a gSOAP instance

Parameters
[in]fromGsoapIf non-null, the gSOAP instance.

◆ ~CategoricalProperty()

resqml2_0_1::CategoricalProperty::~CategoricalProperty ( )
virtualdefault

Destructor does nothing since the memory is managed by the gsoap context.

Reimplemented from resqml2::CategoricalProperty.

Member Function Documentation

◆ getEnergisticsPropertyKind()

gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind resqml2_0_1::CategoricalProperty::getEnergisticsPropertyKind ( ) const

Gets the Energistics property kind which is associated to this intance

Exceptions
std::invalid_argumentIf the property kind of this property is not an Energistics one.
Returns
The Energistics property kind.

◆ getLookupDor()

common::DataObjectReference resqml2_0_1::CategoricalProperty::getLookupDor ( ) const
finalvirtual

Gets the DOR of the lookup which is associated to this categorical property values.

Returns
The DOR of the lookup which is associated to this categorical property.

Implements resqml2::CategoricalProperty.

◆ getXmlNamespace()

std::string resqml2_0_1::CategoricalProperty::getXmlNamespace ( ) const
inlinefinalvirtual

Get the standard XML namespace for serializing this data object.

Implements common::AbstractObject.

◆ validatePropertyKindAssociation() [1/2]

bool resqml2_0_1::CategoricalProperty::validatePropertyKindAssociation ( eml2::PropertyKind * pk)
finalvirtual

Check if the associated local property kind is allowed for this property.

Implements resqml2::AbstractProperty.

◆ validatePropertyKindAssociation() [2/2]

bool resqml2_0_1::CategoricalProperty::validatePropertyKindAssociation ( gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind pk)
finalvirtual

Check if the associated standard property kind is allowed for this property.

Implements resqml2::AbstractProperty.

Member Data Documentation

◆ XML_NS

const char* resqml2_0_1::CategoricalProperty::XML_NS
static

The standard XML namespace for serializing this data object.


The documentation for this class was generated from the following file: