Fesapi  0.13.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Public Types | Public Member Functions | Protected Member Functions | List of all members
RESQML2_NS::AbstractValuesProperty Class Referenceabstract
Inheritance diagram for RESQML2_NS::AbstractValuesProperty:
RESQML2_NS::AbstractProperty COMMON_NS::AbstractObject RESQML2_0_1_NS::CategoricalProperty RESQML2_0_1_NS::CommentProperty RESQML2_0_1_NS::ContinuousProperty RESQML2_0_1_NS::DiscreteProperty RESQML2_0_1_NS::CategoricalPropertySeries RESQML2_0_1_NS::ContinuousPropertySeries RESQML2_0_1_NS::DiscretePropertySeries

Public Types

enum  hdfDatatypeEnum {
  UNKNOWN = 0, DOUBLE = 1, FLOAT = 2, LONG = 3,
  ULONG = 4, INT = 5, UINT = 6, SHORT = 7,
  USHORT = 8, CHAR = 9, UCHAR = 10
}
 

Public Member Functions

 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
 
virtual std::string pushBackRefToExistingDataset (COMMON_NS::AbstractHdfProxy *hdfProxy, const std::string &datasetName="", const long &nullValue=(std::numeric_limits< long >::max)())=0
 
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_NS::AbstractHdfProxy *proxy)
 
void createLongHdf5Array3dOfValues (const unsigned int &valueCountInFastestDim, const unsigned int &valueCountInMiddleDim, const unsigned int &valueCountInSlowestDim, COMMON_NS::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_NS::AbstractHdfProxy *proxy)
 
void pushBackLongHdf5SlabArrayOfValues (long *values, unsigned long long *numValues, unsigned long long *offsetValues, const unsigned int &numArrayDimensions, COMMON_NS::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_NS::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 AbstractRepresentationgetRepresentation () const
 
std::string getRepresentationUuid () const
 
std::string getRepresentationTitle () const
 
std::string getRepresentationContentType () const
 
void setTimeSeries (class TimeSeries *ts)
 
TimeSeriesgetTimeSeries () 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_NS::AbstractHdfProxy *proxy)
 
COMMON_NS::AbstractHdfProxygetHdfProxy () 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 PropertyKindgetLocalPropertyKind () const
 
virtual bool validatePropertyKindAssociation (class PropertyKind *pk)=0
 
virtual bool validatePropertyKindAssociation (const gsoap_resqml2_0_1::resqml2__ResqmlPropertyKind &pk)=0
 
- Public Member Functions inherited from COMMON_NS::AbstractObject
bool isPartial () 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 getVersionString () const
 
void setTitle (const std::string &title)
 
void setEditor (const std::string &editor)
 
void setCreation (const time_t &creation)
 
void setCreation (const tm &creation)
 
void setOriginator (const std::string &originator)
 
void setDescription (const std::string &description)
 
void setLastUpdate (const time_t &lastUpdate)
 
void setLastUpdate (const tm &lastUpdate)
 
void setFormat (const std::string &format)
 
void setDescriptiveKeywords (const std::string &descriptiveKeywords)
 
void setVersionString (const std::string &versionString)
 
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_NS::EpcDocumentgetEpcDocument () const
 
virtual std::string getXmlNamespace () const
 
virtual std::string getXmlTag () const =0
 
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_NS::Activity * > & getActivitySet () const
 
unsigned int getActivityCount () const
 
