Fesapi 2.13.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Loading...
Searching...
No Matches
AbstractValuesProperty.h
1/*-----------------------------------------------------------------------
2Licensed to the Apache Software Foundation (ASF) under one
3or more contributor license agreements. See the NOTICE file
4distributed with this work for additional information
5regarding copyright ownership. The ASF licenses this file
6to you under the Apache License, Version 2.0 (the
7"License"; you may not use this file except in compliance
8with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12Unless required by applicable law or agreed to in writing,
13software distributed under the License is distributed on an
14"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15KIND, either express or implied. See the License for the
16specific language governing permissions and limitations
17under the License.
18-----------------------------------------------------------------------*/
19#pragma once
20
21#include "AbstractProperty.h"
22
23namespace RESQML2_NS
24{
26 class AbstractValuesProperty : public AbstractProperty
27 {
28 public:
29
33 virtual ~AbstractValuesProperty() = default;
34
44 DLL_IMPORT_OR_EXPORT uint64_t getPatchCount() const final;
45
51 DLL_IMPORT_OR_EXPORT COMMON_NS::AbstractObject::numericalDatatypeEnum getValuesHdfDatatype() const final;
52
58 DLL_IMPORT_OR_EXPORT std::vector<uint32_t> getValuesCountPerDimensionOfPatch(uint64_t patchIndex) const final;
59
67 DLL_IMPORT_OR_EXPORT void pushBackFacet(gsoap_eml2_3::eml23__FacetKind facet, const std::string & facetValue);
68
74 DLL_IMPORT_OR_EXPORT uint64_t getFacetCount() const;
75
85 DLL_IMPORT_OR_EXPORT gsoap_eml2_3::eml23__FacetKind getFacetKind(uint64_t index) const;
86
96 DLL_IMPORT_OR_EXPORT std::string getFacetValue(uint64_t index) const;
97
98 //****************************
99 //****** INTEGER *************
100 //****************************
101
110 DLL_IMPORT_OR_EXPORT void pushBackIntegerConstantArrayOfValues(int64_t value, uint64_t valueCount);
111
128 DLL_IMPORT_OR_EXPORT void pushBackInt64Hdf5Array1dOfValues(const int64_t * values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy, int64_t nullValue) {
129 pushBackInt64Hdf5ArrayOfValues(values, &valueCount, 1, proxy, nullValue);
130 }
131
137 DLL_IMPORT_OR_EXPORT void pushBackInt32Hdf5Array1dOfValues(const int * values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy, int nullValue);
138
144 DLL_IMPORT_OR_EXPORT void pushBackInt16Hdf5Array1dOfValues(const short * values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy, short nullValue);
145
151 DLL_IMPORT_OR_EXPORT void pushBackInt8Hdf5Array1dOfValues(const int8_t* values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy, int8_t nullValue);
152
172 DLL_IMPORT_OR_EXPORT void pushBackInt64Hdf5Array2dOfValues(const int64_t * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, int64_t nullValue) {
173 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
174 pushBackInt64Hdf5ArrayOfValues(values, valueCountPerDimension, 2, proxy, nullValue);
175 }
176
182 DLL_IMPORT_OR_EXPORT void pushBackInt32Hdf5Array2dOfValues(const int * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, int nullValue);
183
189 DLL_IMPORT_OR_EXPORT void pushBackInt16Hdf5Array2dOfValues(const short * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, short nullValue);
190
196 DLL_IMPORT_OR_EXPORT void pushBackUInt16Hdf5Array2dOfValues(const unsigned short * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, unsigned short nullValue);
197
203 DLL_IMPORT_OR_EXPORT void pushBackInt8Hdf5Array2dOfValues(const int8_t * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, int8_t nullValue);
204
226 DLL_IMPORT_OR_EXPORT void pushBackInt64Hdf5Array3dOfValues(const int64_t * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, int64_t nullValue) {
227 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
228 pushBackInt64Hdf5ArrayOfValues(values, valueCountPerDimension, 3, proxy, nullValue);
229 }
230
236 DLL_IMPORT_OR_EXPORT void pushBackInt32Hdf5Array3dOfValues(const int * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, int nullValue);
237
243 DLL_IMPORT_OR_EXPORT void pushBackInt16Hdf5Array3dOfValues(const short * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, short nullValue);
244
250 DLL_IMPORT_OR_EXPORT void pushBackUInt16Hdf5Array3dOfValues(const unsigned short * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, unsigned short nullValue);
251
257 DLL_IMPORT_OR_EXPORT void pushBackInt8Hdf5Array3dOfValues(const int8_t * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, int8_t nullValue);
258
277 DLL_IMPORT_OR_EXPORT virtual void pushBackInt64Hdf5ArrayOfValues(const int64_t * values, const uint64_t * numValues, unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy, int64_t nullValue);
278
284 DLL_IMPORT_OR_EXPORT virtual void pushBackInt32Hdf5ArrayOfValues(const int * values, const uint64_t * numValues, unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy, int nullValue);
285
291 DLL_IMPORT_OR_EXPORT virtual void pushBackInt16Hdf5ArrayOfValues(const short * values, const uint64_t * numValues, unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy, short nullValue);
292
298 DLL_IMPORT_OR_EXPORT virtual void pushBackUInt16Hdf5ArrayOfValues(const unsigned short * values, const uint64_t * numValues, unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy, unsigned short nullValue);
299
305 DLL_IMPORT_OR_EXPORT virtual void pushBackInt8Hdf5ArrayOfValues(const int8_t * values, const uint64_t * numValues, unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy, int8_t nullValue);
306
326 DLL_IMPORT_OR_EXPORT virtual std::string pushBackRefToExistingIntegerDataset(EML2_NS::AbstractHdfProxy* hdfProxy, const std::string & dataset = "", int64_t nullValue = (std::numeric_limits<int64_t>::max)());
327
340 DLL_IMPORT_OR_EXPORT bool hasConstantValues(uint64_t patchIndex) const;
341
355 DLL_IMPORT_OR_EXPORT int64_t getInt64ConstantValuesOfPatch(uint64_t patchIndex) const;
356
370 DLL_IMPORT_OR_EXPORT double getDoubleConstantValuesOfPatch(uint64_t patchIndex) const;
371
384 DLL_IMPORT_OR_EXPORT int64_t getNullValueOfPatch(uint64_t patchIndex) const;
385
398 DLL_IMPORT_OR_EXPORT int64_t getInt64ValuesOfPatch(uint64_t patchIndex, int64_t* values) const;
399
412 DLL_IMPORT_OR_EXPORT uint64_t getUInt64ValuesOfPatch(uint64_t patchIndex, uint64_t* values) const;
413
426 DLL_IMPORT_OR_EXPORT int32_t getInt32ValuesOfPatch(uint64_t patchIndex, int32_t* values) const;
427
440 DLL_IMPORT_OR_EXPORT uint32_t getUInt32ValuesOfPatch(uint64_t patchIndex, uint32_t* values) const;
441
454 DLL_IMPORT_OR_EXPORT int16_t getInt16ValuesOfPatch(uint64_t patchIndex, int16_t* values) const;
455
468 DLL_IMPORT_OR_EXPORT uint16_t getUInt16ValuesOfPatch(uint64_t patchIndex, uint16_t* values) const;
469
482 DLL_IMPORT_OR_EXPORT int8_t getInt8ValuesOfPatch(uint64_t patchIndex, int8_t* values) const;
483
496 DLL_IMPORT_OR_EXPORT uint8_t getUInt8ValuesOfPatch(uint64_t patchIndex, uint8_t* values) const;
497
498 //***********************************
499 //*** Writing with hyperslabbing *****
500 //***********************************
501
522 DLL_IMPORT_OR_EXPORT void pushBackHdf5ArrayOfValues(
523 COMMON_NS::AbstractObject::numericalDatatypeEnum datatype,
524 uint64_t const * numValues,
525 unsigned int numArrayDimensions,
526 int64_t nullValue = (std::numeric_limits<int64_t>::max)(),
527 EML2_NS::AbstractHdfProxy* proxy = nullptr
528 );
529
547 DLL_IMPORT_OR_EXPORT void pushBackHdf5Array1dOfValues(
548 COMMON_NS::AbstractObject::numericalDatatypeEnum datatype,
549 uint64_t valueCount,
550 int64_t nullValue = (std::numeric_limits<int64_t>::max)(), EML2_NS::AbstractHdfProxy* proxy = nullptr
551 );
552
573 DLL_IMPORT_OR_EXPORT void pushBackHdf5Array2dOfValues(
574 COMMON_NS::AbstractObject::numericalDatatypeEnum datatype,
575 uint64_t valueCountInFastestDim,
576 uint64_t valueCountInSlowestDim,
577 int64_t nullValue = (std::numeric_limits<int64_t>::max)(),
578 EML2_NS::AbstractHdfProxy* proxy = nullptr
579 );
580
603 DLL_IMPORT_OR_EXPORT void pushBackHdf5Array3dOfValues(
604 COMMON_NS::AbstractObject::numericalDatatypeEnum datatype,
605 uint64_t valueCountInFastestDim,
606 uint64_t valueCountInMiddleDim,
607 uint64_t valueCountInSlowestDim,
608 int64_t nullValue = (std::numeric_limits<int64_t>::max)(),
609 EML2_NS::AbstractHdfProxy* proxy = nullptr
610 );
611
642 DLL_IMPORT_OR_EXPORT void setValuesOfInt64Hdf5ArrayOfValues(
643 int64_t const* values,
644 uint64_t const * numValues,
645 uint64_t const * offsetValues,
646 unsigned int numArrayDimensions,
647 EML2_NS::AbstractHdfProxy* proxy = nullptr,
648 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
649 setValuesOfHdf5ArrayOfValues(
650 COMMON_NS::AbstractObject::numericalDatatypeEnum::INT64, values, numValues,
651 offsetValues, numArrayDimensions, proxy, patchIndex);
652 }
653 DLL_IMPORT_OR_EXPORT void setValuesOfUInt64Hdf5ArrayOfValues(
654 uint64_t const* values,
655 uint64_t const * numValues,
656 uint64_t const * offsetValues,
657 unsigned int numArrayDimensions,
658 EML2_NS::AbstractHdfProxy* proxy = nullptr,
659 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
660 setValuesOfHdf5ArrayOfValues(
661 COMMON_NS::AbstractObject::numericalDatatypeEnum::UINT64, values, numValues,
662 offsetValues, numArrayDimensions, proxy, patchIndex);
663 }
664 DLL_IMPORT_OR_EXPORT void setValuesOfInt32Hdf5ArrayOfValues(
665 int32_t const* values,
666 uint64_t const * numValues,
667 uint64_t const * offsetValues,
668 unsigned int numArrayDimensions,
669 EML2_NS::AbstractHdfProxy* proxy = nullptr,
670 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
671 setValuesOfHdf5ArrayOfValues(
672 COMMON_NS::AbstractObject::numericalDatatypeEnum::INT32, values, numValues,
673 offsetValues, numArrayDimensions, proxy, patchIndex);
674 }
675 DLL_IMPORT_OR_EXPORT void setValuesOfUInt32Hdf5ArrayOfValues(
676 uint32_t const* values,
677 uint64_t const * numValues,
678 uint64_t const * offsetValues,
679 unsigned int numArrayDimensions,
680 EML2_NS::AbstractHdfProxy* proxy = nullptr,
681 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
682 setValuesOfHdf5ArrayOfValues(
683 COMMON_NS::AbstractObject::numericalDatatypeEnum::UINT32, values, numValues,
684 offsetValues, numArrayDimensions, proxy, patchIndex);
685 }
686 DLL_IMPORT_OR_EXPORT void setValuesOfInt16Hdf5ArrayOfValues(
687 int16_t const* values,
688 uint64_t const * numValues,
689 uint64_t const * offsetValues,
690 unsigned int numArrayDimensions,
691 EML2_NS::AbstractHdfProxy* proxy = nullptr,
692 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
693 setValuesOfHdf5ArrayOfValues(
694 COMMON_NS::AbstractObject::numericalDatatypeEnum::INT16, values, numValues,
695 offsetValues, numArrayDimensions, proxy, patchIndex);
696 }
697 DLL_IMPORT_OR_EXPORT void setValuesOfUInt16Hdf5ArrayOfValues(
698 uint16_t const* values,
699 uint64_t const * numValues,
700 uint64_t const * offsetValues,
701 unsigned int numArrayDimensions,
702 EML2_NS::AbstractHdfProxy* proxy = nullptr,
703 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
704 setValuesOfHdf5ArrayOfValues(
705 COMMON_NS::AbstractObject::numericalDatatypeEnum::UINT16, values, numValues,
706 offsetValues, numArrayDimensions, proxy, patchIndex);
707 }
708 DLL_IMPORT_OR_EXPORT void setValuesOfInt8Hdf5ArrayOfValues(
709 int8_t const* values,
710 uint64_t const * numValues,
711 uint64_t const * offsetValues,
712 unsigned int numArrayDimensions,
713 EML2_NS::AbstractHdfProxy* proxy = nullptr,
714 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
715 setValuesOfHdf5ArrayOfValues(
716 COMMON_NS::AbstractObject::numericalDatatypeEnum::INT8, values, numValues,
717 offsetValues, numArrayDimensions, proxy, patchIndex);
718 }
719 DLL_IMPORT_OR_EXPORT void setValuesOfUInt8Hdf5ArrayOfValues(
720 uint8_t const* values,
721 uint64_t const * numValues,
722 uint64_t const * offsetValues,
723 unsigned int numArrayDimensions,
724 EML2_NS::AbstractHdfProxy* proxy = nullptr,
725 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
726 setValuesOfHdf5ArrayOfValues(
727 COMMON_NS::AbstractObject::numericalDatatypeEnum::UINT8, values, numValues,
728 offsetValues, numArrayDimensions, proxy, patchIndex);
729 }
730 DLL_IMPORT_OR_EXPORT void setValuesOfDoubleHdf5ArrayOfValues(
731 double const* values,
732 uint64_t const * numValues,
733 uint64_t const * offsetValues,
734 unsigned int numArrayDimensions,
735 EML2_NS::AbstractHdfProxy* proxy = nullptr,
736 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
737 setValuesOfHdf5ArrayOfValues(
738 COMMON_NS::AbstractObject::numericalDatatypeEnum::DOUBLE, values, numValues,
739 offsetValues, numArrayDimensions, proxy, patchIndex);
740 }
741 DLL_IMPORT_OR_EXPORT void setValuesOfFloatHdf5ArrayOfValues(
742 float const* values,
743 uint64_t const * numValues,
744 uint64_t const * offsetValues,
745 unsigned int numArrayDimensions,
746 EML2_NS::AbstractHdfProxy* proxy = nullptr,
747 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
748 setValuesOfHdf5ArrayOfValues(
749 COMMON_NS::AbstractObject::numericalDatatypeEnum::FLOAT, values, numValues,
750 offsetValues, numArrayDimensions, proxy, patchIndex);
751 }
752
779 DLL_IMPORT_OR_EXPORT void setValuesOfInt64Hdf5Array1dOfValues(
780 int64_t const* values,
781 uint64_t valueCount,
782 uint64_t offset,
783 EML2_NS::AbstractHdfProxy* proxy = nullptr,
784 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
785 setValuesOfInt64Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
786 }
787 DLL_IMPORT_OR_EXPORT void setValuesOfUInt64Hdf5Array1dOfValues(
788 uint64_t const* values,
789 uint64_t valueCount,
790 uint64_t offset,
791 EML2_NS::AbstractHdfProxy* proxy = nullptr,
792 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
793 setValuesOfUInt64Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
794 }
795 DLL_IMPORT_OR_EXPORT void setValuesOfInt32Hdf5Array1dOfValues(
796 int32_t const* values,
797 uint64_t valueCount,
798 uint64_t offset,
799 EML2_NS::AbstractHdfProxy* proxy = nullptr,
800 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
801 setValuesOfInt32Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
802 }
803 DLL_IMPORT_OR_EXPORT void setValuesOfUInt32Hdf5Array1dOfValues(
804 uint32_t const* values,
805 uint64_t valueCount,
806 uint64_t offset,
807 EML2_NS::AbstractHdfProxy* proxy = nullptr,
808 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
809 setValuesOfUInt32Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
810 }
811 DLL_IMPORT_OR_EXPORT void setValuesOfInt16Hdf5Array1dOfValues(
812 int16_t const* values,
813 uint64_t valueCount,
814 uint64_t offset,
815 EML2_NS::AbstractHdfProxy* proxy = nullptr,
816 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
817 setValuesOfInt16Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
818 }
819 DLL_IMPORT_OR_EXPORT void setValuesOfUInt16Hdf5Array1dOfValues(
820 uint16_t const* values,
821 uint64_t valueCount,
822 uint64_t offset,
823 EML2_NS::AbstractHdfProxy* proxy = nullptr,
824 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
825 setValuesOfUInt16Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
826 }
827 DLL_IMPORT_OR_EXPORT void setValuesOfInt8Hdf5Array1dOfValues(
828 int8_t const* values,
829 uint64_t valueCount,
830 uint64_t offset,
831 EML2_NS::AbstractHdfProxy* proxy = nullptr,
832 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
833 setValuesOfInt8Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
834 }
835 DLL_IMPORT_OR_EXPORT void setValuesOfUInt8Hdf5Array1dOfValues(
836 uint8_t const* values,
837 uint64_t valueCount,
838 uint64_t offset,
839 EML2_NS::AbstractHdfProxy* proxy = nullptr,
840 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
841 setValuesOfUInt8Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
842 }
843 DLL_IMPORT_OR_EXPORT void setValuesOfDoubleHdf5Array1dOfValues(
844 double const * values,
845 uint64_t valueCount,
846 uint64_t offset,
847 EML2_NS::AbstractHdfProxy* proxy = nullptr,
848 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
849 setValuesOfDoubleHdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
850 }
851 DLL_IMPORT_OR_EXPORT void setValuesOfFloatHdf5Array1dOfValues(
852 float const * values,
853 uint64_t valueCount,
854 uint64_t offset,
855 EML2_NS::AbstractHdfProxy* proxy = nullptr,
856 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
857 setValuesOfFloatHdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
858 }
859
892 DLL_IMPORT_OR_EXPORT void setValuesOfInt64Hdf5Array2dOfValues(
893 int64_t const* values,
894 uint64_t valueCountInFastestDim,
895 uint64_t valueCountInSlowestDim,
896 uint64_t offsetInFastestDim,
897 uint64_t offsetInSlowestDim,
898 EML2_NS::AbstractHdfProxy* proxy = nullptr,
899 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
900 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
901 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
902 setValuesOfInt64Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
903 }
904 DLL_IMPORT_OR_EXPORT void setValuesOfUInt64Hdf5Array2dOfValues(
905 uint64_t const* values,
906 uint64_t valueCountInFastestDim,
907 uint64_t valueCountInSlowestDim,
908 uint64_t offsetInFastestDim,
909 uint64_t offsetInSlowestDim,
910 EML2_NS::AbstractHdfProxy* proxy = nullptr,
911 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
912 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
913 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
914 setValuesOfUInt64Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
915 }
916 DLL_IMPORT_OR_EXPORT void setValuesOfInt32Hdf5Array2dOfValues(
917 int32_t const* values,
918 uint64_t valueCountInFastestDim,
919 uint64_t valueCountInSlowestDim,
920 uint64_t offsetInFastestDim,
921 uint64_t offsetInSlowestDim,
922 EML2_NS::AbstractHdfProxy* proxy = nullptr,
923 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
924 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
925 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
926 setValuesOfInt32Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
927 }
928 DLL_IMPORT_OR_EXPORT void setValuesOfUInt32Hdf5Array2dOfValues(
929 uint32_t const* values,
930 uint64_t valueCountInFastestDim,
931 uint64_t valueCountInSlowestDim,
932 uint64_t offsetInFastestDim,
933 uint64_t offsetInSlowestDim,
934 EML2_NS::AbstractHdfProxy* proxy = nullptr,
935 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
936 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
937 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
938 setValuesOfUInt32Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
939 }
940 DLL_IMPORT_OR_EXPORT void setValuesOfInt16Hdf5Array2dOfValues(
941 int16_t const* values,
942 uint64_t valueCountInFastestDim,
943 uint64_t valueCountInSlowestDim,
944 uint64_t offsetInFastestDim,
945 uint64_t offsetInSlowestDim,
946 EML2_NS::AbstractHdfProxy* proxy = nullptr,
947 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
948 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
949 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
950 setValuesOfInt16Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
951 }
952 DLL_IMPORT_OR_EXPORT void setValuesOfUInt16Hdf5Array2dOfValues(
953 uint16_t const* values,
954 uint64_t valueCountInFastestDim,
955 uint64_t valueCountInSlowestDim,
956 uint64_t offsetInFastestDim,
957 uint64_t offsetInSlowestDim,
958 EML2_NS::AbstractHdfProxy* proxy = nullptr,
959 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
960 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
961 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
962 setValuesOfUInt16Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
963 }
964 DLL_IMPORT_OR_EXPORT void setValuesOfInt8Hdf5Array2dOfValues(
965 int8_t const* values,
966 uint64_t valueCountInFastestDim,
967 uint64_t valueCountInSlowestDim,
968 uint64_t offsetInFastestDim,
969 uint64_t offsetInSlowestDim,
970 EML2_NS::AbstractHdfProxy* proxy = nullptr,
971 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
972 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
973 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
974 setValuesOfInt8Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
975 }
976 DLL_IMPORT_OR_EXPORT void setValuesOfUInt8Hdf5Array2dOfValues(
977 uint8_t const* values,
978 uint64_t valueCountInFastestDim,
979 uint64_t valueCountInSlowestDim,
980 uint64_t offsetInFastestDim,
981 uint64_t offsetInSlowestDim,
982 EML2_NS::AbstractHdfProxy* proxy = nullptr,
983 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
984 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
985 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
986 setValuesOfUInt8Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
987 }
988 DLL_IMPORT_OR_EXPORT void setValuesOfDoubleHdf5Array2dOfValues(
989 double const * values,
990 uint64_t valueCountInFastestDim,
991 uint64_t valueCountInSlowestDim,
992 uint64_t offsetInFastestDim,
993 uint64_t offsetInSlowestDim,
994 EML2_NS::AbstractHdfProxy* proxy = nullptr,
995 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
996 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
997 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
998 setValuesOfDoubleHdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
999 }
1000 DLL_IMPORT_OR_EXPORT void setValuesOfFloatHdf5Array2dOfValues(
1001 float const * values,
1002 uint64_t valueCountInFastestDim,
1003 uint64_t valueCountInSlowestDim,
1004 uint64_t offsetInFastestDim,
1005 uint64_t offsetInSlowestDim,
1006 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1007 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1008 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
1009 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
1010 setValuesOfFloatHdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
1011 }
1012
1049 DLL_IMPORT_OR_EXPORT void setValuesOfInt64Hdf5Array3dOfValues(
1050 int64_t const* values,
1051 uint64_t valueCountInFastestDim,
1052 uint64_t valueCountInMiddleDim,
1053 uint64_t valueCountInSlowestDim,
1054 uint64_t offsetInFastestDim,
1055 uint64_t offsetInMiddleDim,
1056 uint64_t offsetInSlowestDim,
1057 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1058 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1059 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1060 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1061 setValuesOfInt64Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1062 }
1063 DLL_IMPORT_OR_EXPORT void setValuesOfUInt64Hdf5Array3dOfValues(
1064 uint64_t const* values,
1065 uint64_t valueCountInFastestDim,
1066 uint64_t valueCountInMiddleDim,
1067 uint64_t valueCountInSlowestDim,
1068 uint64_t offsetInFastestDim,
1069 uint64_t offsetInMiddleDim,
1070 uint64_t offsetInSlowestDim,
1071 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1072 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1073 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1074 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1075 setValuesOfUInt64Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1076 }
1077 DLL_IMPORT_OR_EXPORT void setValuesOfInt32Hdf5Array3dOfValues(
1078 int32_t const* values,
1079 uint64_t valueCountInFastestDim,
1080 uint64_t valueCountInMiddleDim,
1081 uint64_t valueCountInSlowestDim,
1082 uint64_t offsetInFastestDim,
1083 uint64_t offsetInMiddleDim,
1084 uint64_t offsetInSlowestDim,
1085 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1086 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1087 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1088 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1089 setValuesOfInt32Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1090 }
1091 DLL_IMPORT_OR_EXPORT void setValuesOfUInt32Hdf5Array3dOfValues(
1092 uint32_t const* values,
1093 uint64_t valueCountInFastestDim,
1094 uint64_t valueCountInMiddleDim,
1095 uint64_t valueCountInSlowestDim,
1096 uint64_t offsetInFastestDim,
1097 uint64_t offsetInMiddleDim,
1098 uint64_t offsetInSlowestDim,
1099 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1100 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1101 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1102 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1103 setValuesOfUInt32Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1104 }
1105 DLL_IMPORT_OR_EXPORT void setValuesOfInt16Hdf5Array3dOfValues(
1106 int16_t const* values,
1107 uint64_t valueCountInFastestDim,
1108 uint64_t valueCountInMiddleDim,
1109 uint64_t valueCountInSlowestDim,
1110 uint64_t offsetInFastestDim,
1111 uint64_t offsetInMiddleDim,
1112 uint64_t offsetInSlowestDim,
1113 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1114 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1115 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1116 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1117 setValuesOfInt16Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1118 }
1119 DLL_IMPORT_OR_EXPORT void setValuesOfUInt16Hdf5Array3dOfValues(
1120 uint16_t const* values,
1121 uint64_t valueCountInFastestDim,
1122 uint64_t valueCountInMiddleDim,
1123 uint64_t valueCountInSlowestDim,
1124 uint64_t offsetInFastestDim,
1125 uint64_t offsetInMiddleDim,
1126 uint64_t offsetInSlowestDim,
1127 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1128 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1129 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1130 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1131 setValuesOfUInt16Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1132 }
1133 DLL_IMPORT_OR_EXPORT void setValuesOfInt8Hdf5Array3dOfValues(
1134 int8_t const* values,
1135 uint64_t valueCountInFastestDim,
1136 uint64_t valueCountInMiddleDim,
1137 uint64_t valueCountInSlowestDim,
1138 uint64_t offsetInFastestDim,
1139 uint64_t offsetInMiddleDim,
1140 uint64_t offsetInSlowestDim,
1141 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1142 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1143 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1144 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1145 setValuesOfInt8Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1146 }
1147 DLL_IMPORT_OR_EXPORT void setValuesOfUInt8Hdf5Array3dOfValues(
1148 uint8_t const* values,
1149 uint64_t valueCountInFastestDim,
1150 uint64_t valueCountInMiddleDim,
1151 uint64_t valueCountInSlowestDim,
1152 uint64_t offsetInFastestDim,
1153 uint64_t offsetInMiddleDim,
1154 uint64_t offsetInSlowestDim,
1155 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1156 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1157 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1158 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1159 setValuesOfUInt8Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1160 }
1161 DLL_IMPORT_OR_EXPORT void setValuesOfDoubleHdf5Array3dOfValues(
1162 double const * values,
1163 uint64_t valueCountInFastestDim,
1164 uint64_t valueCountInMiddleDim,
1165 uint64_t valueCountInSlowestDim,
1166 uint64_t offsetInFastestDim,
1167 uint64_t offsetInMiddleDim,
1168 uint64_t offsetInSlowestDim,
1169 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1170 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1171 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1172 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1173 setValuesOfDoubleHdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1174 }
1175 DLL_IMPORT_OR_EXPORT void setValuesOfFloatHdf5Array3dOfValues(
1176 float const * values,
1177 uint64_t valueCountInFastestDim,
1178 uint64_t valueCountInMiddleDim,
1179 uint64_t valueCountInSlowestDim,
1180 uint64_t offsetInFastestDim,
1181 uint64_t offsetInMiddleDim,
1182 uint64_t offsetInSlowestDim,
1183 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1184 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1185 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1186 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1187 setValuesOfFloatHdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1188 }
1189
1190 //***********************************
1191 //*** Reading with hyperslabbing *****
1192 //***********************************
1193
1213 DLL_IMPORT_OR_EXPORT void getInt64ValuesOfPatch(
1214 uint64_t patchIndex,
1215 int64_t* values,
1216 uint64_t const * numValuesInEachDimension,
1217 uint64_t const * offsetInEachDimension,
1218 unsigned int numArrayDimensions
1219 ) const;
1220
1244 DLL_IMPORT_OR_EXPORT void getInt64ValuesOf3dPatch(
1245 uint64_t patchIndex,
1246 int64_t* values,
1247 uint64_t valueCountInFastestDim,
1248 uint64_t valueCountInMiddleDim,
1249 uint64_t valueCountInSlowestDim,
1250 uint64_t offsetInFastestDim,
1251 uint64_t offsetInMiddleDim,
1252 uint64_t offsetInSlowestDim
1253 ) const;
1254
1276 DLL_IMPORT_OR_EXPORT int32_t getIntValuesOfPatch(
1277 uint64_t patchIndex,
1278 int32_t* values,
1279 const uint64_t* numValuesInEachDimension,
1280 const uint64_t* offsetInEachDimension,
1281 unsigned int numArrayDimensions
1282 ) const;
1283
1307 DLL_IMPORT_OR_EXPORT void getIntValuesOf3dPatch(
1308 uint64_t patchIndex,
1309 int32_t* values,
1310 unsigned int valueCountInFastestDim,
1311 unsigned int valueCountInMiddleDim,
1312 unsigned int valueCountInSlowestDim,
1313 unsigned int offsetInFastestDim,
1314 unsigned int offsetInMiddleDim,
1315 unsigned int offsetInSlowestDim
1316 ) const;
1317
1318 //***********************************
1319 //****** FLOATING POINT *************
1320 //***********************************
1321
1330 DLL_IMPORT_OR_EXPORT void pushBackFloatingPointConstantArrayOfValues(double value, uint64_t valueCount);
1331
1346 DLL_IMPORT_OR_EXPORT void pushBackDoubleHdf5Array1dOfValues(const double * values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1347
1366 DLL_IMPORT_OR_EXPORT void pushBackDoubleHdf5Array2dOfValues(const double * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1367
1388 DLL_IMPORT_OR_EXPORT void pushBackDoubleHdf5Array3dOfValues(const double * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1389
1407 DLL_IMPORT_OR_EXPORT void pushBackDoubleHdf5ArrayOfValues(double const * values, uint64_t const * numValues, unsigned int numArrayDimensions, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1408
1414 DLL_IMPORT_OR_EXPORT void pushBackFloatHdf5Array1dOfValues(const float * values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1415
1421 DLL_IMPORT_OR_EXPORT void pushBackFloatHdf5Array2dOfValues(const float * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1422
1428 DLL_IMPORT_OR_EXPORT void pushBackFloatHdf5Array3dOfValues(const float * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1429
1435 DLL_IMPORT_OR_EXPORT void pushBackFloatHdf5ArrayOfValues(float const * values, uint64_t const * numValues, unsigned int numArrayDimensions, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1436
1455 DLL_IMPORT_OR_EXPORT virtual std::string pushBackRefToExistingFloatingPointDataset(EML2_NS::AbstractHdfProxy* proxy, const std::string & datasetName = "");
1456
1467 DLL_IMPORT_OR_EXPORT void getDoubleValuesOfPatch(uint64_t patchIndex, double * values) const;
1468
1479 DLL_IMPORT_OR_EXPORT void getFloatValuesOfPatch(uint64_t patchIndex, float * values) const;
1480
1481 //******************************************
1482 //*** For FLOATING POINT hyperslabbing *****
1483 //******************************************
1484
1503 DLL_IMPORT_OR_EXPORT void getFloatValuesOfPatch(
1504 uint64_t patchIndex,
1505 float* values,
1506 uint64_t const * numValuesInEachDimension,
1507 uint64_t const * offsetInEachDimension,
1508 unsigned int numArrayDimensions
1509 ) const;
1510
1533 DLL_IMPORT_OR_EXPORT void getFloatValuesOf3dPatch(
1534 uint64_t patchIndex,
1535 float* values,
1536 uint64_t valueCountInFastestDim,
1537 uint64_t valueCountInMiddleDim,
1538 uint64_t valueCountInSlowestDim,
1539 uint64_t offsetInFastestDim,
1540 uint64_t offsetInMiddleDim,
1541 uint64_t offsetInSlowestDim
1542 ) const;
1543
1544 protected:
1545
1551 DLL_IMPORT_OR_EXPORT AbstractValuesProperty(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractProperty(partialObject) {}
1552
1558
1564 AbstractValuesProperty(gsoap_resqml2_0_1::resqml20__AbstractValuesProperty* fromGsoap) : RESQML2_NS::AbstractProperty(fromGsoap) {}
1565 AbstractValuesProperty(gsoap_eml2_3::resqml22__AbstractValuesProperty* fromGsoap) : RESQML2_NS::AbstractProperty(fromGsoap) {}
1566
1578 EML2_NS::AbstractHdfProxy* getDatasetOfPatch(uint64_t patchIndex, int64_t & nullValue, std::string & dsPath) const final;
1579
1589 COMMON_NS::DataObjectReference getHdfProxyDor(uint64_t patchIndex) const final;
1590
1622 void setValuesOfHdf5ArrayOfValues(
1623 COMMON_NS::AbstractObject::numericalDatatypeEnum datatype,
1624 void const* values,
1625 uint64_t const * numValues,
1626 uint64_t const * offsetValues,
1627 unsigned int numArrayDimensions,
1628 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1629 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)());
1630 };
1631}
numericalDatatypeEnum
Definition AbstractObject.h:41
Proxy class for an abstract values property.
Definition AbstractValuesProperty.h:27
void getFloatValuesOfPatch(uint64_t patchIndex, float *values) const
void pushBackInt8Hdf5Array2dOfValues(const int8_t *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int8_t nullValue)
int8_t getInt8ValuesOfPatch(uint64_t patchIndex, int8_t *values) const
double getDoubleConstantValuesOfPatch(uint64_t patchIndex) const
virtual void pushBackInt32Hdf5ArrayOfValues(const int *values, const uint64_t *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, int nullValue)
virtual void pushBackInt16Hdf5ArrayOfValues(const short *values, const uint64_t *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, short nullValue)
uint64_t getUInt64ValuesOfPatch(uint64_t patchIndex, uint64_t *values) const
virtual std::string pushBackRefToExistingIntegerDataset(eml2::AbstractHdfProxy *hdfProxy, const std::string &dataset="", int64_t nullValue=(std::numeric_limits< int64_t >::max)())
void pushBackFloatingPointConstantArrayOfValues(double value, uint64_t valueCount)
Adds an array constant flaoting point values to the property values.
void setValuesOfInt64Hdf5Array3dOfValues(int64_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
Definition AbstractValuesProperty.h:1049
void pushBackInt64Hdf5Array2dOfValues(const int64_t *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int64_t nullValue)
Adds a 2d array of explicit int values to the property values.
Definition AbstractValuesProperty.h:172
int64_t getInt64ConstantValuesOfPatch(uint64_t patchIndex) const
virtual void pushBackUInt16Hdf5ArrayOfValues(const unsigned short *values, const uint64_t *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, unsigned short nullValue)
void pushBackUInt16Hdf5Array2dOfValues(const unsigned short *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, unsigned short nullValue)
void pushBackInt32Hdf5Array2dOfValues(const int *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int nullValue)
void pushBackDoubleHdf5Array2dOfValues(const double *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr)
Adds a 2d array of explicit double values to the property values.
void pushBackDoubleHdf5Array1dOfValues(const double *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy=nullptr)
Adds a 1d array of explicit double values to the property values.
void pushBackDoubleHdf5ArrayOfValues(double const *values, uint64_t const *numValues, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr)
Adds an nd array of explicit double values to the property values.
void pushBackInt16Hdf5Array2dOfValues(const short *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, short nullValue)
void pushBackInt8Hdf5Array3dOfValues(const int8_t *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int8_t nullValue)
gsoap_eml2_3::eml23__FacetKind getFacetKind(uint64_t index) const
void getFloatValuesOfPatch(uint64_t patchIndex, float *values, uint64_t const *numValuesInEachDimension, uint64_t const *offsetInEachDimension, unsigned int numArrayDimensions) const
void pushBackInt64Hdf5Array3dOfValues(const int64_t *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int64_t nullValue)
Adds a 3d array of explicit int values to the property values.
Definition AbstractValuesProperty.h:226
int16_t getInt16ValuesOfPatch(uint64_t patchIndex, int16_t *values) const
void pushBackFloatHdf5Array3dOfValues(const float *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr)
void setValuesOfInt64Hdf5ArrayOfValues(int64_t const *values, uint64_t const *numValues, uint64_t const *offsetValues, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
Definition AbstractValuesProperty.h:642
int64_t getInt64ValuesOfPatch(uint64_t patchIndex, int64_t *values) const
void pushBackFloatHdf5Array1dOfValues(const float *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy=nullptr)
void pushBackInt64Hdf5Array1dOfValues(const int64_t *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy, int64_t nullValue)
Adds a 1d array of explicit int values to the property values.
Definition AbstractValuesProperty.h:128
int64_t getNullValueOfPatch(uint64_t patchIndex) const
uint8_t getUInt8ValuesOfPatch(uint64_t patchIndex, uint8_t *values) const
void pushBackDoubleHdf5Array3dOfValues(const double *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr)
Adds a 3d array of explicit double values to the property values.
void pushBackFacet(gsoap_eml2_3::eml23__FacetKind facet, const std::string &facetValue)
void pushBackIntegerConstantArrayOfValues(int64_t value, uint64_t valueCount)
Adds an array constant integer values to the property values.
void pushBackFloatHdf5Array2dOfValues(const float *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr)
virtual std::string pushBackRefToExistingFloatingPointDataset(eml2::AbstractHdfProxy *proxy, const std::string &datasetName="")
virtual void pushBackInt64Hdf5ArrayOfValues(const int64_t *values, const uint64_t *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, int64_t nullValue)
Adds an nd array of explicit int values to the property values.
void setValuesOfInt64Hdf5Array2dOfValues(int64_t const *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInSlowestDim, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
Definition AbstractValuesProperty.h:892
std::string getFacetValue(uint64_t index) const
void pushBackUInt16Hdf5Array3dOfValues(const unsigned short *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, unsigned short nullValue)
void pushBackInt32Hdf5Array3dOfValues(const int *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, int nullValue)
bool hasConstantValues(uint64_t patchIndex) const
void pushBackInt16Hdf5Array3dOfValues(const short *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2::AbstractHdfProxy *proxy, short nullValue)
void pushBackInt16Hdf5Array1dOfValues(const short *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy, short nullValue)
common::AbstractObject::numericalDatatypeEnum getValuesHdfDatatype() const final
void getDoubleValuesOfPatch(uint64_t patchIndex, double *values) const
uint32_t getUInt32ValuesOfPatch(uint64_t patchIndex, uint32_t *values) const
void pushBackHdf5Array3dOfValues(common::AbstractObject::numericalDatatypeEnum datatype, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, int64_t nullValue=(std::numeric_limits< int64_t >::max)(), eml2::AbstractHdfProxy *proxy=nullptr)
int32_t getInt32ValuesOfPatch(uint64_t patchIndex, int32_t *values) const
void pushBackInt8Hdf5Array1dOfValues(const int8_t *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy, int8_t nullValue)
void pushBackFloatHdf5ArrayOfValues(float const *values, uint64_t const *numValues, unsigned int numArrayDimensions, eml2::AbstractHdfProxy *proxy=nullptr)
int32_t getIntValuesOfPatch(uint64_t patchIndex, int32_t *values, const uint64_t *numValuesInEachDimension, const uint64_t *offsetInEachDimension, unsigned int numArrayDimensions) const
virtual ~AbstractValuesProperty()=default
void pushBackInt32Hdf5Array1dOfValues(const int *values, uint64_t valueCount, eml2::AbstractHdfProxy *proxy, int nullValue)
void pushBackHdf5Array1dOfValues(common::AbstractObject::numericalDatatypeEnum datatype, uint64_t valueCount, int64_t nullValue=(std::numeric_limits< int64_t >::max)(), eml2::AbstractHdfProxy *proxy=nullptr)
void pushBackHdf5ArrayOfValues(common::AbstractObject::numericalDatatypeEnum datatype, uint64_t const *numValues, unsigned int numArrayDimensions, int64_t nullValue=(std::numeric_limits< int64_t >::max)(), eml2::AbstractHdfProxy *proxy=nullptr)
virtual void pushBackInt8Hdf5ArrayOfValues(const int8_t *values, const uint64_t *numValues, unsigned int numDimensionsInArray, eml2::AbstractHdfProxy *proxy, int8_t nullValue)
void getFloatValuesOf3dPatch(uint64_t patchIndex, float *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim) const
uint64_t getPatchCount() const final
void getIntValuesOf3dPatch(uint64_t patchIndex, int32_t *values, unsigned int valueCountInFastestDim, unsigned int valueCountInMiddleDim, unsigned int valueCountInSlowestDim, unsigned int offsetInFastestDim, unsigned int offsetInMiddleDim, unsigned int offsetInSlowestDim) const
void setValuesOfInt64Hdf5Array1dOfValues(int64_t const *values, uint64_t valueCount, uint64_t offset, eml2::AbstractHdfProxy *proxy=nullptr, uint64_t patchIndex=(std::numeric_limits< uint64_t >::max)())
Definition AbstractValuesProperty.h:779
std::vector< uint32_t > getValuesCountPerDimensionOfPatch(uint64_t patchIndex) const final
void pushBackHdf5Array2dOfValues(common::AbstractObject::numericalDatatypeEnum datatype, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, int64_t nullValue=(std::numeric_limits< int64_t >::max)(), eml2::AbstractHdfProxy *proxy=nullptr)
void getInt64ValuesOf3dPatch(uint64_t patchIndex, int64_t *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, uint64_t offsetInFastestDim, uint64_t offsetInMiddleDim, uint64_t offsetInSlowestDim) const
uint16_t getUInt16ValuesOfPatch(uint64_t patchIndex, uint16_t *values) const
void getInt64ValuesOfPatch(uint64_t patchIndex, int64_t *values, uint64_t const *numValuesInEachDimension, uint64_t const *offsetInEachDimension, unsigned int numArrayDimensions) const