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_2::SubRepresentation Class Referencefinal

#include <SubRepresentation.h>

Inheritance diagram for resqml2_2::SubRepresentation:
resqml2::SubRepresentation resqml2::AbstractRepresentation common::AbstractObject

Public Member Functions

 SubRepresentation (gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
 
 SubRepresentation (common::DataObjectRepository *repo, const std::string &guid, const std::string &title)
 
 SubRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title)
 Creates an instance of this class in a gsoap context. This instance must be linked to an interpretation.
 
 SubRepresentation (gsoap_eml2_3::_resqml22__SubRepresentation *fromGsoap)
 
 ~SubRepresentation ()=default
 
common::DataObjectReference getHdfProxyDor () const final
 Gets the data object reference of the HDF proxy which is used for storing the numerical values of this representation (i.e. its geometry).
 
gsoap_eml2_3::eml23__IndexableElement getElementKindOfPatch (unsigned int patchIndex, unsigned int elementIndicesIndex) const final
 
uint64_t getElementCountOfPatch (unsigned int patchIndex) const final
 
void getElementIndicesOfPatch (unsigned int patchIndex, unsigned int elementIndicesIndex, uint64_t *elementIndices) const final
 
void getSupportingRepresentationIndicesOfPatch (unsigned int patchIndex, short *supportingRepresentationIndices) const final
 Gets the indices of the supporting representations that refer the selected elements indices of a particular patch of this sub-representation.
 
bool areElementIndicesPairwise (unsigned int patchIndex) const final
 
bool areElementIndicesBasedOnLattice (unsigned int patchIndex, unsigned int elementIndicesIndex=0) const final
 
int64_t getLatticeElementIndicesStartValue (unsigned int patchIndex, unsigned int elementIndicesIndex=0) const
 
uint64_t getLatticeElementIndicesDimensionCount (unsigned int patchIndex, unsigned int elementIndicesIndex=0) const final
 
int64_t getLatticeElementIndicesOffsetValue (unsigned int latticeDimensionIndex, unsigned int patchIndex, unsigned int elementIndicesIndex=0) const final
 
uint64_t getLatticeElementIndicesOffsetCount (unsigned int latticeDimensionIndex, unsigned int patchIndex, unsigned int elementIndicesIndex=0) const final
 
void pushBackSubRepresentationPatch (gsoap_eml2_3::eml23__IndexableElement elementKind, uint64_t originIndex, unsigned int elementCountInSlowestDimension, unsigned int elementCountInMiddleDimension, unsigned int elementCountInFastestDimension) final
 
void pushBackSubRepresentationPatch (gsoap_eml2_3::eml23__IndexableElement elementKind0, gsoap_eml2_3::eml23__IndexableElement elementKind1, uint64_t elementCount, uint64_t *elementIndices0, uint64_t *elementIndices1, eml2::AbstractHdfProxy *proxy=nullptr) final
 
void pushBackRefToExistingDataset (gsoap_eml2_3::eml23__IndexableElement elementKind, uint64_t elementCount, const std::string &elementDataset, int64_t nullValue, eml2::AbstractHdfProxy *proxy, const std::string &supportingRepDataset="") final
 
uint64_t getPatchCount () const final
 
uint64_t getSupportingRepresentationCount () const final
 
common::DataObjectReference getSupportingRepresentationDor (uint64_t index) const final
 
std::string getXmlNamespace () const final
 
- Public Member Functions inherited from resqml2::SubRepresentation
void pushBackSubRepresentationPatch (gsoap_eml2_3::eml23__IndexableElement elementKind, uint64_t elementCount, uint64_t *elementIndices, eml2::AbstractHdfProxy *proxy=nullptr, short *supportingRepIndices=nullptr)
 
void pushBackSubRepresentationPatch (gsoap_eml2_3::eml23__IndexableElement elementKind, uint64_t elementCount, eml2::AbstractHdfProxy *proxy=nullptr)
 
void setElementIndices (uint64_t *elementIndices, uint64_t elementCount, uint64_t offset, eml2::AbstractHdfProxy *proxy=nullptr, unsigned int patchIndex=(std::numeric_limits< unsigned int >::max)())
 