RESQML2_NS::ActivitygetActivity (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
 

Protected Member Functions

std::string getPathInHdfFileOfPatch (const unsigned int &patchIndex, LONG64 &nullValue) const
 
std::string pushBackRefToExistingIntegerDataset (COMMON_NS::AbstractHdfProxy *hdfProxy, const std::string &datasetName="", const long &nullValue=(std::numeric_limits< long >::max)())
 
- Protected Member Functions inherited from RESQML2_NS::AbstractProperty
void setXmlRepresentation (class AbstractRepresentation *rep)
 
void setXmlTimeSeries (TimeSeries *ts)
 
void setXmlLocalPropertyKind (class PropertyKind *propKind)
 
virtual std::vector< epc::RelationshipgetAllEpcRelationships () const
 
virtual void importRelationshipSetFromEpc (COMMON_NS::EpcDocument *epcDoc)
 
- Protected Member Functions inherited from COMMON_NS::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

- Protected Types inherited from COMMON_NS::AbstractObject
enum  EmlVersion { TWO_DOT_ZERO = 0, TWO_DOT_ONE = 1 }
 
- Static Protected Member Functions inherited from COMMON_NS::AbstractObject
static void addActivityToResqmlObject (RESQML2_NS::Activity *activity, AbstractObject *resqmlObject)
 
- Protected Attributes inherited from RESQML2_NS::AbstractProperty
class AbstractLocal3dCrslocal3dCrs
 
- Protected Attributes inherited from COMMON_NS::AbstractObject
gsoap_resqml2_0_1::eml20__AbstractCitedDataObject * gsoapProxy2_0_1
 
gsoap_eml2_1::eml21__AbstractObject * gsoapProxy2_1
 
COMMON_NS::EpcDocumentepcDocument
 
std::vector< RESQML2_NS::Activity * > activitySet
 
bool updateXml
 

Constructor & Destructor Documentation

RESQML2_NS::AbstractValuesProperty::AbstractValuesProperty ( gsoap_resqml2_0_1::eml20__DataObjectReference *  partialObject)
inline

Only to be used in partial transfer context

RESQML2_NS::AbstractValuesProperty::AbstractValuesProperty ( )
inline

Default constructor Set the relationship with an AbstractRepresentation and a local property type.

RESQML2_NS::AbstractValuesProperty::AbstractValuesProperty ( gsoap_resqml2_0_1::resqml2__AbstractValuesProperty *  fromGsoap)
inline

Creates an instance of this class by wrapping a gsoap instance.

virtual RESQML2_NS::AbstractValuesProperty::~AbstractValuesProperty ( )
inlinevirtual

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

Member Function Documentation

void AbstractValuesProperty::createLongHdf5Array3dOfValues ( const unsigned int &  valueCountInFastestDim,
const unsigned int &  valueCountInMiddleDim,
const unsigned int &  valueCountInSlowestDim,
COMMON_NS::AbstractHdfProxy proxy 
)

Create a 3d array of explicit Long values to the property values.

Parameters
valueCountInFastestDimThe number of values to write in the fastest dimension (mainly I dimension).
valueCountInMiddleDimThe number of values to write in the middle dimension (mainly J dimension).
valueCountInSlowestDimThe number of values to write in the slowest dimension (mainly K dimension).
proxyThe HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method.
void AbstractValuesProperty::createLongHdf5ArrayOfValues ( unsigned long long *  numValues,
const unsigned int &  numArrayDimensions,
COMMON_NS::AbstractHdfProxy proxy 
)

Create an array (potentially multi dimensions) of explicit long values to the property values. No values are written to this array yet.

Parameters
numValuesThe number of property values ordered by dimension of the array to write.
numArrayDimensionsThe number of dimensions of the array to write.
proxyThe HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method.
char AbstractValuesProperty::getCharValuesOfPatch ( const unsigned int &  patchIndex,
char *  values 
)

Get all the values of the instance which are supposed to be char ones. Not for continuous property values.

Returns
the null value
unsigned int AbstractValuesProperty::getDimensionsCountOfPatch ( const unsigned int &  patchIndex)

Get the count of dimension of the underlying HDF5 dataset of this property.

Parameters
patchIndexThe index of the patch we want to know the dimensions in this property.
Returns
The number of values, 0 otherwise.
gsoap_resqml2_0_1::resqml2__Facet AbstractValuesProperty::getFacet ( const unsigned int &  index) const

Get the facet at a particular index of the facet collection of this instance

unsigned int AbstractValuesProperty::getFacetCount ( ) const

Get the count of facet of this instance

std::string AbstractValuesProperty::getFacetValue ( const unsigned int &  index) const

Get the facet value at a particular index of the facet collection of this instance.

void AbstractValuesProperty::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 
)

Get all the values of the instance which are supposed to be int ones.

