IUF-SDK-3
Interventional Ultrasound Library
iufHDF5.h
Go to the documentation of this file.
1 #ifndef IUFHDF5_H
2 #define IUFHDF5_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #include <hdf5.h>
9 #include "iufTypes.h"
10 
19 herr_t iufHdf5ReadFloat
20 (
21  hid_t handle,
22  const char * pVariableString,
23  float * pValue
24 );
25 
34 herr_t iufHdf5ReadShort
35 (
36  hid_t handle,
37  const char * pVariableString,
38  short * pValue
39 );
40 
49 herr_t iufHdf5ReadInt
50 (
51  hid_t handle,
52  const char * pVariableString,
53  int * pValue
54 );
55 
56 
65 herr_t iufHdf5ReadLong
66 (
67  hid_t handle,
68  const char * pVariableString,
69  long int * pValue
70 );
71 
81 herr_t iufHdf5ReadString
82 (
83  hid_t handle,
84  const char * pVariableString,
85  char * ppReturnString
86 );
87 
100 herr_t iufHdf5ReadGrid
101 (
102  hid_t handle,
103  const char * pGridName,
104  IufGrid * pGrid
105 );
106 
114 herr_t iufHdf5WriteFloat
115 (
116  hid_t handle,
117  const char * pVariableString,
118  float * pValues,
119  int numValues
120 );
121 
130 herr_t iufHdf5WriteInt
131 (
132  hid_t handle,
133  const char * pVariableString,
134  int * pValues,
135  int numValues
136 );
137 
146 herr_t iufHdf5WriteLong
147 (
148  hid_t handle,
149  const char * pVariableString,
150  long * pValues,
151  int numValues
152 );
153 
162 herr_t iufHdf5WriteString
163 (
164  hid_t handle,
165  const char * pVariableString,
166  const char * pString
167 );
168 
182 herr_t iufHdf5WriteGrid
183 (
184  hid_t handle,
185  const char *pGridName,
186  IufGrid * pGrid
187 );
188 
189 #define IUF_MAX_HDF5_PATH 1024
190 
191 #ifdef __cplusplus
192 }
193 #endif
194 
195 #endif
196 
herr_t iufHdf5WriteFloat(hid_t handle, const char *pVariableString, float *pValues, int numValues)
Writes one or an array of floats to an Hdf5 handle.
Definition: iufHDF5.c:254
herr_t iufHdf5ReadShort(hid_t handle, const char *pVariableString, short *pValue)
Reads one or an array of shorts from file stored in the variable pVariableString. ...
Definition: iufHDF5.c:44
herr_t iufHdf5ReadGrid(hid_t handle, const char *pGridName, IufGrid *pGrid)
Reads the grid from file that is defined by pGridName.
Definition: iufHDF5.c:200
herr_t iufHdf5WriteInt(hid_t handle, const char *pVariableString, int *pValues, int numValues)
Writes one or an array of int values to an Hdf5 handle.
Definition: iufHDF5.c:283
herr_t iufHdf5ReadFloat(hid_t handle, const char *pVariableString, float *pValue)
Reads one or an array of floats from file stored in the variable pVariableString. ...
Definition: iufHDF5.c:15
herr_t iufHdf5ReadInt(hid_t handle, const char *pVariableString, int *pValue)
Reads one or an array of ints from file stored in the variable pVariableString.
Definition: iufHDF5.c:72
herr_t iufHdf5ReadLong(hid_t handle, const char *pVariableString, long int *pValue)
Reads one or an array of longs from file stored in the variable pVariableString.
Definition: iufHDF5.c:100
herr_t iufHdf5ReadString(hid_t handle, const char *pVariableString, char *ppReturnString)
Reads a string from file stored in the variable pVariableString.
Definition: iufHDF5.c:128
herr_t iufHdf5WriteGrid(hid_t handle, const char *pGridName, IufGrid *pGrid)
Writes a grid to an Hdf5 handle.
Definition: iufHDF5.c:361
herr_t iufHdf5WriteString(hid_t handle, const char *pVariableString, const char *pString)
Writes a string to an Hdf5 handle.
Definition: iufHDF5.c:339
Definition: iufTypes.h:71
herr_t iufHdf5WriteLong(hid_t handle, const char *pVariableString, long *pValues, int numValues)
Writes one or an array of long values to an Hdf5 handle.
Definition: iufHDF5.c:311