uint64_t getXyzPointCountOfPatch (unsigned int patchIndex) const override
 
void getXyzPointsOfPatch (unsigned int patchIndex, double *xyzPoints) const override
 
void pushBackSupportingRepresentation (AbstractRepresentation *supportingRep)
 
AbstractRepresentationgetSupportingRepresentation (uint64_t index) const
 
virtual std::string getXmlTag () const final
 
void loadTargetRelationships () final
 
- Public Member Functions inherited from resqml2::AbstractRepresentation
virtual ~AbstractRepresentation ()=default
 
eml2::AbstractLocal3dCrsgetLocalCrs (uint64_t patchIndex) const
 
virtual common::DataObjectReference getLocalCrsDor (uint64_t patchIndex) const
 
void setTimeIndex (uint64_t timeIndex, eml2::TimeSeries *timeSeries)
 
uint64_t getTimeIndex () const
 Gets the time index of this representation in the associated TimeSeries. Be sure to first check that a TimeSeries is associated this representation by calling getTimeSeriesDor or getTimeSeries;.
 
eml2::TimeSeriesgetTimeSeries () const
 
common::DataObjectReference getTimeSeriesDor () const
 Gets the data object reference of the TimeSeries containing the time of this representation at a particular index. For now, this method only look for a TimeSeries at the first patch containing a point geometry.
 
std::vector< class AbstractProperty * > getPropertySet () const
 
void setInterpretation (class AbstractFeatureInterpretation *interp)
 
class AbstractFeatureInterpretationgetInterpretation () const
 
common::DataObjectReference getInterpretationDor () const
 
uint64_t getXyzPointCountOfAllPatches () const
 
void getXyzPointsOfPatchInGlobalCrs (unsigned int patchIndex, double *xyzPoints) const
 Gets all the xyz points of a particular patch of this representation. xyz points are given in the global CRS.
 
void getXyzPointsOfAllPatches (double *xyzPoints) const
 Gets all the xyz points of all patches of this representation. xyz points are given in the local CRS.
 
bool isInSingleLocalCrs () const
 
bool isInSingleGlobalCrs () const
 
void getXyzPointsOfAllPatchesInGlobalCrs (double *xyzPoints) const
 
AbstractRepresentationgetSeismicSupportOfPatch (const unsigned int &patchIndex) const
 
std::set< AbstractRepresentation * > getAllSeismicSupport () const
 
void pushBackIntoRepresentationSet (class RepresentationSetRepresentation *repSet)
 
void addSeismic3dCoordinatesToPatch (unsigned int patchIndex, double *inlines, double *crosslines, uint64_t pointCount, resqml2::AbstractRepresentation *seismicSupport, eml2::AbstractHdfProxy *proxy)
 
void addSeismic3dCoordinatesToPatch (unsigned int patchIndex, double startInline, double incrInline, unsigned int countInline, double startCrossline, double incrCrossline, unsigned int countCrossline, resqml2::AbstractRepresentation *seismicSupport)
 
void addSeismic2dCoordinatesToPatch (unsigned int patchIndex, double *lineAbscissa, resqml2::AbstractRepresentation *seismicSupport, eml2::AbstractHdfProxy *proxy)
 
void getSeismicLineAbscissaOfPointsOfPatch (unsigned int patchIndex, double *values) const
 
void getInlinesOfPointsOfPatch (unsigned int patchIndex, double *values) const
 
void getCrosslinesOfPointsOfPatch (unsigned int patchIndex, double *values) const
 
- 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::SubRepresentation
static constexpr char const * XML_TAG = "SubRepresentation"
 
- Static Public Attributes inherited from resqml2::AbstractRepresentation
static constexpr char const * XML_TAG = "AbstractRepresentation"
 

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

A sub representation.

Constructor & Destructor Documentation

◆ SubRepresentation() [1/4]

resqml2_2::SubRepresentation::SubRepresentation ( gsoap_resqml2_0_1::eml20__DataObjectReference * partialObject)
inline

Only to be used in partial transfer context

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

