Fesapi 2.9.0.1
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{
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
65 DLL_IMPORT_OR_EXPORT uint64_t getValuesCountOfDimensionOfPatch(uint64_t dimIndex, uint64_t patchIndex) const final;
66
76 DLL_IMPORT_OR_EXPORT uint64_t getDimensionsCountOfPatch(uint64_t patchIndex) const final;
77
85 DLL_IMPORT_OR_EXPORT void pushBackFacet(gsoap_eml2_3::eml23__FacetKind facet, const std::string & facetValue);
86
92 DLL_IMPORT_OR_EXPORT uint64_t getFacetCount() const;
93
103 DLL_IMPORT_OR_EXPORT gsoap_eml2_3::eml23__FacetKind getFacetKind(uint64_t index) const;
104
114 DLL_IMPORT_OR_EXPORT std::string getFacetValue(uint64_t index) const;
115
116 //****************************
117 //****** INTEGER *************
118 //****************************
119
128 DLL_IMPORT_OR_EXPORT void pushBackIntegerConstantArrayOfValues(int64_t value, uint64_t valueCount);
129
146 DLL_IMPORT_OR_EXPORT void pushBackInt64Hdf5Array1dOfValues(const int64_t * values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy, int64_t nullValue) {
147 pushBackInt64Hdf5ArrayOfValues(values, &valueCount, 1, proxy, nullValue);
148 }
149
155 DLL_IMPORT_OR_EXPORT void pushBackInt32Hdf5Array1dOfValues(const int * values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy, int nullValue);
156
162 DLL_IMPORT_OR_EXPORT void pushBackInt16Hdf5Array1dOfValues(const short * values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy, short nullValue);
163
169 DLL_IMPORT_OR_EXPORT void pushBackInt8Hdf5Array1dOfValues(const int8_t* values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy, int8_t nullValue);
170
190 DLL_IMPORT_OR_EXPORT void pushBackInt64Hdf5Array2dOfValues(const int64_t * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, int64_t nullValue) {
191 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
192 pushBackInt64Hdf5ArrayOfValues(values, valueCountPerDimension, 2, proxy, nullValue);
193 }
194
200 DLL_IMPORT_OR_EXPORT void pushBackInt32Hdf5Array2dOfValues(const int * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, int nullValue);
201
207 DLL_IMPORT_OR_EXPORT void pushBackInt16Hdf5Array2dOfValues(const short * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, short nullValue);
208
214 DLL_IMPORT_OR_EXPORT void pushBackUInt16Hdf5Array2dOfValues(const unsigned short * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, unsigned short nullValue);
215
221 DLL_IMPORT_OR_EXPORT void pushBackInt8Hdf5Array2dOfValues(const int8_t * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, int8_t nullValue);
222
244 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) {
245 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
246 pushBackInt64Hdf5ArrayOfValues(values, valueCountPerDimension, 3, proxy, nullValue);
247 }
248
254 DLL_IMPORT_OR_EXPORT void pushBackInt32Hdf5Array3dOfValues(const int * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, int nullValue);
255
261 DLL_IMPORT_OR_EXPORT void pushBackInt16Hdf5Array3dOfValues(const short * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy, short nullValue);
262
268 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);
269
275 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);
276
295 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);
296
302 DLL_IMPORT_OR_EXPORT virtual void pushBackInt32Hdf5ArrayOfValues(const int * values, const uint64_t * numValues, unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy, int nullValue);
303
309 DLL_IMPORT_OR_EXPORT virtual void pushBackInt16Hdf5ArrayOfValues(const short * values, const uint64_t * numValues, unsigned int numDimensionsInArray, EML2_NS::AbstractHdfProxy* proxy, short nullValue);
310
316 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);
317
323 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);
324
344 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)());
345
358 DLL_IMPORT_OR_EXPORT bool hasConstantValues(uint64_t patchIndex) const;
359
373 DLL_IMPORT_OR_EXPORT int64_t getInt64ConstantValuesOfPatch(uint64_t patchIndex) const;
374
388 DLL_IMPORT_OR_EXPORT double getDoubleConstantValuesOfPatch(uint64_t patchIndex) const;
389
402 DLL_IMPORT_OR_EXPORT int64_t getInt64ValuesOfPatch(uint64_t patchIndex, int64_t * values) const;
403
416 DLL_IMPORT_OR_EXPORT int64_t getNullValueOfPatch(uint64_t patchIndex) const;
417
430 DLL_IMPORT_OR_EXPORT int32_t getInt32ValuesOfPatch(uint64_t patchIndex, int32_t* values) const;
431
445 DLL_IMPORT_OR_EXPORT uint32_t getUInt32ValuesOfPatch(uint64_t patchIndex, uint32_t* values) const;
446
459 DLL_IMPORT_OR_EXPORT int16_t getInt16ValuesOfPatch(uint64_t patchIndex, int16_t* values) const;
460
474 DLL_IMPORT_OR_EXPORT uint16_t getUInt16ValuesOfPatch(uint64_t patchIndex, uint16_t* values) const;
475
488 DLL_IMPORT_OR_EXPORT int8_t getInt8ValuesOfPatch(uint64_t patchIndex, int8_t* values) const;
489
502 DLL_IMPORT_OR_EXPORT uint8_t getUInt8ValuesOfPatch(uint64_t patchIndex, uint8_t* values) const;
503
504 //***********************************
505 //*** Writing with hyperslabbing *****
506 //***********************************
507
528 DLL_IMPORT_OR_EXPORT void pushBackHdf5ArrayOfValues(
529 COMMON_NS::AbstractObject::numericalDatatypeEnum datatype,
530 uint64_t const * numValues,
531 unsigned int numArrayDimensions,
532 int64_t nullValue = (std::numeric_limits<int64_t>::max)(),
533 EML2_NS::AbstractHdfProxy* proxy = nullptr
534 );
535
553 DLL_IMPORT_OR_EXPORT void pushBackHdf5Array1dOfValues(
554 COMMON_NS::AbstractObject::numericalDatatypeEnum datatype,
555 uint64_t valueCount,
556 int64_t nullValue = (std::numeric_limits<int64_t>::max)(), EML2_NS::AbstractHdfProxy* proxy = nullptr
557 );
558
579 DLL_IMPORT_OR_EXPORT void pushBackHdf5Array2dOfValues(
580 COMMON_NS::AbstractObject::numericalDatatypeEnum datatype,
581 uint64_t valueCountInFastestDim,
582 uint64_t valueCountInMiddleDim,
583 int64_t nullValue = (std::numeric_limits<int64_t>::max)(),
584 EML2_NS::AbstractHdfProxy* proxy = nullptr
585 );
586
609 DLL_IMPORT_OR_EXPORT void pushBackHdf5Array3dOfValues(
610 COMMON_NS::AbstractObject::numericalDatatypeEnum datatype,
611 uint64_t valueCountInFastestDim,
612 uint64_t valueCountInMiddleDim,
613 uint64_t valueCountInSlowestDim,
614 int64_t nullValue = (std::numeric_limits<int64_t>::max)(),
615 EML2_NS::AbstractHdfProxy* proxy = nullptr
616 );
617
648 DLL_IMPORT_OR_EXPORT void setValuesOfInt64Hdf5ArrayOfValues(
649 int64_t const* values,
650 uint64_t const * numValues,
651 uint64_t const * offsetValues,
652 unsigned int numArrayDimensions,
653 EML2_NS::AbstractHdfProxy* proxy = nullptr,
654 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
655 setValuesOfHdf5ArrayOfValues(
656 COMMON_NS::AbstractObject::numericalDatatypeEnum::INT64, values, numValues,
657 offsetValues, numArrayDimensions, proxy, patchIndex);
658 }
659 DLL_IMPORT_OR_EXPORT void setValuesOfUInt64Hdf5ArrayOfValues(
660 uint64_t const* values,
661 uint64_t const * numValues,
662 uint64_t const * offsetValues,
663 unsigned int numArrayDimensions,
664 EML2_NS::AbstractHdfProxy* proxy = nullptr,
665 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
666 setValuesOfHdf5ArrayOfValues(
667 COMMON_NS::AbstractObject::numericalDatatypeEnum::UINT64, values, numValues,
668 offsetValues, numArrayDimensions, proxy, patchIndex);
669 }
670 DLL_IMPORT_OR_EXPORT void setValuesOfInt32Hdf5ArrayOfValues(
671 int32_t const* values,
672 uint64_t const * numValues,
673 uint64_t const * offsetValues,
674 unsigned int numArrayDimensions,
675 EML2_NS::AbstractHdfProxy* proxy = nullptr,
676 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
677 setValuesOfHdf5ArrayOfValues(
678 COMMON_NS::AbstractObject::numericalDatatypeEnum::INT32, values, numValues,
679 offsetValues, numArrayDimensions, proxy, patchIndex);
680 }
681 DLL_IMPORT_OR_EXPORT void setValuesOfUInt32Hdf5ArrayOfValues(
682 uint32_t const* values,
683 uint64_t const * numValues,
684 uint64_t const * offsetValues,
685 unsigned int numArrayDimensions,
686 EML2_NS::AbstractHdfProxy* proxy = nullptr,
687 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
688 setValuesOfHdf5ArrayOfValues(
689 COMMON_NS::AbstractObject::numericalDatatypeEnum::UINT32, values, numValues,
690 offsetValues, numArrayDimensions, proxy, patchIndex);
691 }
692 DLL_IMPORT_OR_EXPORT void setValuesOfInt16Hdf5ArrayOfValues(
693 int16_t const* values,
694 uint64_t const * numValues,
695 uint64_t const * offsetValues,
696 unsigned int numArrayDimensions,
697 EML2_NS::AbstractHdfProxy* proxy = nullptr,
698 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
699 setValuesOfHdf5ArrayOfValues(
700 COMMON_NS::AbstractObject::numericalDatatypeEnum::INT16, values, numValues,
701 offsetValues, numArrayDimensions, proxy, patchIndex);
702 }
703 DLL_IMPORT_OR_EXPORT void setValuesOfUInt16Hdf5ArrayOfValues(
704 uint16_t const* values,
705 uint64_t const * numValues,
706 uint64_t const * offsetValues,
707 unsigned int numArrayDimensions,
708 EML2_NS::AbstractHdfProxy* proxy = nullptr,
709 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
710 setValuesOfHdf5ArrayOfValues(
711 COMMON_NS::AbstractObject::numericalDatatypeEnum::UINT16, values, numValues,
712 offsetValues, numArrayDimensions, proxy, patchIndex);
713 }
714 DLL_IMPORT_OR_EXPORT void setValuesOfInt8Hdf5ArrayOfValues(
715 int8_t const* values,
716 uint64_t const * numValues,
717 uint64_t const * offsetValues,
718 unsigned int numArrayDimensions,
719 EML2_NS::AbstractHdfProxy* proxy = nullptr,
720 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
721 setValuesOfHdf5ArrayOfValues(
722 COMMON_NS::AbstractObject::numericalDatatypeEnum::INT8, values, numValues,
723 offsetValues, numArrayDimensions, proxy, patchIndex);
724 }
725 DLL_IMPORT_OR_EXPORT void setValuesOfUInt8Hdf5ArrayOfValues(
726 uint8_t const* values,
727 uint64_t const * numValues,
728 uint64_t const * offsetValues,
729 unsigned int numArrayDimensions,
730 EML2_NS::AbstractHdfProxy* proxy = nullptr,
731 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
732 setValuesOfHdf5ArrayOfValues(
733 COMMON_NS::AbstractObject::numericalDatatypeEnum::UINT8, values, numValues,
734 offsetValues, numArrayDimensions, proxy, patchIndex);
735 }
736 DLL_IMPORT_OR_EXPORT void setValuesOfDoubleHdf5ArrayOfValues(
737 double const* values,
738 uint64_t const * numValues,
739 uint64_t const * offsetValues,
740 unsigned int numArrayDimensions,
741 EML2_NS::AbstractHdfProxy* proxy = nullptr,
742 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
743 setValuesOfHdf5ArrayOfValues(
744 COMMON_NS::AbstractObject::numericalDatatypeEnum::DOUBLE, values, numValues,
745 offsetValues, numArrayDimensions, proxy, patchIndex);
746 }
747 DLL_IMPORT_OR_EXPORT void setValuesOfFloatHdf5ArrayOfValues(
748 float const* values,
749 uint64_t const * numValues,
750 uint64_t const * offsetValues,
751 unsigned int numArrayDimensions,
752 EML2_NS::AbstractHdfProxy* proxy = nullptr,
753 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
754 setValuesOfHdf5ArrayOfValues(
755 COMMON_NS::AbstractObject::numericalDatatypeEnum::FLOAT, values, numValues,
756 offsetValues, numArrayDimensions, proxy, patchIndex);
757 }
758
785 DLL_IMPORT_OR_EXPORT void setValuesOfInt64Hdf5Array1dOfValues(
786 int64_t const* values,
787 uint64_t valueCount,
788 uint64_t offset,
789 EML2_NS::AbstractHdfProxy* proxy = nullptr,
790 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
791 setValuesOfInt64Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
792 }
793 DLL_IMPORT_OR_EXPORT void setValuesOfUInt64Hdf5Array1dOfValues(
794 uint64_t const* values,
795 uint64_t valueCount,
796 uint64_t offset,
797 EML2_NS::AbstractHdfProxy* proxy = nullptr,
798 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
799 setValuesOfUInt64Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
800 }
801 DLL_IMPORT_OR_EXPORT void setValuesOfInt32Hdf5Array1dOfValues(
802 int32_t const* values,
803 uint64_t valueCount,
804 uint64_t offset,
805 EML2_NS::AbstractHdfProxy* proxy = nullptr,
806 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
807 setValuesOfInt32Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
808 }
809 DLL_IMPORT_OR_EXPORT void setValuesOfUInt32Hdf5Array1dOfValues(
810 uint32_t const* values,
811 uint64_t valueCount,
812 uint64_t offset,
813 EML2_NS::AbstractHdfProxy* proxy = nullptr,
814 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
815 setValuesOfUInt32Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
816 }
817 DLL_IMPORT_OR_EXPORT void setValuesOfInt16Hdf5Array1dOfValues(
818 int16_t const* values,
819 uint64_t valueCount,
820 uint64_t offset,
821 EML2_NS::AbstractHdfProxy* proxy = nullptr,
822 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
823 setValuesOfInt16Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
824 }
825 DLL_IMPORT_OR_EXPORT void setValuesOfUInt16Hdf5Array1dOfValues(
826 uint16_t const* values,
827 uint64_t valueCount,
828 uint64_t offset,
829 EML2_NS::AbstractHdfProxy* proxy = nullptr,
830 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
831 setValuesOfUInt16Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
832 }
833 DLL_IMPORT_OR_EXPORT void setValuesOfInt8Hdf5Array1dOfValues(
834 int8_t const* values,
835 uint64_t valueCount,
836 uint64_t offset,
837 EML2_NS::AbstractHdfProxy* proxy = nullptr,
838 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
839 setValuesOfInt8Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
840 }
841 DLL_IMPORT_OR_EXPORT void setValuesOfUInt8Hdf5Array1dOfValues(
842 uint8_t const* values,
843 uint64_t valueCount,
844 uint64_t offset,
845 EML2_NS::AbstractHdfProxy* proxy = nullptr,
846 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
847 setValuesOfUInt8Hdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
848 }
849 DLL_IMPORT_OR_EXPORT void setValuesOfDoubleHdf5Array1dOfValues(
850 double const * values,
851 uint64_t valueCount,
852 uint64_t offset,
853 EML2_NS::AbstractHdfProxy* proxy = nullptr,
854 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
855 setValuesOfDoubleHdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
856 }
857 DLL_IMPORT_OR_EXPORT void setValuesOfFloatHdf5Array1dOfValues(
858 float const * values,
859 uint64_t valueCount,
860 uint64_t offset,
861 EML2_NS::AbstractHdfProxy* proxy = nullptr,
862 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
863 setValuesOfFloatHdf5ArrayOfValues(values, &valueCount, &offset, 1, proxy, patchIndex);
864 }
865
898 DLL_IMPORT_OR_EXPORT void setValuesOfInt64Hdf5Array2dOfValues(
899 int64_t const* values,
900 uint64_t valueCountInFastestDim,
901 uint64_t valueCountInSlowestDim,
902 uint64_t offsetInFastestDim,
903 uint64_t offsetInSlowestDim,
904 EML2_NS::AbstractHdfProxy* proxy = nullptr,
905 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
906 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
907 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
908 setValuesOfInt64Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
909 }
910 DLL_IMPORT_OR_EXPORT void setValuesOfUInt64Hdf5Array2dOfValues(
911 uint64_t const* values,
912 uint64_t valueCountInFastestDim,
913 uint64_t valueCountInSlowestDim,
914 uint64_t offsetInFastestDim,
915 uint64_t offsetInSlowestDim,
916 EML2_NS::AbstractHdfProxy* proxy = nullptr,
917 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
918 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
919 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
920 setValuesOfUInt64Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
921 }
922 DLL_IMPORT_OR_EXPORT void setValuesOfInt32Hdf5Array2dOfValues(
923 int32_t const* values,
924 uint64_t valueCountInFastestDim,
925 uint64_t valueCountInSlowestDim,
926 uint64_t offsetInFastestDim,
927 uint64_t offsetInSlowestDim,
928 EML2_NS::AbstractHdfProxy* proxy = nullptr,
929 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
930 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
931 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
932 setValuesOfInt32Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
933 }
934 DLL_IMPORT_OR_EXPORT void setValuesOfUInt32Hdf5Array2dOfValues(
935 uint32_t const* values,
936 uint64_t valueCountInFastestDim,
937 uint64_t valueCountInSlowestDim,
938 uint64_t offsetInFastestDim,
939 uint64_t offsetInSlowestDim,
940 EML2_NS::AbstractHdfProxy* proxy = nullptr,
941 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
942 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
943 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
944 setValuesOfUInt32Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
945 }
946 DLL_IMPORT_OR_EXPORT void setValuesOfInt16Hdf5Array2dOfValues(
947 int16_t const* values,
948 uint64_t valueCountInFastestDim,
949 uint64_t valueCountInSlowestDim,
950 uint64_t offsetInFastestDim,
951 uint64_t offsetInSlowestDim,
952 EML2_NS::AbstractHdfProxy* proxy = nullptr,
953 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
954 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
955 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
956 setValuesOfInt16Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
957 }
958 DLL_IMPORT_OR_EXPORT void setValuesOfUInt16Hdf5Array2dOfValues(
959 uint16_t const* values,
960 uint64_t valueCountInFastestDim,
961 uint64_t valueCountInSlowestDim,
962 uint64_t offsetInFastestDim,
963 uint64_t offsetInSlowestDim,
964 EML2_NS::AbstractHdfProxy* proxy = nullptr,
965 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
966 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
967 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
968 setValuesOfUInt16Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
969 }
970 DLL_IMPORT_OR_EXPORT void setValuesOfInt8Hdf5Array2dOfValues(
971 int8_t const* values,
972 uint64_t valueCountInFastestDim,
973 uint64_t valueCountInSlowestDim,
974 uint64_t offsetInFastestDim,
975 uint64_t offsetInSlowestDim,
976 EML2_NS::AbstractHdfProxy* proxy = nullptr,
977 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
978 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
979 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
980 setValuesOfInt8Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
981 }
982 DLL_IMPORT_OR_EXPORT void setValuesOfUInt8Hdf5Array2dOfValues(
983 uint8_t const* values,
984 uint64_t valueCountInFastestDim,
985 uint64_t valueCountInSlowestDim,
986 uint64_t offsetInFastestDim,
987 uint64_t offsetInSlowestDim,
988 EML2_NS::AbstractHdfProxy* proxy = nullptr,
989 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
990 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
991 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
992 setValuesOfUInt8Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
993 }
994 DLL_IMPORT_OR_EXPORT void setValuesOfDoubleHdf5Array2dOfValues(
995 double const * values,
996 uint64_t valueCountInFastestDim,
997 uint64_t valueCountInSlowestDim,
998 uint64_t offsetInFastestDim,
999 uint64_t offsetInSlowestDim,
1000 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1001 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1002 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
1003 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
1004 setValuesOfDoubleHdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
1005 }
1006 DLL_IMPORT_OR_EXPORT void setValuesOfFloatHdf5Array2dOfValues(
1007 float const * values,
1008 uint64_t valueCountInFastestDim,
1009 uint64_t valueCountInSlowestDim,
1010 uint64_t offsetInFastestDim,
1011 uint64_t offsetInSlowestDim,
1012 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1013 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1014 const uint64_t valueCountPerDimension[2] = { valueCountInSlowestDim, valueCountInFastestDim };
1015 const uint64_t offsetPerDimension[2] = { offsetInSlowestDim, offsetInFastestDim };
1016 setValuesOfFloatHdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 2, proxy, patchIndex);
1017 }
1018
1055 DLL_IMPORT_OR_EXPORT void setValuesOfInt64Hdf5Array3dOfValues(
1056 int64_t const* values,
1057 uint64_t valueCountInFastestDim,
1058 uint64_t valueCountInMiddleDim,
1059 uint64_t valueCountInSlowestDim,
1060 uint64_t offsetInFastestDim,
1061 uint64_t offsetInMiddleDim,
1062 uint64_t offsetInSlowestDim,
1063 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1064 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1065 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1066 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1067 setValuesOfInt64Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1068 }
1069 DLL_IMPORT_OR_EXPORT void setValuesOfUInt64Hdf5Array3dOfValues(
1070 uint64_t const* values,
1071 uint64_t valueCountInFastestDim,
1072 uint64_t valueCountInMiddleDim,
1073 uint64_t valueCountInSlowestDim,
1074 uint64_t offsetInFastestDim,
1075 uint64_t offsetInMiddleDim,
1076 uint64_t offsetInSlowestDim,
1077 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1078 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1079 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1080 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1081 setValuesOfUInt64Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1082 }
1083 DLL_IMPORT_OR_EXPORT void setValuesOfInt32Hdf5Array3dOfValues(
1084 int32_t const* values,
1085 uint64_t valueCountInFastestDim,
1086 uint64_t valueCountInMiddleDim,
1087 uint64_t valueCountInSlowestDim,
1088 uint64_t offsetInFastestDim,
1089 uint64_t offsetInMiddleDim,
1090 uint64_t offsetInSlowestDim,
1091 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1092 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1093 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1094 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1095 setValuesOfInt32Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1096 }
1097 DLL_IMPORT_OR_EXPORT void setValuesOfUInt32Hdf5Array3dOfValues(
1098 uint32_t const* values,
1099 uint64_t valueCountInFastestDim,
1100 uint64_t valueCountInMiddleDim,
1101 uint64_t valueCountInSlowestDim,
1102 uint64_t offsetInFastestDim,
1103 uint64_t offsetInMiddleDim,
1104 uint64_t offsetInSlowestDim,
1105 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1106 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1107 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1108 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1109 setValuesOfUInt32Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1110 }
1111 DLL_IMPORT_OR_EXPORT void setValuesOfInt16Hdf5Array3dOfValues(
1112 int16_t const* values,
1113 uint64_t valueCountInFastestDim,
1114 uint64_t valueCountInMiddleDim,
1115 uint64_t valueCountInSlowestDim,
1116 uint64_t offsetInFastestDim,
1117 uint64_t offsetInMiddleDim,
1118 uint64_t offsetInSlowestDim,
1119 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1120 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1121 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1122 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1123 setValuesOfInt16Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1124 }
1125 DLL_IMPORT_OR_EXPORT void setValuesOfUInt16Hdf5Array3dOfValues(
1126 uint16_t const* values,
1127 uint64_t valueCountInFastestDim,
1128 uint64_t valueCountInMiddleDim,
1129 uint64_t valueCountInSlowestDim,
1130 uint64_t offsetInFastestDim,
1131 uint64_t offsetInMiddleDim,
1132 uint64_t offsetInSlowestDim,
1133 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1134 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1135 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1136 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1137 setValuesOfUInt16Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1138 }
1139 DLL_IMPORT_OR_EXPORT void setValuesOfInt8Hdf5Array3dOfValues(
1140 int8_t const* values,
1141 uint64_t valueCountInFastestDim,
1142 uint64_t valueCountInMiddleDim,
1143 uint64_t valueCountInSlowestDim,
1144 uint64_t offsetInFastestDim,
1145 uint64_t offsetInMiddleDim,
1146 uint64_t offsetInSlowestDim,
1147 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1148 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1149 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1150 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1151 setValuesOfInt8Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1152 }
1153 DLL_IMPORT_OR_EXPORT void setValuesOfUInt8Hdf5Array3dOfValues(
1154 uint8_t const* values,
1155 uint64_t valueCountInFastestDim,
1156 uint64_t valueCountInMiddleDim,
1157 uint64_t valueCountInSlowestDim,
1158 uint64_t offsetInFastestDim,
1159 uint64_t offsetInMiddleDim,
1160 uint64_t offsetInSlowestDim,
1161 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1162 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1163 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1164 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1165 setValuesOfUInt8Hdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1166 }
1167 DLL_IMPORT_OR_EXPORT void setValuesOfDoubleHdf5Array3dOfValues(
1168 double const * values,
1169 uint64_t valueCountInFastestDim,
1170 uint64_t valueCountInMiddleDim,
1171 uint64_t valueCountInSlowestDim,
1172 uint64_t offsetInFastestDim,
1173 uint64_t offsetInMiddleDim,
1174 uint64_t offsetInSlowestDim,
1175 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1176 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1177 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1178 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1179 setValuesOfDoubleHdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1180 }
1181 DLL_IMPORT_OR_EXPORT void setValuesOfFloatHdf5Array3dOfValues(
1182 float const * values,
1183 uint64_t valueCountInFastestDim,
1184 uint64_t valueCountInMiddleDim,
1185 uint64_t valueCountInSlowestDim,
1186 uint64_t offsetInFastestDim,
1187 uint64_t offsetInMiddleDim,
1188 uint64_t offsetInSlowestDim,
1189 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1190 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)()) {
1191 const uint64_t valueCountPerDimension[3] = { valueCountInSlowestDim, valueCountInMiddleDim, valueCountInFastestDim };
1192 const uint64_t offsetPerDimension[3] = { offsetInSlowestDim, offsetInMiddleDim, offsetInFastestDim };
1193 setValuesOfFloatHdf5ArrayOfValues(values, valueCountPerDimension, offsetPerDimension, 3, proxy, patchIndex);
1194 }
1195
1196 //***********************************
1197 //*** Reading with hyperslabbing *****
1198 //***********************************
1199
1219 DLL_IMPORT_OR_EXPORT void getInt64ValuesOfPatch(
1220 uint64_t patchIndex,
1221 int64_t* values,
1222 uint64_t const * numValuesInEachDimension,
1223 uint64_t const * offsetInEachDimension,
1224 unsigned int numArrayDimensions
1225 ) const;
1226
1250 DLL_IMPORT_OR_EXPORT void getInt64ValuesOf3dPatch(
1251 uint64_t patchIndex,
1252 int64_t* values,
1253 uint64_t valueCountInFastestDim,
1254 uint64_t valueCountInMiddleDim,
1255 uint64_t valueCountInSlowestDim,
1256 uint64_t offsetInFastestDim,
1257 uint64_t offsetInMiddleDim,
1258 uint64_t offsetInSlowestDim
1259 ) const;
1260
1282 DLL_IMPORT_OR_EXPORT int32_t getIntValuesOfPatch(
1283 uint64_t patchIndex,
1284 int32_t* values,
1285 const uint64_t* numValuesInEachDimension,
1286 const uint64_t* offsetInEachDimension,
1287 unsigned int numArrayDimensions
1288 ) const;
1289
1313 DLL_IMPORT_OR_EXPORT void getIntValuesOf3dPatch(
1314 uint64_t patchIndex,
1315 int32_t* values,
1316 unsigned int valueCountInFastestDim,
1317 unsigned int valueCountInMiddleDim,
1318 unsigned int valueCountInSlowestDim,
1319 unsigned int offsetInFastestDim,
1320 unsigned int offsetInMiddleDim,
1321 unsigned int offsetInSlowestDim
1322 ) const;
1323
1324 //***********************************
1325 //****** FLOATING POINT *************
1326 //***********************************
1327
1336 DLL_IMPORT_OR_EXPORT void pushBackFloatingPointConstantArrayOfValues(double value, uint64_t valueCount);
1337
1352 DLL_IMPORT_OR_EXPORT void pushBackDoubleHdf5Array1dOfValues(const double * values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1353
1372 DLL_IMPORT_OR_EXPORT void pushBackDoubleHdf5Array2dOfValues(const double * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1373
1394 DLL_IMPORT_OR_EXPORT void pushBackDoubleHdf5Array3dOfValues(const double * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1395
1413 DLL_IMPORT_OR_EXPORT void pushBackDoubleHdf5ArrayOfValues(double const * values, uint64_t const * numValues, unsigned int numArrayDimensions, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1414
1420 DLL_IMPORT_OR_EXPORT void pushBackFloatHdf5Array1dOfValues(const float * values, uint64_t valueCount, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1421
1427 DLL_IMPORT_OR_EXPORT void pushBackFloatHdf5Array2dOfValues(const float * values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1428
1434 DLL_IMPORT_OR_EXPORT void pushBackFloatHdf5Array3dOfValues(const float * values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1435
1441 DLL_IMPORT_OR_EXPORT void pushBackFloatHdf5ArrayOfValues(float const * values, uint64_t const * numValues, unsigned int numArrayDimensions, EML2_NS::AbstractHdfProxy* proxy = nullptr);
1442
1461 DLL_IMPORT_OR_EXPORT virtual std::string pushBackRefToExistingFloatingPointDataset(EML2_NS::AbstractHdfProxy* proxy, const std::string & datasetName = "");
1462
1473 DLL_IMPORT_OR_EXPORT void getDoubleValuesOfPatch(uint64_t patchIndex, double * values) const;
1474
1485 DLL_IMPORT_OR_EXPORT void getFloatValuesOfPatch(uint64_t patchIndex, float * values) const;
1486
1487 //******************************************
1488 //*** For FLOATING POINT hyperslabbing *****
1489 //******************************************
1490
1509 DLL_IMPORT_OR_EXPORT void getFloatValuesOfPatch(
1510 uint64_t patchIndex,
1511 float* values,
1512 uint64_t const * numValuesInEachDimension,
1513 uint64_t const * offsetInEachDimension,
1514 unsigned int numArrayDimensions
1515 ) const;
1516
1539 DLL_IMPORT_OR_EXPORT void getFloatValuesOf3dPatch(
1540 uint64_t patchIndex,
1541 float* values,
1542 uint64_t valueCountInFastestDim,
1543 uint64_t valueCountInMiddleDim,
1544 uint64_t valueCountInSlowestDim,
1545 uint64_t offsetInFastestDim,
1546 uint64_t offsetInMiddleDim,
1547 uint64_t offsetInSlowestDim
1548 ) const;
1549
1550 protected:
1551
1557 DLL_IMPORT_OR_EXPORT AbstractValuesProperty(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : AbstractProperty(partialObject) {}
1558
1564
1570 AbstractValuesProperty(gsoap_resqml2_0_1::resqml20__AbstractValuesProperty* fromGsoap) : RESQML2_NS::AbstractProperty(fromGsoap) {}
1571 AbstractValuesProperty(gsoap_eml2_3::resqml22__AbstractValuesProperty* fromGsoap) : RESQML2_NS::AbstractProperty(fromGsoap) {}
1572
1584 EML2_NS::AbstractHdfProxy* getDatasetOfPatch(uint64_t patchIndex, int64_t & nullValue, std::string & dsPath) const final;
1585
1595 COMMON_NS::DataObjectReference getHdfProxyDor(uint64_t patchIndex) const final;
1596
1628 void setValuesOfHdf5ArrayOfValues(
1629 COMMON_NS::AbstractObject::numericalDatatypeEnum datatype,
1630 void const* values,
1631 uint64_t const * numValues,
1632 uint64_t const * offsetValues,
1633 unsigned int numArrayDimensions,
1634 EML2_NS::AbstractHdfProxy* proxy = nullptr,
1635 uint64_t patchIndex = (std::numeric_limits<uint64_t>::max)());
1636 };
1637}
Proxy class for an abstract property.
Definition AbstractProperty.h:36
Proxy class for an abstract values property.
Definition AbstractValuesProperty.h:27
void pushBackInt8Hdf5Array3dOfValues(const int8_t *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2 ::AbstractHdfProxy *proxy, int8_t nullValue)
void getFloatValuesOfPatch(uint64_t patchIndex, float *values) const
void pushBackInt32Hdf5Array2dOfValues(const int *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2 ::AbstractHdfProxy *proxy, int nullValue)
int8_t getInt8ValuesOfPatch(uint64_t patchIndex, int8_t *values) const
double getDoubleConstantValuesOfPatch(uint64_t patchIndex) const
void pushBackInt8Hdf5Array1dOfValues(const int8_t *values, uint64_t valueCount, eml2 ::AbstractHdfProxy *proxy, int8_t nullValue)
virtual void pushBackInt8Hdf5ArrayOfValues(const int8_t *values, const uint64_t *numValues, unsigned int numDimensionsInArray, eml2 ::AbstractHdfProxy *proxy, int8_t nullValue)
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)
void pushBackUInt16Hdf5Array2dOfValues(const unsigned short *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2 ::AbstractHdfProxy *proxy, unsigned short nullValue)
void pushBackFloatingPointConstantArrayOfValues(double value, uint64_t valueCount)
Adds an array constant flaoting point values to the property values.
virtual std::string pushBackRefToExistingIntegerDataset(eml2 ::AbstractHdfProxy *hdfProxy, const std::string &dataset="", int64_t nullValue=(std::numeric_limits< int64_t >::max)())
int64_t getInt64ConstantValuesOfPatch(uint64_t patchIndex) const
void pushBackInt8Hdf5Array2dOfValues(const int8_t *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2 ::AbstractHdfProxy *proxy, int8_t nullValue)
virtual void pushBackInt16Hdf5ArrayOfValues(const short *values, const uint64_t *numValues, unsigned int numDimensionsInArray, eml2 ::AbstractHdfProxy *proxy, short nullValue)
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:785
virtual std::string pushBackRefToExistingFloatingPointDataset(eml2 ::AbstractHdfProxy *proxy, const std::string &datasetName="")
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 pushBackFloatHdf5ArrayOfValues(float const *values, uint64_t const *numValues, unsigned int numArrayDimensions, eml2 ::AbstractHdfProxy *proxy=nullptr)
void getFloatValuesOfPatch(uint64_t patchIndex, float *values, uint64_t const *numValuesInEachDimension, uint64_t const *offsetInEachDimension, unsigned int numArrayDimensions) const
void pushBackHdf5Array1dOfValues(common ::AbstractObject::numericalDatatypeEnum datatype, uint64_t valueCount, int64_t nullValue=(std::numeric_limits< int64_t >::max)(), eml2 ::AbstractHdfProxy *proxy=nullptr)
int16_t getInt16ValuesOfPatch(uint64_t patchIndex, int16_t *values) const
void pushBackInt32Hdf5Array1dOfValues(const int *values, uint64_t valueCount, eml2 ::AbstractHdfProxy *proxy, int nullValue)
void pushBackDoubleHdf5Array1dOfValues(const double *values, uint64_t valueCount, eml2 ::AbstractHdfProxy *proxy=nullptr)
Adds a 1d array of explicit double values to the property values.
int64_t getInt64ValuesOfPatch(uint64_t patchIndex, int64_t *values) const
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:898
int64_t getNullValueOfPatch(uint64_t patchIndex) const
void pushBackFloatHdf5Array3dOfValues(const float *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2 ::AbstractHdfProxy *proxy=nullptr)
virtual void pushBackUInt16Hdf5ArrayOfValues(const unsigned short *values, const uint64_t *numValues, unsigned int numDimensionsInArray, eml2 ::AbstractHdfProxy *proxy, unsigned short nullValue)
uint8_t getUInt8ValuesOfPatch(uint64_t patchIndex, uint8_t *values) const
void pushBackInt32Hdf5Array3dOfValues(const int *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2 ::AbstractHdfProxy *proxy, int nullValue)
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 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.
bool hasConstantValues(uint64_t patchIndex) const
void pushBackFloatHdf5Array1dOfValues(const float *values, uint64_t valueCount, 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:648
void pushBackFloatHdf5Array2dOfValues(const float *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2 ::AbstractHdfProxy *proxy=nullptr)
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 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 pushBackInt32Hdf5ArrayOfValues(const int *values, const uint64_t *numValues, unsigned int numDimensionsInArray, eml2 ::AbstractHdfProxy *proxy, int nullValue)
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:244
void getDoubleValuesOfPatch(uint64_t patchIndex, double *values) const
uint32_t getUInt32ValuesOfPatch(uint64_t patchIndex, uint32_t *values) const
void pushBackHdf5Array2dOfValues(common ::AbstractObject::numericalDatatypeEnum datatype, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, int64_t nullValue=(std::numeric_limits< int64_t >::max)(), eml2 ::AbstractHdfProxy *proxy=nullptr)
int32_t getInt32ValuesOfPatch(uint64_t patchIndex, int32_t *values) const
void pushBackInt16Hdf5Array2dOfValues(const short *values, uint64_t valueCountInFastestDim, uint64_t valueCountInSlowestDim, eml2 ::AbstractHdfProxy *proxy, short nullValue)
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 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)
void pushBackUInt16Hdf5Array3dOfValues(const unsigned short *values, uint64_t valueCountInFastestDim, uint64_t valueCountInMiddleDim, uint64_t valueCountInSlowestDim, eml2 ::AbstractHdfProxy *proxy, unsigned short 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 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:190
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 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:1055
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