Parameters
patchIndexPatch index.
valuesThe array (pointer) of values must be preallocated.
valueCountInFastestDimThe number of values to write in the fastest dimension (mainly I dimension).
valueCountInMiddleDimThe number of values to write in the middle dimension (mainly J dimension).
valueCountInSlowestDimThe number of values to write in the slowest dimension (mainly K dimension).
offsetInFastestDimThe offset to write in the fastest dimension (mainly I dimension).
offsetInMiddleDimThe offset value to write in the middle dimension (mainly J dimension).
offsetInSlowestDimThe offset value to write in the slowest dimension (mainly K dimension).
int AbstractValuesProperty::getIntValuesOfPatch ( const unsigned int &  patchIndex,
int *  values 
)

Get all the values of the instance which are supposed to be int ones. Not for continuous property values.

Returns
the null value
int AbstractValuesProperty::getIntValuesOfPatch ( const unsigned int &  patchIndex,
int *  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 int ones. This method makes use of HDF5 hyperslabbing.

Parameters
patchIndexThe index of the patch we want the values from.
valuesThe array (pointer) of values must be preallocated.
numValuesInEachDimensionThe number of property values ordered by dimension of the array to write.
offsetInEachDimensionThe offset values ordered by dimension of the array to write.
numArrayDimensionsThe number of dimensions of the HDF5 array to read.
Returns
the null value
void AbstractValuesProperty::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 
)

Get all the values of the instance which are supposed to be long ones.

Parameters
patchIndexPatch index.
valuesThe array (pointer) of values must be preallocated.
valueCountInFastestDimThe number of values to write in the fastest dimension (mainly I dimension).
valueCountInMiddleDimThe number of values to write in the middle dimension (mainly J dimension).
valueCountInSlowestDimThe number of values to write in the slowest dimension (mainly K dimension).
offsetInFastestDimThe offset to write in the fastest dimension (mainly I dimension).
offsetInMiddleDimThe offset value to write in the middle dimension (mainly J dimension).
offsetInSlowestDimThe offset value to write in the slowest dimension (mainly K dimension).
long AbstractValuesProperty::getLongValuesOfPatch ( const unsigned int &  patchIndex,
long *  values 
)

Get all the values of the instance which are supposed to be long ones. Not for continuous property values.

Returns
the null value
void RESQML2_NS::AbstractValuesProperty::getLongValuesOfPatch ( const unsigned int &  patchIndex,
long *  values,
unsigned long long *  numValuesInEachDimension,
unsigned long long *  offsetInEachDimension,
const unsigned int &  numArrayDimensions 
)

Get all the values of the instance which are supposed to be long ones.

Parameters
patchIndexPatch index.
valuesThe array (pointer) of values which must be preallocated.
numValuesThe number of property values ordered by dimension of the array to write.
offsetValuesThe offset values ordered by dimension of the array to write.
numArrayDimensionsThe number of dimensions of the array to write.
long AbstractValuesProperty::getNullValueOfPatch ( const unsigned int &  patchIndex)

Get the null value of the instance which are supposed to be integer ones. Not for continuous property values.

Returns
the null value
unsigned int AbstractValuesProperty::getPatchCount ( ) const

Get the number of patches in this values property. It should be the same count as the patch count of the associated representation.

std::string AbstractValuesProperty::getPathInHdfFileOfPatch ( const unsigned int &  patchIndex,
LONG64 &  nullValue 
) const
protected

Get the path in the hdf file of the dataset which contains the property values of a particular patch.

Parameters
patchIndexThe corresponding patch index of the dataset to get.
nullValueIf possible, this function will set this parameter to the Resqml null value of the dataset. If not, it will return long.min
short AbstractValuesProperty::getShortValuesOfPatch ( const unsigned int &  patchIndex,
short *  values 
)

Get all the values of the instance which are supposed to be short ones. Not for continuous property values.

Returns
the null value
unsigned char AbstractValuesProperty::getUCharValuesOfPatch ( const unsigned int &  patchIndex,
unsigned char *  values 
)

Get all the values of the instance which are supposed to be unsigned char ones. Not for continuous property values.

Returns
the null value
unsigned int AbstractValuesProperty::getUIntValuesOfPatch ( const unsigned int &  patchIndex,
unsigned int *  values 
)

Get all the values of the instance which are supposed to be unsigned int ones. Not for continuous property values.

Returns
the null value
unsigned long AbstractValuesProperty::getULongValuesOfPatch ( const unsigned int &  patchIndex,
unsigned long *  values 
)