◆ SubRepresentation() [2/4]

resqml2_2::SubRepresentation::SubRepresentation ( common::DataObjectRepository * repo,
const std::string & guid,
const std::string & title )

Creates an instance of this class in a gsoap context. This instance is not linked to any interpretation.

Parameters
[in,out]repoThe repo where the underlying gsoap proxy will be created.
guidThe guid to set to this instance.
titleA title for the instance to create.

◆ SubRepresentation() [3/4]

resqml2_2::SubRepresentation::SubRepresentation ( resqml2::AbstractFeatureInterpretation * interp,
const std::string & guid,
const std::string & title )

Creates an instance of this class in a gsoap context. This instance must be linked to an interpretation.

Exceptions
std::invalid_argumentIf interp == nullptr.
Parameters
[in]interpThe interpretation the instance represents.
guidThe guid to set to this instance.
titleA title for the instance to create.

◆ SubRepresentation() [4/4]

resqml2_2::SubRepresentation::SubRepresentation ( gsoap_eml2_3::_resqml22__SubRepresentation * fromGsoap)
inline

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

Parameters
[in,out]fromGsoapIf non-null, from gsoap.

◆ ~SubRepresentation()

resqml2_2::SubRepresentation::~SubRepresentation ( )
virtualdefault

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

Reimplemented from resqml2::SubRepresentation.

Member Function Documentation

◆ areElementIndicesBasedOnLattice()

bool resqml2_2::SubRepresentation::areElementIndicesBasedOnLattice ( unsigned int patchIndex,
unsigned int elementIndicesIndex = 0 ) const
finalvirtual

Checks if the element indices of a particular patch are based on a lattice or not.

Exceptions
std::out_of_rangeIf patchIndex is out of range.
std::out_of_rangeIf elementIndicesIndex is out of range. Must be: 0 for non pairwise element indices; 0 or 1 for pairwise element indices (0 for the left and 1 for the right part of the pairs).
Parameters
patchIndexZero-based index of the patch.
elementIndicesIndex(Optional) In case of pairwise elements, allows to select the first (elementIndicesIndex = 0) or second (elementIndicesIndex = 1) element index of the pair. Default value is 0, corresponding to both non-pairwise elements and first element of a pair.
Returns
True if element indices based on lattice, false if not.

Implements resqml2::SubRepresentation.

◆ areElementIndicesPairwise()

bool resqml2_2::SubRepresentation::areElementIndicesPairwise ( unsigned int patchIndex) const
finalvirtual

Checks if the element indices of a particular patch are pairwise or not.

Exceptions
std::out_of_rangeIf patchIndex is out of range.
Parameters
patchIndexZero-based index of the patch.
Returns
True if the elements indices are pairwise, false if not.

Implements resqml2::SubRepresentation.

◆ getElementCountOfPatch()

uint64_t resqml2_2::SubRepresentation::getElementCountOfPatch ( unsigned int patchIndex) const
finalvirtual

Gets the count of the selected elements of a particular patch of this sub-representation.

Exceptions
std::out_of_rangeIf patchIndex is out of range.
Parameters
patchIndexZero-based index of the patch from which we want to count the selected elements.
Returns
The count of the selected elements.

Implements resqml2::SubRepresentation.

◆ getElementIndicesOfPatch()

void resqml2_2::SubRepresentation::getElementIndicesOfPatch ( unsigned int patchIndex,
unsigned int elementIndicesIndex,
uint64_t * elementIndices ) const
finalvirtual

Gets the indices of the selected elements for a particular patch of this sub-representation.

Exceptions
std::out_of_rangeIf patchIndex is out of range.
std::out_of_rangeIf elementIndicesIndex is out of range. Must be: 0 for non pairwise element indices; 0 or 1 for pairwise element indices (0 for the left and 1 for the right part of the pairs).
logic_errorIf the selected elements indices of the patch are not stored in a HDF5 integer array.
Parameters
patchIndexZero-based index of the patch.
elementIndicesIndexMust be equal to 0 if the element indices are not pairwise. This method must be called twice if the element indices are pairwise: one call with elementIndicesIndex = 0 for getting the indices of the left elements of the pair; one call with elementIndices = 1 for getting the indices of the right elements of the pair.
[out]elementIndicesOutput array for collecting the indices of the selected elements. It must be preallocated with getElementCountOfPatch() size.

