36 #include "resqml2/EpcExternalPartReference.h" 37 #include "resqml2/AbstractRepresentation.h" 39 #define CUMULATIVE_LENGTH_DS_NAME "cumulativeLength" 40 #define ELEMENTS_DS_NAME "elements" 51 AbstractHdfProxy(
const std::string & packageDirAbsolutePath,
const std::string & externalFilePath);
53 AbstractHdfProxy(gsoap_resqml2_0_1::_eml__EpcExternalPartReference* fromGsoap,
const std::string & packageDirAbsolutePath,
const std::string & externalFilePath) :
60 void initGsoapProxy2_0_1(soap* soapContext,
const std::string & guid,
const std::string & title);
69 virtual void open() = 0;
74 virtual bool isOpened() = 0;
79 virtual void close() = 0;
85 virtual int getHdfDatatypeInDataset(
const std::string & groupName) = 0;
99 virtual void writeItemizedListOfList(
const std::string & groupName,
100 const std::string & name,
101 const int & cumulativeLengthDatatype,
102 void * cumulativeLength,
103 const unsigned long long & cumulativeLengthSize,
104 const int & elementsDatatype,
106 const unsigned long long & elementsSize) = 0;
112 virtual unsigned int getDimensionCount(
const std::string & datasetName) = 0;
118 virtual signed long long getElementCount(
const std::string & datasetName) = 0;
124 virtual void setCompressionLevel(
const unsigned int & newCompressionLevel) = 0;
126 virtual void writeArrayNdOfFloatValues(
const std::string & groupName,
127 const std::string & name,
129 unsigned long long * numValuesInEachDimension,
130 const unsigned int & numDimensions) = 0;
141 virtual void writeArrayNdOfDoubleValues(
const std::string & groupName,
142 const std::string & name,
144 unsigned long long * numValuesInEachDimension,
145 const unsigned int & numDimensions) = 0;
156 virtual void writeArrayNdOfCharValues(
const std::string & groupName,
157 const std::string & name,
159 unsigned long long * numValuesInEachDimension,
160 const unsigned int & numDimensions) = 0;
171 virtual void writeArrayNdOfIntValues(
const std::string & groupName,
172 const std::string & name,
174 unsigned long long * numValuesInEachDimension,
175 const unsigned int & numDimensions) = 0;
186 virtual void writeArrayNdOfGSoapULong64Values(
const std::string & groupName,
187 const std::string & name,
188 ULONG64 * ulong64Values,
189 unsigned long long * numValuesInEachDimension,
190 const unsigned int & numDimensions) = 0;
202 virtual void writeArrayNd(
const std::string & groupName,
203 const std::string & name,
204 const int & datatype,
206 unsigned long long * numValuesInEachDimension,
207 const unsigned int & numDimensions) = 0;
218 virtual void createArrayNd(
219 const std::string& groupName,
220 const std::string& name,
221 const int & datatype,
222 unsigned long long* numValuesInEachDimension,
223 const unsigned int& numDimensions
235 virtual void writeArrayNdSlab(
236 const std::string& groupName,
237 const std::string& name,
238 const int & datatype,
240 unsigned long long* numValuesInEachDimension,
241 unsigned long long* offsetValuesInEachDimension,
242 const unsigned int& numDimensions
250 virtual void readArrayNdOfDoubleValues(
const std::string & datasetName,
double* values) = 0;
260 virtual void readArrayNdOfDoubleValues(
261 const std::string & datasetName,
263 unsigned long long * numValuesInEachDimension,
264 unsigned long long * offsetInEachDimension,
265 const unsigned int & numDimensions
273 virtual void readArrayNdOfFloatValues(
const std::string & datasetName,
float* values) = 0;
283 virtual void readArrayNdOfFloatValues(
284 const std::string & datasetName,
286 unsigned long long * numValuesInEachDimension,
287 unsigned long long * offsetInEachDimension,
288 const unsigned int & numDimensions
294 virtual void readArrayNdOfGSoapLong64Values(
const std::string & datasetName, LONG64* values) = 0;
299 virtual void readArrayNdOfGSoapULong64Values(
const std::string & datasetName, ULONG64* values) = 0;
306 virtual void readArrayNdOfLongValues(
const std::string & datasetName,
long* values) = 0;
316 virtual void readArrayNdOfLongValues(
317 const std::string & datasetName,
319 unsigned long long * numValuesInEachDimension,
320 unsigned long long * offsetInEachDimension,
321 const unsigned int & numDimensions
329 virtual void readArrayNdOfULongValues(
const std::string & datasetName,
unsigned long* values) = 0;
336 virtual void readArrayNdOfIntValues(
const std::string & datasetName,
int* values) = 0;
343 virtual void readArrayNdOfUIntValues(
const std::string & datasetName,
unsigned int* values) = 0;
351 virtual void readArrayNdOfShortValues(
const std::string & datasetName,
short* values) = 0;
358 virtual void readArrayNdOfUShortValues(
const std::string & datasetName,
unsigned short* values) = 0;
365 virtual void readArrayNdOfCharValues(
const std::string & datasetName,
char* values) = 0;
371 virtual void readArrayNdOfUCharValues(
const std::string & datasetName,
unsigned char* values) = 0;
377 virtual std::vector<unsigned long long> readArrayDimensions(
const std::string & datasetName) = 0;
void setHdfProxy(AbstractHdfProxy *proxy)
Definition: AbstractProperty.cpp:452
Definition: AbstractHdfProxy.h:44
Definition: EpcDocument.h:61
Definition: EpcExternalPartReference.h:40