51 DLL_IMPORT_OR_EXPORT
bool isOpened() const final {
return hdfFile != -1; }
55 COMMON_NS::AbstractObject::numericalDatatypeEnum getNumericalDatatype(const std::
string& groupName) final;
57 int getHdfDatatypeClassInDataset(const std::
string& datasetName) final;
59 void writeItemizedListOfList(const std::
string& groupName,
60 const std::
string& name,
61 COMMON_NS::AbstractObject::numericalDatatypeEnum cumulativeLengthDatatype,
62 const
void* cumulativeLength,
63 uint64_t cumulativeLengthSize,
64 COMMON_NS::AbstractObject::numericalDatatypeEnum elementsDatatype,
66 uint64_t elementsSize) final;
73 std::vector<uint32_t> getElementCountPerDimension(const std::
string & datasetName) final;
75 DLL_IMPORT_OR_EXPORT
void setCompressionLevel(
unsigned int newCompressionLevel) final {
76 compressionLevel = newCompressionLevel > 9 ? 9 : newCompressionLevel;
80 const std::string& name,
81 COMMON_NS::AbstractObject::numericalDatatypeEnum datatype,
83 const uint64_t* numValuesInEachDimension,
84 unsigned int numDimensions)
final;
87 const std::string& groupName,
88 const std::string& name,
89 COMMON_NS::AbstractObject::numericalDatatypeEnum datatype,
90 const uint64_t* numValuesInEachDimension,
91 unsigned int numDimensions
95 const std::string& groupName,
96 const std::string& name,
97 COMMON_NS::AbstractObject::numericalDatatypeEnum datatype,
99 const uint64_t* numValuesInEachDimension,
100 const uint64_t* offsetValuesInEachDimension,
101 unsigned int numDimensions
105 const std::vector<std::string>& attributeNames,
106 const std::vector<std::string>& values)
final;
109 const std::string& attributeName,
110 const std::vector<std::string>& values)
final;
113 const std::vector<std::string>& attributeNames,
114 const std::vector<double>& values)
final;
117 const std::vector<std::string>& attributeNames,
118 const std::vector<int>& values)
final;
121 const std::vector<std::string>& attributeNames,
122 const std::vector<std::string>& values)
final;
125 const std::string& attributeName,
126 const std::vector<std::string>& values)
final;
129 const std::vector<std::string>& attributeNames,
130 const std::vector<double>& values)
final;
133 const std::vector<std::string>& attributeNames,
134 const std::vector<int>& values)
final;
137 const std::string& attr_name)
const final;
140 const std::string& attr_name)
const final;
143 const std::string& attr_name)
const final;
146 const std::string& attr_name)
const final;
151 const std::string& datasetName,
153 uint64_t
const* numValuesInEachDimension,
154 uint64_t
const* offsetInEachDimension,
155 unsigned int numDimensions
159 const std::string& datasetName,
double* values,
160 uint64_t
const* blockCountPerDimension,
161 uint64_t
const* offsetInEachDimension,
162 uint64_t
const* strideInEachDimension,
163 uint64_t
const* blockSizeInEachDimension,
164 unsigned int numDimensions)
final;
167 const std::string& datasetName,
168 uint64_t
const* blockCountPerDimension,
169 uint64_t
const* offsetInEachDimension,
170 uint64_t
const* strideInEachDimension,
171 uint64_t
const* blockSizeInEachDimension,
172 unsigned int numDimensions,
175 hdf5_hid_t& filespace)
final;
179 hdf5_hid_t filespace,
181 uint64_t slabSize)
final;
186 const std::string& datasetName,
188 uint64_t
const* numValuesInEachDimension,
189 uint64_t
const* offsetInEachDimension,
190 unsigned int numDimensions
196 const std::string& datasetName,
198 uint64_t
const* numValuesInEachDimension,
199 uint64_t
const* offsetInEachDimension,
200 unsigned int numDimensions)
final;
207 const std::string& datasetName,
209 uint64_t
const* numValuesInEachDimension,
210 uint64_t
const* offsetInEachDimension,
211 unsigned int numDimensions
224 bool exist(
const std::string& absolutePathInHdfFile)
const final;
237 HdfProxy(gsoap_resqml2_0_1::_eml20__EpcExternalPartReference* fromGsoap) :
251 HdfProxy(
const std::string & packageDirAbsolutePath,
const std::string & externalFilePath, COMMON_NS::DataObjectRepository::openingMode hdfPermissionAccess = COMMON_NS::DataObjectRepository::openingMode::READ_ONLY);
262 void readArrayNdOfValues(
const std::string& datasetName,
void* values, hdf5_hid_t datatype);
282 void readArrayNdOfValues(
283 const std::string& datasetName,
285 uint64_t
const* numValuesInEachDimension,
286 uint64_t
const* offsetInEachDimension,
287 unsigned int numDimensions,
288 hdf5_hid_t datatype);
313 void readArrayNdOfValues(
314 const std::string& datasetName,
316 uint64_t
const* blockCountPerDimension,
317 uint64_t
const* offsetInEachDimension,
318 uint64_t
const* strideInEachDimension,
319 uint64_t
const* blockSizeInEachDimension,
320 unsigned int numDimensions,
321 hdf5_hid_t datatype);
336 void readArrayNdOfValues(
338 hdf5_hid_t filespace,
341 hdf5_hid_t datatype);
346 void writeUuidAttribute();
357 hdf5_hid_t openOrCreateGroup(
const std::string& groupName);
360 hdf5_hid_t hdfFile = -1;
363 unsigned int compressionLevel = 0;
366 std::unique_ptr<hdf5_hid_t> dsetPlistId;
369 std::unordered_map< std::string, hdf5_hid_t > openedGroups;