Implements resqml2::SubRepresentation.

◆ getElementKindOfPatch()

gsoap_eml2_3::eml23__IndexableElement resqml2_2::SubRepresentation::getElementKindOfPatch ( unsigned int patchIndex,
unsigned int elementIndicesIndex ) const
finalvirtual

Gets the kind of the selected elements for a particular patch of this sub-representation.

Exceptions
std::out_of_rangeIf patchIndex is out of range.
std::out_of_rangeIf elementIndicesIndex is out of range. Must be: 0 for non pairwise element indices; 0 or 1 for pairwise element indices (0 for the left and 1 for the right part of the pairs).
std::invalid_argumentIf the kind of the selected elements we look for is not supported (the kind is neither a node, edge, face, volume nor pillar).
Parameters
patchIndexZero-based index of the patch.
elementIndicesIndexMust be equal to 0 if the element indices are not pairwise. This method must be called twice if the element indices are pairwise: one call with elementIndicesIndex = 0 for getting the kind of the left elements of the pair; one call with elementIndices = 1 for getting the kind of the right elements of the pair.
Returns
The kind of the selected elements.

Implements resqml2::SubRepresentation.

◆ getHdfProxyDor()

common::DataObjectReference resqml2_2::SubRepresentation::getHdfProxyDor ( ) const
finalvirtual

Gets the data object reference of the HDF proxy which is used for storing the numerical values of this representation (i.e. its geometry).

Exceptions
std::logic_errorIf this representation is partial.
Returns
The data object reference of the HDF proxy used for storing the geometry, or empty data object reference if it fails.

Implements resqml2::AbstractRepresentation.

◆ getLatticeElementIndicesDimensionCount()

uint64_t resqml2_2::SubRepresentation::getLatticeElementIndicesDimensionCount ( unsigned int patchIndex,
unsigned int elementIndicesIndex = 0 ) const
finalvirtual

Gets the dimension count of the lattice the element indices of a particular patch are based on.

Exceptions
std::invalid_argumentIf the element indices are not based on a lattice.
std::out_of_rangeIf patchIndex is out of range.
std::out_of_rangeIf elementIndicesIndex is out of range. Must be: 0 for non pairwise element indices; 0 or 1 for pairwise element indices (0 for the left and 1 for the right part of the pairs).
Parameters
patchIndexZero-based index of the patch.
elementIndicesIndex(Optional) In case of pairwise elements, allow to select the first (elementIndicesIndex = 0) or second (elementIndicesIndex = 1) element index of the pair. Default value is 0, corresponding to both non-pairwise elements and first element of a pair.
Returns
The lattice dimension count.

Implements resqml2::SubRepresentation.

◆ getLatticeElementIndicesOffsetCount()

uint64_t resqml2_2::SubRepresentation::getLatticeElementIndicesOffsetCount ( unsigned int latticeDimensionIndex,
unsigned int patchIndex,
unsigned int elementIndicesIndex = 0 ) const
finalvirtual

Gets the offset count at a given dimension of the lattice the element indices of a particular patch are based on.

Exceptions
std::invalid_argumentIf the element indices are not based on a lattice.
std::out_of_rangeIf latticeDimensionIndex is out of range.
std::out_of_rangeIf patchIndex is out of range.
std::out_of_rangeIf elementIndicesIndex is out of range. Must be: 0 for non pairwise element indices; 0 or 1 for pairwise element indices (0 for the left and 1 for the right part of the pairs).
Parameters
latticeDimensionIndexZero-based index of the lattice dimension.
patchIndexZero-based index of the patch.
elementIndicesIndex(Optional) In case of pairwise elements, allow to select the first (elementIndicesIndex = 0) or second (elementIndicesIndex = 1) element index of the pair. Default value is 0, corresponding to both non- pairwise elements and first element of a pair.
Returns
The offset count.

