My Project
|
Public Member Functions | |
ContinuousProperty (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject) | |
ContinuousProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, const unsigned int &dimension, const gsoap_resqml2_0_1::resqml2__IndexableElements &attachmentKind, const gsoap_resqml2_0_1::resqml2__ResqmlUom &uom, const gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind &energisticsPropertyKind) | |
ContinuousProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, const unsigned int &dimension, const gsoap_resqml2_0_1::resqml2__IndexableElements &attachmentKind, const gsoap_resqml2_0_1::resqml2__ResqmlUom &uom, resqml2::PropertyKind *localPropKind) | |
ContinuousProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, const unsigned int &dimension, const gsoap_resqml2_0_1::resqml2__IndexableElements &attachmentKind, const std::string &nonStandardUom, const gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind &energisticsPropertyKind) | |
ContinuousProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, const unsigned int &dimension, const gsoap_resqml2_0_1::resqml2__IndexableElements &attachmentKind, const std::string &nonStandardUom, resqml2::PropertyKind *localPropKind) | |
ContinuousProperty (gsoap_resqml2_0_1::_resqml2__ContinuousProperty *fromGsoap) | |
virtual | ~ContinuousProperty () |
virtual std::string | getXmlTag () const |
const gsoap_resqml2_0_1::resqml2__ResqmlUom & | getUom () const |
std::string | getUomAsString () const |
void | pushBackDoubleHdf5Array1dOfValues (double *values, const ULONG64 &valueCount, common::AbstractHdfProxy *proxy, const double &minimumValue=std::numeric_limits< double >::quiet_NaN(), const double &maximumValue=std::numeric_limits< double >::quiet_NaN()) |
void | pushBackDoubleHdf5Array2dOfValues (double *values, const ULONG64 &valueCountInFastestDim, const ULONG64 &valueCountInSlowestDim, common::AbstractHdfProxy *proxy, const double &minimumValue=std::numeric_limits< double >::quiet_NaN(), const double &maximumValue=std::numeric_limits< double >::quiet_NaN()) |
void | pushBackDoubleHdf5Array3dOfValues (double *values, const ULONG64 &valueCountInFastestDim, const ULONG64 &valueCountInMiddleDim, const ULONG64 &valueCountInSlowestDim, common::AbstractHdfProxy *proxy, const double &minimumValue=std::numeric_limits< double >::quiet_NaN(), const double &maximumValue=std::numeric_limits< double >::quiet_NaN()) |
void | pushBackDoubleHdf5ArrayOfValues (double *values, unsigned long long *numValues, const unsigned int &numArrayDimensions, common::AbstractHdfProxy *proxy, double *minimumValue=nullptr, double *maximumValue=nullptr) |
void | pushBackFloatHdf5Array1dOfValues (float *values, const ULONG64 &valueCount, common::AbstractHdfProxy *proxy, const float &minimumValue=std::numeric_limits< float >::quiet_NaN(), const float &maximumValue=std::numeric_limits< float >::quiet_NaN()) |
void | pushBackFloatHdf5Array2dOfValues (float *values, const ULONG64 &valueCountInFastestDim, const ULONG64 &valueCountInSlowestDim, common::AbstractHdfProxy *proxy, const float &minimumValue=std::numeric_limits< float >::quiet_NaN(), const float &maximumValue=std::numeric_limits< float >::quiet_NaN()) |
void | pushBackFloatHdf5Array3dOfValues (float *values, const ULONG64 &valueCountInFastestDim, const ULONG64 &valueCountInMiddleDim, const ULONG64 &valueCountInSlowestDim, common::AbstractHdfProxy *proxy, const float &minimumValue=std::numeric_limits< float >::quiet_NaN(), const float &maximumValue=std::numeric_limits< float >::quiet_NaN()) |
void | pushBackFloatHdf5ArrayOfValues (float *values, unsigned long long *numValues, const unsigned int &numArrayDimensions, common::AbstractHdfProxy *proxy, float *minimumValue=nullptr, float *maximumValue=nullptr) |
void | pushBackFloatHdf5ArrayOfValues (unsigned long long *numValues, const unsigned int &numArrayDimensions, common::AbstractHdfProxy *proxy) |
void | pushBackFloatHdf5ArrayOfValues (const ULONG64 &valueCountInFastestDim, const ULONG64 &valueCountInMiddleDim, const ULONG64 &valueCountInSlowestDim, common::AbstractHdfProxy *proxy) |
void | setValuesOfFloatHdf5ArrayOfValues (float *values, const ULONG64 &valueCountInFastestDim, const ULONG64 &valueCountInMiddleDim, const ULONG64 &valueCountInSlowestDim, const ULONG64 &offsetInFastestDim, const ULONG64 &offsetInMiddleDim, const ULONG64 &offsetInSlowestDim, common::AbstractHdfProxy *proxy, unsigned int patchIndex=(std::numeric_limits< unsigned int >::max)()) |
void | setValuesOfFloatHdf5ArrayOfValues (float *values, unsigned long long *numValues, unsigned long long *offsetValues, const unsigned int &numArrayDimensions, common::AbstractHdfProxy *proxy, unsigned int patchIndex=(std::numeric_limits< unsigned int >::max)()) |
std::string | pushBackRefToExistingDataset (common::AbstractHdfProxy *hdfProxy, const std::string &datasetName="", const long &nullValue=(std::numeric_limits< long >::max)()) |
void | getDoubleValuesOfPatch (const unsigned int &patchIndex, double *values) |
void | getFloatValuesOfPatch (const unsigned int &patchIndex, float *values) |
void | getFloatValuesOfPatch (const unsigned int &patchIndex, float *values, unsigned long long *numValuesInEachDimension, unsigned long long *offsetInEachDimension, const unsigned int &numArrayDimensions) |
void | getFloatValuesOf3dPatch (const unsigned int &patchIndex, float *values, const ULONG64 &valueCountInFastestDim, const ULONG64 &valueCountInMiddleDim, const ULONG64 &valueCountInSlowestDim, const ULONG64 &offsetInFastestDim, const ULONG64 &offsetInMiddleDim, const ULONG64 &offsetInSlowestDim) |
double | getMinimumValue () |
double | getMaximumValue () |
bool | validatePropertyKindAssociation (resqml2::PropertyKind *pk) |
bool | validatePropertyKindAssociation (const gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind &pk) |
Public Member Functions inherited from resqml2::AbstractValuesProperty | |
AbstractValuesProperty (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject) | |
AbstractValuesProperty () | |
AbstractValuesProperty (gsoap_resqml2_0_1::resqml2__AbstractValuesProperty *fromGsoap) | |
virtual | ~AbstractValuesProperty () |
unsigned int | getPatchCount () const |
AbstractValuesProperty::hdfDatatypeEnum | getValuesHdfDatatype () const |
long | getLongValuesOfPatch (const unsigned int &patchIndex, long *values) |
long | getNullValueOfPatch (const unsigned int &patchIndex) |
unsigned long | getULongValuesOfPatch (const unsigned int &patchIndex, unsigned long *values) |
int | getIntValuesOfPatch (const unsigned int &patchIndex, int *values) |
int | getIntValuesOfPatch (const unsigned int &patchIndex, int *values, unsigned long long *numValuesInEachDimension, unsigned long long *offsetInEachDimension, const unsigned int &numArrayDimensions) |
void | getIntValuesOf3dPatch (const unsigned int &patchIndex, int *values, const unsigned int &valueCountInFastestDim, const unsigned int &valueCountInMiddleDim, const unsigned int &valueCountInSlowestDim, const unsigned int &offsetInFastestDim, const unsigned int &offsetInMiddleDim, const unsigned int &offsetInSlowestDim) |
unsigned int | getUIntValuesOfPatch (const unsigned int &patchIndex, unsigned int *values) |
short | getShortValuesOfPatch (const unsigned int &patchIndex, short *values) |
unsigned short | getUShortValuesOfPatch (const unsigned int &patchIndex, unsigned short *values) |
char | getCharValuesOfPatch (const unsigned int &patchIndex, char *values) |
unsigned char | getUCharValuesOfPatch (const unsigned int &patchIndex, unsigned char *values) |
unsigned int | getValuesCountOfPatch (const unsigned int &patchIndex) |
unsigned int | getValuesCountOfDimensionOfPatch (const unsigned int &dimIndex, const unsigned int &patchIndex) |
unsigned int | getDimensionsCountOfPatch (const unsigned int &patchIndex) |
void | pushBackFacet (const gsoap_resqml2_0_1::resqml2__Facet &facet, const std::string &facetValue) |
unsigned int | getFacetCount () const |
gsoap_resqml2_0_1::resqml2__Facet | getFacet (const unsigned int &index) const |
std::string | getFacetValue (const unsigned int &index) const |
void | createLongHdf5ArrayOfValues (unsigned long long *numValues, const unsigned int &numArrayDimensions, common::AbstractHdfProxy *proxy) |
void | createLongHdf5Array3dOfValues (const unsigned int &valueCountInFastestDim, const unsigned int &valueCountInMiddleDim, const unsigned int &valueCountInSlowestDim, common::AbstractHdfProxy *proxy) |
void | pushBackLongHdf5SlabArray3dOfValues (long *values, const unsigned int &valueCountInFastestDim, const unsigned int &valueCountInMiddleDim, const unsigned int &valueCountInSlowestDim, const unsigned int &offsetInFastestDim, const unsigned int &offsetInMiddleDim, const unsigned int &offsetInSlowestDim, common::AbstractHdfProxy *proxy) |
void | pushBackLongHdf5SlabArrayOfValues (long *values, unsigned long long *numValues, unsigned long long *offsetValues, const unsigned int &numArrayDimensions, common::AbstractHdfProxy *proxy) |
void | getLongValuesOfPatch (const unsigned int &patchIndex, long *values, unsigned long long *numValuesInEachDimension, unsigned long long *offsetInEachDimension, const unsigned int &numArrayDimensions) |
void | getLongValuesOf3dPatch (const unsigned int &patchIndex, long *values, const unsigned int &valueCountInFastestDim, const unsigned int &valueCountInMiddleDim, const unsigned int &valueCountInSlowestDim, const unsigned int &offsetInFastestDim, const unsigned int &offsetInMiddleDim, const unsigned int &offsetInSlowestDim) |
Public Member Functions inherited from resqml2::AbstractProperty | |
AbstractProperty (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject) | |
AbstractProperty () | |
AbstractProperty (gsoap_resqml2_0_1::resqml2__AbstractProperty *fromGsoap) | |
virtual | ~AbstractProperty () |
void | setRepresentation (class AbstractRepresentation *rep) |
gsoap_resqml2_0_1::eml20__DataObjectReference * | getRepresentationDor () const |
class AbstractRepresentation * | getRepresentation () const |
std::string | getRepresentationUuid () const |
std::string | getRepresentationTitle () const |
std::string | getRepresentationContentType () const |
void | setTimeSeries (class TimeSeries *ts) |
TimeSeries * | getTimeSeries () const |
gsoap_resqml2_0_1::eml20__DataObjectReference * | getTimeSeriesDor () const |
std::string | getTimeSeriesUuid () const |
std::string | getTimeSeriesTitle () const |
void | setTimeIndex (const unsigned int &timeIndex, class TimeSeries *ts) |
void | setTimeStep (const unsigned int &timeStep) |
time_t | getTimestamp () const |
unsigned int | getTimeIndex () const |
void | setHdfProxy (common::AbstractHdfProxy *proxy) |
common::AbstractHdfProxy * | getHdfProxy () const |
std::string | getHdfProxyUuid () const |
unsigned int | getElementCountPerValue () const |
gsoap_resqml2_0_1::resqml2__IndexableElements | getAttachmentKind () const |
bool | isAssociatedToOneStandardEnergisticsPropertyKind () const |
std::string | getPropertyKindDescription () const |
std::string | getPropertyKindAsString () const |
std::string | getPropertyKindParentAsString () const |
gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind | getEnergisticsPropertyKind () const |
void | setLocalPropertyKind (class PropertyKind *propKind) |
gsoap_resqml2_0_1::eml20__DataObjectReference * | getLocalPropertyKindDor () const |
std::string | getLocalPropertyKindUuid () const |
std::string | getLocalPropertyKindTitle () const |
class PropertyKind * | getLocalPropertyKind () const |
Public Member Functions inherited from common::AbstractObject | |
bool | isPartial () const |
std::string | getUuid () const |
std::string | getTitle () const |
std::string | getEditor () const |
time_t | getCreation () const |
std::string | getOriginator () const |
std::string | getDescription () const |
time_t | getLastUpdate () const |
std::string | getFormat () const |
std::string | getDescriptiveKeywords () const |
void | setTitle (const std::string &title) |
void | setEditor (const std::string &editor) |
void | setCreation (const time_t &creation) |
void | setOriginator (const std::string &originator) |
void | setDescription (const std::string &description) |
void | setLastUpdate (const time_t &lastUpdate) |
void | setFormat (const std::string &format) |
void | setDescriptiveKeywords (const std::string &descriptiveKeywords) |
void | setMetadata (const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords) |
void | serializeIntoStream (std::ostream *stream) |
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * | getGsoapProxy () const |
soap * | getGsoapContext () const |
int | getGsoapType () const |
gsoap_resqml2_0_1::eml20__DataObjectReference * | newResqmlReference () const |
gsoap_eml2_1::eml21__DataObjectReference * | newEmlReference () const |
gsoap_resqml2_0_1::resqml2__ContactElementReference * | newResqmlContactElementReference () const |
common::EpcDocument * | getEpcDocument () const |
virtual std::string | getXmlNamespace () const |
virtual std::string | getResqmlVersion () const |
virtual std::string | getContentType () const |
virtual std::string | getPartNameInEpcDocument () const |
std::string | serializeIntoString () |
void | addAlias (const std::string &authority, const std::string &title) |
unsigned int | getAliasCount () const |
std::string | getAliasAuthorityAtIndex (const unsigned int &index) const |
std::string | getAliasTitleAtIndex (const unsigned int &index) const |
const std::vector< resqml2::Activity * > & | getActivitySet () const |
unsigned int | getActivityCount () const |
resqml2::Activity * | getActivity (const unsigned int &index) const |
void | pushBackExtraMetadata (const std::string &key, const std::string &value) |
std::tr1::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 (const unsigned int &index) const |
std::string | getExtraMetadataStringValueAtIndex (const unsigned int &index) const |
Static Public Attributes | |
static const char * | XML_TAG = "ContinuousProperty" |
Protected Member Functions | |
ContinuousProperty () | |
Protected Member Functions inherited from resqml2::AbstractValuesProperty | |
std::string | getPathInHdfFileOfPatch (const unsigned int &patchIndex, LONG64 &nullValue) const |
std::string | pushBackRefToExistingIntegerDataset (common::AbstractHdfProxy *hdfProxy, const std::string &datasetName="", const long &nullValue=(std::numeric_limits< long >::max)()) |
Protected Member Functions inherited from resqml2::AbstractProperty | |
void | setXmlRepresentation (class AbstractRepresentation *rep) |
void | setXmlTimeSeries (TimeSeries *ts) |
void | setXmlLocalPropertyKind (class PropertyKind *propKind) |
virtual std::vector< epc::Relationship > | getAllEpcRelationships () const |
virtual void | importRelationshipSetFromEpc (common::EpcDocument *epcDoc) |
Protected Member Functions inherited from common::AbstractObject | |
AbstractObject () | |
Indicate whether methods update the XML (gSoap) or only the C++ classes of the API. | |
AbstractObject (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject) | |
AbstractObject (gsoap_resqml2_0_1::eml20__AbstractCitedDataObject *proxy) | |
AbstractObject (gsoap_eml2_1::eml21__AbstractObject *proxy) | |
void | initMandatoryMetadata () |
void | setMetadata (const std::string &guid, const std::string &title, const std::string &editor, const time_t &creation, const std::string &originator, const std::string &description, const time_t &lastUpdate, const std::string &format, const std::string &descriptiveKeywords) |
void | cannotBePartial () const |
void | changeToPartialObject () |
Additional Inherited Members | |
Public Types inherited from resqml2::AbstractValuesProperty | |
enum | hdfDatatypeEnum { UNKNOWN = 0, DOUBLE = 1, FLOAT = 2, LONG = 3, ULONG = 4, INT = 5, UINT = 6, SHORT = 7, USHORT = 8, CHAR = 9, UCHAR = 10 } |
Protected Types inherited from common::AbstractObject | |
enum | EmlVersion { TWO_DOT_ZERO = 0, TWO_DOT_ONE = 1 } |
Static Protected Member Functions inherited from common::AbstractObject | |
static void | addActivityToResqmlObject (resqml2::Activity *activity, AbstractObject *resqmlObject) |
Protected Attributes inherited from resqml2::AbstractProperty | |
class AbstractLocal3dCrs * | local3dCrs |
Protected Attributes inherited from common::AbstractObject | |
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * | gsoapProxy2_0_1 |
gsoap_eml2_1::eml21__AbstractObject * | gsoapProxy2_1 |
common::EpcDocument * | epcDocument |
std::vector< resqml2::Activity * > | activitySet |
bool | updateXml |
|
inlineprotected |
Default constructor
|
inline |
Only to be used in partial transfer context
resqml2_0_1::ContinuousProperty::ContinuousProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
const unsigned int & | dimension, | ||
const gsoap_resqml2_0_1::resqml2__IndexableElements & | attachmentKind, | ||
const gsoap_resqml2_0_1::resqml2__ResqmlUom & | uom, | ||
const gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind & | energisticsPropertyKind | ||
) |
Creates an instance of this class in a gsoap context based on a standard kind and a standard uom.
rep | The representation which supports these property values. |
guid | The guid to set to the fault. If empty then a new guid will be generated. |
title | A title for the instance to create. |
dimension | The dimension of each value (scalar properties == 1). |
attachmentKind | The topological orbit which supports each value. |
uom | The uom of the values. Please check EpcDocument::getEnergisticsUnitOfMeasure(const std::string & energisticsUomName) in order to minimize the use of non standard uom. |
energisticsPropertyKind | The property kind of these property values which must be defined in the standard energistics property type dictionary. |
resqml2_0_1::ContinuousProperty::ContinuousProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
const unsigned int & | dimension, | ||
const gsoap_resqml2_0_1::resqml2__IndexableElements & | attachmentKind, | ||
const gsoap_resqml2_0_1::resqml2__ResqmlUom & | uom, | ||
resqml2::PropertyKind * | localPropKind | ||
) |
Creates an instance of this class in a gsoap context based on a local kind and a standard uom.
rep | The representation which supports these property values. |
guid | The guid to set to the fault. If empty then a new guid will be generated. |
title | A title for the instance to create. |
dimension | The dimension of each value (scalar properties == 1). |
attachmentKind | The topological orbit which supports each value. |
uom | The uom of the values. Please check EpcDocument::getEnergisticsUnitOfMeasure(const std::string & energisticsUomName) in order to minimize the use of non standard uom. |
localPropType | The property kind of these property values which must be defined in the EPC document as a local property kind. |
resqml2_0_1::ContinuousProperty::ContinuousProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
const unsigned int & | dimension, | ||
const gsoap_resqml2_0_1::resqml2__IndexableElements & | attachmentKind, | ||
const std::string & | nonStandardUom, | ||
const gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind & | energisticsPropertyKind | ||
) |
Creates an instance of this class in a gsoap context based on a standard kind and a local uom.
rep | The representation which supports these property values. |
guid | The guid to set to the fault. If empty then a new guid will be generated. |
title | A title for the instance to create. |
dimension | The dimension of each value (scalar properties == 1). |
attachmentKind | The topological orbit which supports each value. |
nonStandardUom | The non standard uom of the values. Please check EpcDocument::getEnergisticsUnitOfMeasure(const std::string & energisticsUomName) in order to minimize the use of non standard uom. |
energisticsPropertyKind | The property kind of these property values which must be defined in the standard energistics property type dictionary. |
resqml2_0_1::ContinuousProperty::ContinuousProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
const unsigned int & | dimension, | ||
const gsoap_resqml2_0_1::resqml2__IndexableElements & | attachmentKind, | ||
const std::string & | nonStandardUom, | ||
resqml2::PropertyKind * | localPropKind | ||
) |
Creates an instance of this class in a gsoap context based on a local kind and a local uom.
rep | The representation which supports these property values. |
guid | The guid to set to the fault. If empty then a new guid will be generated. |
title | A title for the instance to create. |
dimension | The dimension of each value (scalar properties == 1). |
attachmentKind | The topological orbit which supports each value. |
nonStandardUom | The non standard uom of the values. Please check EpcDocument::getEnergisticsUnitOfMeasure(const std::string & energisticsUomName) in order to minimize the use of non standard uom. |
localPropType | The property kind of these property values which must be defined in the EPC document as a local property kind. |
|
inline |
Creates an instance of this class by wrapping a gsoap instance.
|
inlinevirtual |
Destructor does nothing since the memory is managed by the gsoap context.
void ContinuousProperty::getDoubleValuesOfPatch | ( | const unsigned int & | patchIndex, |
double * | values | ||
) |
Get all the values of a particular patch of the instance which are supposed to be double ones.
patchIndex | The index of the patch we want the values from. |
values | The array (pointer) of values must be preallocated. |
void ContinuousProperty::getFloatValuesOf3dPatch | ( | const unsigned int & | patchIndex, |
float * | values, | ||
const ULONG64 & | valueCountInFastestDim, | ||
const ULONG64 & | valueCountInMiddleDim, | ||
const ULONG64 & | valueCountInSlowestDim, | ||
const ULONG64 & | offsetInFastestDim, | ||
const ULONG64 & | offsetInMiddleDim, | ||
const ULONG64 & | offsetInSlowestDim | ||
) |
Get some of the values of a particular patch of the instance which are supposed to be float ones. This method makes use of HDF5 hyperslabbing.
patchIndex | The index of the patch we want the values from. |
values | The array (pointer) of values must be preallocated. |
valueCountInFastestDim | The number of values to read in the fastest dimension (mainly I dimension). |
valueCountInMiddleDim | The number of values to read in the middle dimension (mainly J dimension). |
valueCountInSlowestDim | The number of values to read in the slowest dimension (mainly K dimension). |
offsetInFastestDim | The offset value to read in the fastest dimension (mainly I dimension). |
offsetInMiddleDim | The offset value to read in the middle dimension (mainly J dimension). |
offsetInSlowestDim | The offset value to read in the slowest dimension (mainly K dimension). |
void ContinuousProperty::getFloatValuesOfPatch | ( | const unsigned int & | patchIndex, |
float * | values | ||
) |
Get all the values of a particular patch of the instance which are supposed to be float ones.
patchIndex | The index of the patch we want the values from. |
values | The array (pointer) of values must be preallocated. |
void ContinuousProperty::getFloatValuesOfPatch | ( | const unsigned int & | patchIndex, |
float * | values, | ||
unsigned long long * | numValuesInEachDimension, | ||
unsigned long long * | offsetInEachDimension, | ||
const unsigned int & | numArrayDimensions | ||
) |
Get some of the values of a particular patch of the instance which are supposed to be float ones. This method makes use of HDF5 hyperslabbing.
patchIndex | The index of the patch we want the values from. |
values | The array (pointer) of values must be preallocated. |
numValuesInEachDimension | The number of property values ordered by dimension of the array to write. |
offsetInEachDimension | The offset values ordered by dimension of the array to write. |
numArrayDimensions | The number of dimensions of the HDF5 array to read. |
const gsoap_resqml2_0_1::resqml2__ResqmlUom & ContinuousProperty::getUom | ( | ) | const |
Get the unit of measure of the values of this property. If 'Euc' is returned, you should check if an extrametadata called "Uom" also exists. If so, it would mean that the property uses a non standard uom. This is an official workaround for a known issue of Resqml 2.0.1.
std::string ContinuousProperty::getUomAsString | ( | ) | const |
Get the unit of measure of the values of this property as a string. If 'Euc' is returned, you should check if an extrametadata called "Uom" also exists. If so, it would mean that the property uses a non standard uom. This is an official workaround for a known issue of Resqml 2.0.1.
|
inlinevirtual |
Get the XML tag for the XML serialization of this instance
Implements common::AbstractObject.
Reimplemented in resqml2_0_1::ContinuousPropertySeries.
void ContinuousProperty::pushBackDoubleHdf5Array1dOfValues | ( | double * | values, |
const ULONG64 & | valueCount, | ||
common::AbstractHdfProxy * | proxy, | ||
const double & | minimumValue = std::numeric_limits<double>::quiet_NaN() , |
||
const double & | maximumValue = std::numeric_limits<double>::quiet_NaN() |
||
) |
Add a 1d array of explicit double values to the property values.
values | All the property values to set ordered according the topology of the representation it is based on. |
valueCount | The number of values to write. |
proxy | The HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method. |
minimumValue | The minimum value of the values to add. If NAN is provided then the minimum value will be computed from the values. |
maximumValue | The maximum value of the values to add. If NAN is provided then the maximum value will be computed from the values. |
void ContinuousProperty::pushBackDoubleHdf5Array2dOfValues | ( | double * | values, |
const ULONG64 & | valueCountInFastestDim, | ||
const ULONG64 & | valueCountInSlowestDim, | ||
common::AbstractHdfProxy * | proxy, | ||
const double & | minimumValue = std::numeric_limits<double>::quiet_NaN() , |
||
const double & | maximumValue = std::numeric_limits<double>::quiet_NaN() |
||
) |
Add a 2d array of explicit double values to the property values.
values | All the property values to set ordered according the topology of the representation it is based on. |
valueCountInFastestDim | The number of values to write in the fastest dimension (mainly I dimension). |
valueCountInSlowestDim | The number of values to write in the slowest dimension (mainly J dimension). |
proxy | The HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method. |
minimumValue | The minimum value of the values to add. If NAN is provided then the minimum value will be computed from the values. |
maximumValue | The maximum value of the values to add. If NAN is provided then the maximum value will be computed from the values. |
void ContinuousProperty::pushBackDoubleHdf5Array3dOfValues | ( | double * | values, |
const ULONG64 & | valueCountInFastestDim, | ||
const ULONG64 & | valueCountInMiddleDim, | ||
const ULONG64 & | valueCountInSlowestDim, | ||
common::AbstractHdfProxy * | proxy, | ||
const double & | minimumValue = std::numeric_limits<double>::quiet_NaN() , |
||
const double & | maximumValue = std::numeric_limits<double>::quiet_NaN() |
||
) |
Add a 3d array of explicit double values to the property values.
values | All the property values to set ordered according the topology of the representation it is based on. |
valueCountInFastestDim | The number of values to write in the fastest dimension (mainly I dimension). |
valueCountInMiddleDim | The number of values to write in the middle dimension (mainly J dimension). |
valueCountInSlowestDim | The number of values to write in the slowest dimension (mainly K dimension). |
proxy | The HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method. |
minimumValue | The minimum value of the values to add. If NAN is provided then the minimum value will be computed from the values. |
maximumValue | The maximum value of the values to add. If NAN is provided then the maximum value will be computed from the values. |
void ContinuousProperty::pushBackDoubleHdf5ArrayOfValues | ( | double * | values, |
unsigned long long * | numValues, | ||
const unsigned int & | numArrayDimensions, | ||
common::AbstractHdfProxy * | proxy, | ||
double * | minimumValue = nullptr , |
||
double * | maximumValue = nullptr |
||
) |
Add an array (potentially multi dimensions) of explicit double values to the property values.
values | All the property values to set ordered according the topology of the representation it is based on. |
numValues | The number of property values ordered by dimension of the array to write. |
numArrayDimensions | The number of dimensions of the array to write. |
proxy | The HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method. |
minimumValue | The minimum value (or value vector) of the values to add. If nullptr is provided and the dimension of value is 1 then the minimum value will be computed from the values. |
maximumValue | The maximum value (or value vector) of the values to add. If nullptr is provided and the dimension of value is 1 then the maximum value will be computed from the values. |
void ContinuousProperty::pushBackFloatHdf5Array1dOfValues | ( | float * | values, |
const ULONG64 & | valueCount, | ||
common::AbstractHdfProxy * | proxy, | ||
const float & | minimumValue = std::numeric_limits<float>::quiet_NaN() , |
||
const float & | maximumValue = std::numeric_limits<float>::quiet_NaN() |
||
) |
Add a 1d array of explicit float values to the property values.
values | All the property values to set ordered according the topology of the representation it is based on. |
valueCount | The number of values to write. |
proxy | The HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method. |
minimumValue | The minimum value of the values to add. If NAN is provided then the minimum value will be computed from the values. |
maximumValue | The maximum value of the values to add. If NAN is provided then the maximum value will be computed from the values. |
void ContinuousProperty::pushBackFloatHdf5Array2dOfValues | ( | float * | values, |
const ULONG64 & | valueCountInFastestDim, | ||
const ULONG64 & | valueCountInSlowestDim, | ||
common::AbstractHdfProxy * | proxy, | ||
const float & | minimumValue = std::numeric_limits<float>::quiet_NaN() , |
||
const float & | maximumValue = std::numeric_limits<float>::quiet_NaN() |
||
) |
Add a 2d array of explicit float values to the property values.
values | All the property values to set ordered according the topology of the representation it is based on. |
valueCountInFastestDim | The number of values to write in the slowest dimension (mainly I dimension). |
valueCountInSlowestDim | The number of values to write in the slowest dimension (mainly J dimension). |
proxy | The HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method. |
minimumValue | The minimum value of the values to add. If NAN is provided then the minimum value will be computed from the values. |
maximumValue | The maximum value of the values to add. If NAN is provided then the maximum value will be computed from the values. |
void ContinuousProperty::pushBackFloatHdf5Array3dOfValues | ( | float * | values, |
const ULONG64 & | valueCountInFastestDim, | ||
const ULONG64 & | valueCountInMiddleDim, | ||
const ULONG64 & | valueCountInSlowestDim, | ||
common::AbstractHdfProxy * | proxy, | ||
const float & | minimumValue = std::numeric_limits<float>::quiet_NaN() , |
||
const float & | maximumValue = std::numeric_limits<float>::quiet_NaN() |
||
) |
Add a 3d array of explicit float values to the property values.
values | All the property values to set ordered according the topology of the representation it is based on. |
valueCountInFastestDim | The number of values to write in the slowest dimension (mainly I dimension). |
valueCountInMiddleDim | The number of values to write in the slowest dimension (mainly J dimension). |
valueCountInSlowestDim | The number of values to write in the slowest dimension (mainly K dimension). |
proxy | The HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method. |
minimumValue | The minimum value of the values to add. If NAN is provided then the minimum value will be computed from the values. |
maximumValue | The maximum value of the values to add. If NAN is provided then the maximum value will be computed from the values. |
void ContinuousProperty::pushBackFloatHdf5ArrayOfValues | ( | float * | values, |
unsigned long long * | numValues, | ||
const unsigned int & | numArrayDimensions, | ||
common::AbstractHdfProxy * | proxy, | ||
float * | minimumValue = nullptr , |
||
float * | maximumValue = nullptr |
||
) |
Add an array (potentially multi dimensions) of explicit float values to the property values.
values | All the property values to set ordered according the topology of the representation it is based on. |
numValues | The number of property values ordered by dimension of the array to write. |
numArrayDimensions | The number of dimensions of the array to write. |
proxy | The HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method. |
minimumValue | The minimum value (or value vector) of the values to add. If nullptr is provided and the dimension of value is 1 then the minimum value will be computed from the values. |
maximumValue | The maximum value (or value vector) of the values to add. If nullptr is provided and the dimension of value is 1 then the maximum value will be computed from the values. |
void ContinuousProperty::pushBackFloatHdf5ArrayOfValues | ( | unsigned long long * | numValues, |
const unsigned int & | numArrayDimensions, | ||
common::AbstractHdfProxy * | proxy | ||
) |
Create an array (potentially multi dimensions) of explicit float values to the property values. No values are written to this array yet then the HDF5 array contains uninitialized values.
numValues | The number of property values ordered by dimension of the array to write. |
numArrayDimensions | The number of dimensions of the array to write. |
proxy | The HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method. |
void ContinuousProperty::pushBackFloatHdf5ArrayOfValues | ( | const ULONG64 & | valueCountInFastestDim, |
const ULONG64 & | valueCountInMiddleDim, | ||
const ULONG64 & | valueCountInSlowestDim, | ||
common::AbstractHdfProxy * | proxy | ||
) |
Create a 3d array of explicit float values to the property values. No values are written to this array yet then the HDF5 array contains uninitialized values.
valueCountInFastestDim | The number of values to write in the fastest dimension (mainly I dimension). |
valueCountInMiddleDim | The number of values to write in the middle dimension (mainly J dimension). |
valueCountInSlowestDim | The number of values to write in the slowest dimension (mainly K dimension). |
proxy | The HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method. |
|
virtual |
Push back a new patch of values for this property where the values have not to be written in the HDF file. The reason can be that the values already exist in an external file (only HDF5 for now) or that the writing of the values in the external file is defered in time.
hdfProxy | The HDF5 proxy where the values are already or will be stored. |
datasetName | If not provided during the method call, the dataset will be named the same as the dataset naming convention of the fesapi :"/RESQML/" + prop->uuid + "/values_patch" + patchIndex; |
nullValue | Only relevant for integer hdf5 datasets. Indeed, Resqml (and fesapi) forces null value for floating point ot be NaN value. |
Implements resqml2::AbstractValuesProperty.
void ContinuousProperty::setValuesOfFloatHdf5ArrayOfValues | ( | float * | values, |
const ULONG64 & | valueCountInFastestDim, | ||
const ULONG64 & | valueCountInMiddleDim, | ||
const ULONG64 & | valueCountInSlowestDim, | ||
const ULONG64 & | offsetInFastestDim, | ||
const ULONG64 & | offsetInMiddleDim, | ||
const ULONG64 & | offsetInSlowestDim, | ||
common::AbstractHdfProxy * | proxy, | ||
unsigned int | patchIndex = (std::numeric_limits<unsigned int>::max)() |
||
) |
Set some values of an existing 3d array of explicit float values of a particular patch. This method makes use of HDF5 hyperslabbing. This method is to be used along with createFloatHdf5ArrayOfValues.
values | All the property values to set ordered according the topology of the representation it is based on. |
valueCountInFastestDim | The number of values to write in the fastest dimension (mainly I dimension). |
valueCountInMiddleDim | The number of values to write in the middle dimension (mainly J dimension). |
valueCountInSlowestDim | The number of values to write in the slowest dimension (mainly K dimension). |
offsetInFastestDim | The offset to write in the fastest dimension (mainly I dimension). |
offsetInMiddleDim | The offset value to write in the middle dimension (mainly J dimension). |
offsetInSlowestDim | The offset value to write in the slowest dimension (mainly K dimension). |
proxy | The HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method. |
patchIndex | The index of the patch we want to set some values. If not present, the last patch is arbitrarily taken into account. |
void ContinuousProperty::setValuesOfFloatHdf5ArrayOfValues | ( | float * | values, |
unsigned long long * | numValues, | ||
unsigned long long * | offsetValues, | ||
const unsigned int & | numArrayDimensions, | ||
common::AbstractHdfProxy * | proxy, | ||
unsigned int | patchIndex = (std::numeric_limits<unsigned int>::max)() |
||
) |
Set some values of an existing 3d array of explicit float values of a particular patch. This method makes use of HDF5 hyperslabbing. This method is to be used along with createFloatHdf5ArrayOfValues.
values | All the property values to set ordered according the topology of the representation it is based on. |
numValues | The number of property values ordered by dimension of the array to write. |
offsetValues | The offset values ordered by dimension of the array to write. |
numArrayDimensions | The number of dimensions of the array to write. |
proxy | The HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method. |
patchIndex | The index of the patch we want to set some values. If not present, the last patch is arbitrarily taken into account. |
|
virtual |
Check if the associated local property kind is allowed for this property.
Implements resqml2::AbstractProperty.
|
virtual |
Check if the associated standard property kind is allowed for this property.
Implements resqml2::AbstractProperty.