Get all the values of the instance which are supposed to be unsigned long ones. Not for continuous property values.

Returns
the null value
unsigned short AbstractValuesProperty::getUShortValuesOfPatch ( const unsigned int &  patchIndex,
unsigned short *  values 
)

Get all the values of the instance which are supposed to be unsigned short ones. Not for continuous property values.

Returns
the null value
unsigned int AbstractValuesProperty::getValuesCountOfDimensionOfPatch ( const unsigned int &  dimIndex,
const unsigned int &  patchIndex 
)

Get the count of values on a specific dimension of the underlying HDF5 dataset of this property.

Parameters
dimIndexThe index of the dimension we want to know the values count in this property.
patchIndexThe index of the patch we want to know the values count in this property.
Returns
The number of values, 0 otherwise.
unsigned int AbstractValuesProperty::getValuesCountOfPatch ( const unsigned int &  patchIndex)

Get the count of all values contained into the underlying HDF5 dataset of this property for a particular patch.

AbstractValuesProperty::hdfDatatypeEnum AbstractValuesProperty::getValuesHdfDatatype ( ) const

Get the values datatype in the HDF dataset

void AbstractValuesProperty::pushBackFacet ( const gsoap_resqml2_0_1::resqml2__Facet &  facet,
const std::string &  facetValue 
)

Pushes back a new facet to this intance

void AbstractValuesProperty::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_NS::AbstractHdfProxy proxy 
)

Add a 3d array of explicit Long values to the property values.

Parameters
valuesAll the property values to set ordered according the topology of the representation it is based on.
valueCountInFastestDimThe number of values to write in the fastest dimension (mainly I dimension).
valueCountInMiddleDimThe number of values to write in the middle dimension (mainly J dimension).
valueCountInSlowestDimThe number of values to write in the slowest dimension (mainly K dimension).
offsetInFastestDimThe offset to write in the fastest dimension (mainly I dimension).
offsetInMiddleDimThe offset value to write in the middle dimension (mainly J dimension).
offsetInSlowestDimThe offset value to write in the slowest dimension (mainly K dimension).
proxyThe HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method.
void AbstractValuesProperty::pushBackLongHdf5SlabArrayOfValues ( long *  values,
unsigned long long *  numValues,
unsigned long long *  offsetValues,
const unsigned int &  numArrayDimensions,
COMMON_NS::AbstractHdfProxy proxy 
)

Add an array (potentially multi dimensions) of explicit long values to the property values. This method is to be used along with createLongHdf5ArrayOfValues.

Parameters
valuesAll the property values to set ordered according the topology of the representation it is based on.
numValuesThe number of property values ordered by dimension of the array to write.
offsetValuesThe offset values ordered by dimension of the array to write.
numArrayDimensionsThe number of dimensions of the array to write.
proxyThe HDF proxy where to write the property values. It must be already opened for writing and won't be closed in this method.
virtual std::string RESQML2_NS::AbstractValuesProperty::pushBackRefToExistingDataset ( COMMON_NS::AbstractHdfProxy hdfProxy,
const std::string &  datasetName = "",
const long &  nullValue = (std::numeric_limits< long >::max)() 
)
pure 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.

Parameters
hdfProxyThe HDF5 proxy where the values are already or will be stored.
datasetNameIf 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;
nullValueOnly relevant for integer hdf5 datasets. Indeed, Resqml (and fesapi) forces null value for floating point to be NaN value.
Returns
The name of the hdf5 dataset.

Implemented in RESQML2_0_1_NS::ContinuousProperty, RESQML2_0_1_NS::DiscreteProperty, RESQML2_0_1_NS::CategoricalProperty, and RESQML2_0_1_NS::CommentProperty.

std::string AbstractValuesProperty::pushBackRefToExistingIntegerDataset ( COMMON_NS::AbstractHdfProxy hdfProxy,
const std::string &  datasetName = "",
const long &  nullValue = (std::numeric_limits<long>::max)() 
)
protected

Push back a new patch of integer 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.

Parameters
hdfProxyThe HDF5 proxy where the values are already or will be stored.
datasetNameIf 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;
nullValueOnly relevant for integer hdf5 datasets. Indeed, Resqml (and fesapi) forces null value for floating point ot be NaN value.
Returns
The name of the hdf5 dataset.

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