Implements resqml2::SubRepresentation.

◆ getLatticeElementIndicesOffsetValue()

int64_t resqml2_2::SubRepresentation::getLatticeElementIndicesOffsetValue ( unsigned int latticeDimensionIndex,
unsigned int patchIndex,
unsigned int elementIndicesIndex = 0 ) const
finalvirtual

Gets the offset value at a given dimension of the lattice the element indices of a particular patch are based on.

Exceptions
std::invalid_argumentIf the element indices are not based on a lattice.
std::out_of_rangeIf latticeDimensionIndex is out of range.
std::out_of_rangeIf patchIndex is out of range.
std::out_of_rangeIf elementIndicesIndex is out of range. Must be: 0 for non pairwise element indices; 0 or 1 for pairwise element indices (0 for the left and 1 for the right part of the pairs).
Parameters
latticeDimensionIndexZero-based index of the lattice dimension.
patchIndexZero-based index of the patch.
elementIndicesIndex(Optional) In case of pairwise elements, allow to select the first (elementIndicesIndex = 0) or second (elementIndicesIndex = 1) element index of the pair. Default value is 0, corresponding to both non- pairwise elements and first element of a pair.
Returns
The offset value.

Implements resqml2::SubRepresentation.

◆ getLatticeElementIndicesStartValue()

int64_t resqml2_2::SubRepresentation::getLatticeElementIndicesStartValue ( unsigned int patchIndex,
unsigned int elementIndicesIndex = 0 ) const
virtual

Gets the start value of the lattice the element indices of a particular patch are based on.

Exceptions
std::invalid_argumentIf the element indices are not based on a lattice.
std::out_of_rangeIf patchIndex is out of range.
std::out_of_rangeIf elementIndicesIndex is out of range. Must be: 0 for non pairwise element indices; 0 or 1 for pairwise element indices (0 for the left and 1 for the right part of the pairs).
Parameters
patchIndexZero-based index of the patch.
elementIndicesIndex(Optional) In case of pairwise elements, allow to select the first (elementIndicesIndex = 0) or second (elementIndicesIndex = 1) element index of the pair. Default value is 0, corresponding to both non-pairwise elements and first element of a pair.
Returns
The lattice start value.

Implements resqml2::SubRepresentation.

◆ getPatchCount()

uint64_t resqml2_2::SubRepresentation::getPatchCount ( ) const
finalvirtual

Gets the patch count.

Returns
The patch count.

Implements resqml2::SubRepresentation.

◆ getSupportingRepresentationCount()

uint64_t resqml2_2::SubRepresentation::getSupportingRepresentationCount ( ) const
finalvirtual

Gets the count of supporting representations of this sub-representation.

Returns
The supporting representation count if successful, otherwise 0 if no supporting representation is associated to this sub-representation. This should not happened in a serialized state but can occur after creating a sub-representation and before associating any supporting representation to it.

Implements resqml2::SubRepresentation.

◆ getSupportingRepresentationDor()

common::DataObjectReference resqml2_2::SubRepresentation::getSupportingRepresentationDor ( uint64_t index) const
finalvirtual

Gets the data object reference of the supporting representation located at a specific index of this sub-representation.

Exceptions
std::invalid_argumentIf no supporting representation is already associated to this sub-representation.
std::out_of_rangeIf index is out of range.
Parameters
indexZero-based index of the supporting representation we look for.
Returns
The data object reference of the supporting representation at position index.

Implements resqml2::SubRepresentation.

◆ getSupportingRepresentationIndicesOfPatch()

void resqml2_2::SubRepresentation::getSupportingRepresentationIndicesOfPatch ( unsigned int patchIndex,
short * supportingRepresentationIndices ) const
finalvirtual

Gets the indices of the supporting representations that refer the selected elements indices of a particular patch of this sub-representation.

Exceptions
std::out_of_rangeIf patchIndex is out of range.
Parameters
patchIndexZero-based index of the patch.
[out]supportingRepresentationIndicesOutput array for collecting the supporting representations indices. This array must be preallocated with getElementCountOfPatch() size. The index at a given position is the index of the supporting representation associated to the selected element (or the selected pair of elements) at the same position in the sub- elements) at the same position in the sub- representation patch.

