21 #include "../resqml2/SubRepresentation.h"
23 namespace RESQML2_2_NS
37 DLL_IMPORT_OR_EXPORT
SubRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject):
48 SubRepresentation(COMMON_NS::DataObjectRepository* repo,
const std::string & guid,
const std::string & title);
61 const std::string & guid,
const std::string & title);
75 DLL_IMPORT_OR_EXPORT RESQML2_NS::AbstractRepresentation::
indexableElement getElementKindOfPatch(
unsigned int patchIndex,
unsigned int elementIndicesIndex) const final;
77 DLL_IMPORT_OR_EXPORT uint64_t getElementCountOfPatch(
unsigned int patchIndex) const final;
79 DLL_IMPORT_OR_EXPORT
void getElementIndicesOfPatch(
unsigned int patchIndex,
unsigned int elementIndicesIndex, uint64_t * elementIndices) const final;
81 DLL_IMPORT_OR_EXPORT
void getSupportingRepresentationIndicesOfPatch(
unsigned int patchIndex,
short * supportingRepresentationIndices) const final;
83 DLL_IMPORT_OR_EXPORT
bool areElementIndicesPairwise(
unsigned int patchIndex) const final;
85 DLL_IMPORT_OR_EXPORT
bool areElementIndicesBasedOnLattice(
unsigned int patchIndex,
unsigned int elementIndicesIndex = 0) const final;
87 DLL_IMPORT_OR_EXPORT int64_t getLatticeElementIndicesStartValue(
unsigned int patchIndex,
unsigned int elementIndicesIndex = 0) const;
88 DLL_IMPORT_OR_EXPORT
unsigned int getLatticeElementIndicesDimensionCount(
unsigned int patchIndex,
unsigned int elementIndicesIndex = 0) const final;
89 DLL_IMPORT_OR_EXPORT int64_t getLatticeElementIndicesOffsetValue(
unsigned int latticeDimensionIndex,
unsigned int patchIndex,
unsigned int elementIndicesIndex = 0) const final;
90 DLL_IMPORT_OR_EXPORT uint64_t getLatticeElementIndicesOffsetCount(
unsigned int latticeDimensionIndex,
unsigned int patchIndex,
unsigned int elementIndicesIndex = 0) const final;
94 DLL_IMPORT_OR_EXPORT
void pushBackSubRepresentationPatch(gsoap_eml2_3::resqml22__IndexableElement elementKind, uint64_t originIndex,
95 unsigned int elementCountInSlowestDimension,
96 unsigned int elementCountInMiddleDimension,
97 unsigned int elementCountInFastestDimension) final;
99 DLL_IMPORT_OR_EXPORT
void pushBackSubRepresentationPatch(gsoap_eml2_3::resqml22__IndexableElement elementKind0, gsoap_eml2_3::resqml22__IndexableElement elementKind1,
100 uint64_t elementCount,
101 uint64_t * elementIndices0, uint64_t * elementIndices1,
102 EML2_NS::AbstractHdfProxy* proxy) final;
104 DLL_IMPORT_OR_EXPORT
void pushBackRefToExistingDataset(gsoap_eml2_3::resqml22__IndexableElement elementKind, uint64_t elementCount, const std::
string & elementDataset,
105 int64_t nullValue, EML2_NS::AbstractHdfProxy * proxy, const std::
string & supportingRepDataset = "") final;
107 DLL_IMPORT_OR_EXPORT
unsigned int getPatchCount() const final;
109 DLL_IMPORT_OR_EXPORT
unsigned int getSupportingRepresentationCount() const final;
111 COMMON_NS::DataObjectReference getSupportingRepresentationDor(
unsigned int index) const final;
116 DLL_IMPORT_OR_EXPORT static const
char* XML_NS;
121 DLL_IMPORT_OR_EXPORT std::
string getXmlNamespace() const final {
return XML_NS; }
132 void init(COMMON_NS::DataObjectRepository* repo,
const std::string & guid,
const std::string & title);
139 gsoap_eml2_3::_resqml22__SubRepresentation* getSpecializedGsoapProxy()
const;
144 gsoap_eml2_3::resqml22__SubRepresentationPatch* getSubRepresentationPatch(
unsigned int index)
const;
152 void pushBackXmlSupportingRepresentation(RESQML2_NS::AbstractRepresentation
const * supportingRep);
indexableElement
Definition: AbstractRepresentation.h:36
Definition: SubRepresentation.h:27
SubRepresentation(gsoap_eml2_3::_resqml22__SubRepresentation *fromGsoap)
Definition: SubRepresentation.h:68
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 interpretati...
~SubRepresentation()=default
SubRepresentation(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition: SubRepresentation.h:37
common::DataObjectReference getHdfProxyDor() const final
Gets the data object reference of the HDF proxy which is used for storing the numerical values of thi...
SubRepresentation(common::DataObjectRepository *repo, const std::string &guid, const std::string &title)