Implements resqml2::SubRepresentation.

◆ getXmlNamespace()

std::string resqml2_2::SubRepresentation::getXmlNamespace ( ) const
inlinefinalvirtual

Get the standard XML namespace for serializing this data object.

Implements common::AbstractObject.

◆ pushBackRefToExistingDataset()

void resqml2_2::SubRepresentation::pushBackRefToExistingDataset ( gsoap_eml2_3::eml23__IndexableElement elementKind,
uint64_t elementCount,
const std::string & elementDataset,
int64_t nullValue,
eml2::AbstractHdfProxy * proxy,
const std::string & supportingRepDataset = "" )
finalvirtual

Pushes back a new patch (without pairwise elements) in this sub-representation where the indices values have not to yet been written in the HDF5 file. The reason can be that the indices values already exist in an external file (only HDF5 for now) or that the writing of these indices values in the external file is postponed in time.

Parameters
elementKindThe kind of (indexable) elements which constitutes the sub-representation patch.
elementCountThe count of elements which constitutes the sub- representation patch.
elementDatasetThe HDF5 dataset name where the element indices are stored. If empty, the dataset will be named the same as the dataset naming convention fesapi : getHdfGroup() + subRep- >uuid + "/subrepresentation_elementIndices0_patch" + patchIndex;
nullValueThe null value which has been chosen in the referenced HDF5 dataset.
[in]proxyThe HDF5 proxy where the values are already stored or will be stored.
supportingRepDataset(Optional) The HDF5 dataset name where the element indices are stored. If empty (default), no information about suppporting representation will be exported since there is only one suppporting representation for this whole patch.

Implements resqml2::SubRepresentation.

◆ pushBackSubRepresentationPatch() [1/2]

void resqml2_2::SubRepresentation::pushBackSubRepresentationPatch ( gsoap_eml2_3::eml23__IndexableElement elementKind,
uint64_t originIndex,
unsigned int elementCountInSlowestDimension,
unsigned int elementCountInMiddleDimension,
unsigned int elementCountInFastestDimension )
finalvirtual

Pushes back a new lattice-based patch (without pairwise elements) in this sub-representation. The offset value is set to 1 in each dimension of the lattice.

Parameters
elementKindThe kind of (indexable) elements which constitutes the sub-representation patch.
originIndexThe index of the origin (its start value).
elementCountInSlowestDimensionThe number of elements in the slowest dimension (commonly in K dimension).
elementCountInMiddleDimensionThe number of elements in the middle dimension (commonly in J dimension).
elementCountInFastestDimensionThe number of elements in the fastest dimension (commonly in I dimension).

Implements resqml2::SubRepresentation.

◆ pushBackSubRepresentationPatch() [2/2]

void resqml2_2::SubRepresentation::pushBackSubRepresentationPatch ( gsoap_eml2_3::eml23__IndexableElement elementKind0,
gsoap_eml2_3::eml23__IndexableElement elementKind1,
uint64_t elementCount,
uint64_t * elementIndices0,
uint64_t * elementIndices1,
eml2::AbstractHdfProxy * proxy = nullptr )
finalvirtual

Pushes back a new patch in this sub-representation which is constituted by means of pairwise elements.

Parameters
elementKind0The kind of (indexable) elements which constitutes the first part of the pair of elements of the sub-representation patch.
elementKind1The kind of (indexable) elements which constitutes the second part of the pair of elements of the sub-representation patch.
elementCountThe count of elements which constitutes the sub- representation patch.
[in,out]elementIndices0The indices of the first part of the element pairs in the supporting representation.
[in,out]elementIndices1The indices of the second part of the element pairs in the supporting representation.
[in,out]proxyThe HDF proxy where the numerical values (indices) are stored.

Implements resqml2::SubRepresentation.

Member Data Documentation

◆ XML_NS

const char* resqml2_2::SubRepresentation::XML_NS
static

The standard XML namespace for serializing this data object.


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