MED fichier
med_hdfi.h
Aller à la documentation de ce fichier.
1 /* This file is part of MED.
2  *
3  * COPYRIGHT (C) 1999 - 2025 EDF R&D, CEA/DEN
4  * MED is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * MED is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with MED. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef MED_HDFI_H
19 #define MED_HDFI_H
20 #include <med.h>
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 
27 /* FONCTIONS INTERFACE MED/HDF */
28 
29 
30 /* Gestion des attributs HDF */
31 extern MEDC_EXPORT
32 med_idt _MEDattrOuvrir(med_idt pid,char * nom);
33 
34 extern MEDC_EXPORT
36  const char * const datagroupname,
37  const char * const attributename,
38  med_bool * const attributeexist );
39 extern MEDC_EXPORT
41 
42 extern MEDC_EXPORT
43 med_err _MEDattrNumEcrire(med_idt pere,med_field_type type,char *nom,unsigned char *val);
44 
45 #define _MEDattributeIntWr(w,x,y) _MEDattributeNumWr(w,x, MED_INTERNAL_INT, (unsigned char *) y)
46 #define _MEDattributeInt8Wr(w,x,y) _MEDattributeNumWr(w,x, MED_INTERNAL_INT8, (unsigned char *) y)
47 #define _MEDattributeInt32Wr(w,x,y) _MEDattributeNumWr(w,x, MED_INTERNAL_INT32, (unsigned char *) y)
48 #define _MEDattrFloatEcrire(w,x,y) _MEDattrNumEcrire(w,MED_FLOAT64,x,(unsigned char *) y)
49 
50 extern MEDC_EXPORT
52  const char * const attname,
53  const med_internal_type type,
54  const unsigned char * const val);
55 
56 extern MEDC_EXPORT
58  const char * const path ,
59  const char * const attname,
60  const med_internal_type type,
61  const unsigned char * const val);
62 
63 /* extern MEDC_EXPORT */
64 /* med_err _MEDattrNumLire(med_idt pere,med_field_type type,const char * const nom,unsigned char *val); */
65 extern MEDC_EXPORT
66 med_err _MEDattrNumLire(med_idt pere,med_field_type type,const char * const nom,void * const val);
67 
68 #define _MEDattrEntierLire(x,y,z) _MEDattrNumLire(x,MED_INT , y, (void * const) z)
69 #define _MEDattributeInt8Rd(x,y,z) _MEDattrNumLire(x, MED_INTERNAL_INT8, y, (void * const) z)
70 #define _MEDattributeInt32Rd(x,y,z) _MEDattrNumLire(x, MED_INTERNAL_INT32, y,(void * const) z)
71 #define _MEDattrFloatLire(x,y,z) _MEDattrNumLire(x,MED_FLOAT64 , y, (void * const) z)
72 
73 extern MEDC_EXPORT
75  const char * const path ,
76  const char * const attname,
77  const med_internal_type type,
78  unsigned char * const val);
79 
80 extern MEDC_EXPORT
81 med_err _MEDattrStringEcrire(med_idt pere,const char * const nom,int longueur,const char * const val);
82 
83 extern MEDC_EXPORT
85  const char * const path,
86  const char * const attname,
87  const med_size attsize,
88  const char * const val);
89 extern MEDC_EXPORT
91  const char * const attname,
92  const med_size attsize,
93  const char * const val);
94 extern MEDC_EXPORT
95 
96 med_err _MEDattrStringLire(med_idt pere,char *nom,int longueur,char *val);
97 
98 extern MEDC_EXPORT
100  const char * const path ,
101  const char * const attname,
102  const med_size attsize,
103  char * const val);
104 
105 
106 /* Gestion des datagroups HDF */
107 extern MEDC_EXPORT
108 med_idt _MEDdatagroupCreer(med_idt pid, const char * const nom);
109 
110 extern MEDC_EXPORT
111 med_idt _MEDdatagroupCrOrderCr(const med_idt pid, const char * const name);
112 
113 extern MEDC_EXPORT
114 med_idt _MEDdatagroupOuvrir(med_idt pid, const char * const nom);
115 
116 extern MEDC_EXPORT
117 med_idt _MEDdatagroupOpen(const med_idt pid, const char * const name);
118 
119 extern MEDC_EXPORT
121 
122 extern MEDC_EXPORT
123 med_err _MEDdatagroupLienCreer(med_idt id,const char *nom, const char *nom_lien);
124 
125 extern MEDC_EXPORT
126 med_err _MEDdatagroupLienSupprimer(med_idt id,const char *nom_lien);
127 
128 
129 /* Gestion des datasets HDF */
130 
131 extern MEDC_EXPORT
132 med_idt _MEDdatasetOuvrir(med_idt pid,char *nom);
133 
134 extern MEDC_EXPORT
136 
137 extern MEDC_EXPORT
138 med_err _MEDdatasetWr(const med_idt id,
139  const char * const datasetname,
140  const med_internal_type datatype,
141  const med_filter* const filter,
142  const void * const value);
143 extern MEDC_EXPORT
144 med_err _MEDdatasetRd(const med_idt id,
145  const char * const datasetname,
146  const med_internal_type datatype,
147  const med_filter* const filter,
148  unsigned char * const value);
149 
150 /* Gestion des fichiers HDF */
151 #ifdef MED_HAVE_MPI
152 
153 extern MEDC_EXPORT
154 med_idt _MEDparFileOpen(const char * const filename,const med_access_mode accessmode,
155  const MPI_Comm comm, const MPI_Info info);
156 
157 extern MEDC_EXPORT
158 med_idt _MEDparFileCreate(const char * const filename, const med_access_mode accessmode,
159  const MPI_Comm comm, const MPI_Info info);
160 #endif
161 
162 extern MEDC_EXPORT
163 med_idt _MEDfileOpen(const char * const filename,const med_access_mode accessmode);
164 
165 extern MEDC_EXPORT
166 med_int _MEDfileName(med_idt id, char * const filename, const med_int filenamesize);
167 
168 extern MEDC_EXPORT
169 med_idt _MEDfileCreate(const char * const filename, const med_access_mode accessmode, const med_int major, const med_int minor, const med_int release);
170 
171 extern MEDC_EXPORT
172 med_idt _MEDmemFileOpen(const char * const filename, med_memfile * const memfile, const med_bool filesync, const med_access_mode accessmode);
173 
174 extern MEDC_EXPORT
176 
177 extern MEDC_EXPORT
178 med_err _MEDfichierMonter(med_idt pid, const char *nom, med_idt fid);
179 
180 extern MEDC_EXPORT
181 med_err _MEDfichierDemonter(med_idt pid, const char *nom);
182 
183 extern MEDC_EXPORT
184 med_err _MEDfichierNo(med_idt id, unsigned long * fileno);
185 
186 /* Filtres */
187 extern MEDC_EXPORT
189  const med_int nentity,
190  const med_int nvaluesperentity,
191  const med_int nconstituentpervalue,
192  const med_int constituentselect,
193  const med_storage_mode storagemode,
194  const char * const profilename,
195  const med_int filterarraysize,
196  const med_int* const filterarray,
197  med_filter* const filter);
198 extern MEDC_EXPORT
200  const med_int nentity,
201  const med_int nvaluesperentity,
202  const med_int nconstituentpervalue,
203  const med_int constituentselect,
204  const med_storage_mode storagemode,
205  const char * const profilename,
206  const med_int filterarraysize,
207  const med_int* const filterarray,
208  med_filter* const filter);
209 extern MEDC_EXPORT
211  const med_int nentity,
212  const med_int nvaluesperentity,
213  const med_int nconstituentpervalue,
214  const med_int constituentselect,
215  const med_storage_mode storagemode,
216  const char * const profilename,
217  const med_int filterarraysize,
218  const med_int* const filterarray,
219  med_filter* const filter);
220 
221 extern MEDC_EXPORT
223  const med_int nentity,
224  const med_int nvaluesperentity,
225  const med_int nconstituentpervalue,
226  const med_int constituentselect,
227  const med_storage_mode storagemode,
228  const char * const profilename,
229  const med_int filterarraysize,
230  const med_int* const filterarray,
231  med_filter* const filter);
232 
233 extern MEDC_EXPORT
235  const med_int nentity,
236  const med_int nvaluesperentity,
237  const med_int nconstituentpervalue,
238  const med_int constituentselect,
239  const med_storage_mode storagemode,
240  const char * const profilename,
241  const med_int filterarraysize,
242  const med_int* const filterarray,
243  med_filter* const filter);
244 extern MEDC_EXPORT
246  const med_int nentity,
247  const med_int nvaluesperentity,
248  const med_int nconstituentpervalue,
249  const med_int constituentselect,
250  const med_storage_mode storagemode,
251  const char * const profilename,
252  const med_int filterarraysize,
253  const med_int* const filterarray,
254  med_filter* const filter);
255 extern MEDC_EXPORT
257  const med_int nentity,
258  const med_int nvaluesperentity,
259  const med_int nconstituentpervalue,
260  const med_int constituentselect,
261  const med_storage_mode storagemode,
262  const char * const profilename,
263  const med_int filterarraysize,
264  const med_int* const filterarray,
265  med_filter* const filter);
266 
267 extern MEDC_EXPORT
269  const med_int nentity,
270  const med_int nvaluesperentity,
271  const med_int nconstituentpervalue,
272  const med_int constituentselect,
273  const med_storage_mode storagemode,
274  const char * const profilename,
275  const med_int filterarraysize,
276  const med_int* const filterarray,
277  med_filter* const filter);
278 
279 /* extern MEDC_EXPORT */
280 /* med_err _MEDselectAllEntities(const med_idt fid, */
281 /* const med_int nentity, */
282 /* const med_int nvaluesperentity, */
283 /* const med_int nconstituentpervalue, */
284 /* const med_int constituentselect, */
285 /* med_filter* const filter); */
286 
287 
288 extern MEDC_EXPORT
290  const med_int nentity,
291  const med_int nvaluesperentity,
292  const med_int nconstituentpervalue,
293  const med_int constituentselect,
294  med_filter* const filter);
295 extern MEDC_EXPORT
297  const med_int nentity,
298  const med_int nvaluesperentity,
299  const med_int nconstituentpervalue,
300  const med_int constituentselect,
301  med_filter* const filter);
302 
303 extern MEDC_EXPORT
305  const med_int nentity,
306  const med_int nvaluesperentity,
307  const med_int nconstituentpervalue,
308  const med_int constituentselect,
309  med_filter* const filter);
310 extern MEDC_EXPORT
312  const med_int nentity,
313  const med_int nvaluesperentity,
314  const med_int nconstituentpervalue,
315  const med_int constituentselect,
316  med_filter* const filter);
317 
318 extern MEDC_EXPORT
320  const med_int nentity,
321  const med_int nvaluesperentity,
322  const med_int nconstituentpervalue,
323  const med_int constituentselect,
324  const med_storage_mode storagemode,
325  const char * const profilename,
326  const med_size start,
327  const med_size stride,
328  const med_size count,
329  const med_size blocksize,
330  const med_size lastblocksize,
331  med_filter* const filter);
332 
333 extern MEDC_EXPORT
335  const med_int nentity,
336  const med_int nvaluesperentity,
337  const med_int nconstituentpervalue,
338  const med_int constituentselect,
339  const med_storage_mode storagemode,
340  const char * const profilename,
341  const med_size start,
342  const med_size stride,
343  const med_size count,
344  const med_size blocksize,
345  const med_size lastblocksize,
346  med_filter* const filter);
347 extern MEDC_EXPORT
349  const med_int nentity,
350  const med_int nvaluesperentity,
351  const med_int nconstituentpervalue,
352  const med_int constituentselect,
353  const med_storage_mode storagemode,
354  const char * const profilename,
355  const med_size start,
356  const med_size stride,
357  const med_size count,
358  const med_size blocksize,
359  const med_size lastblocksize,
360  med_filter* const filter);
361 extern MEDC_EXPORT
363  const med_int nentity,
364  const med_int nvaluesperentity,
365  const med_int nconstituentpervalue,
366  const med_int constituentselect,
367  const med_storage_mode storagemode,
368  const char * const profilename,
369  const med_size start,
370  const med_size stride,
371  const med_size count,
372  const med_size blocksize,
373  const med_size lastblocksize,
374  med_filter* const filter);
375 
376 extern MEDC_EXPORT
378  const med_int nentity,
379  const med_int nvaluesperentity,
380  const med_int nconstituentpervalue,
381  const med_int constituentselect,
382  const med_storage_mode storagemode,
383  const char * const profilename,
384  const med_size start,
385  const med_size stride,
386  const med_size count,
387  const med_size blocksize,
388  const med_size lastblocksize,
389  med_filter* const filter);
390 
391 extern MEDC_EXPORT
393  const med_int nentity,
394  const med_int nvaluesperentity,
395  const med_int nconstituentpervalue,
396  const med_int constituentselect,
397  const med_storage_mode storagemode,
398  const char * const profilename,
399  const med_size start,
400  const med_size stride,
401  const med_size count,
402  const med_size blocksize,
403  const med_size lastblocksize,
404  med_filter* const filter);
405 extern MEDC_EXPORT
407  const med_int nentity,
408  const med_int nvaluesperentity,
409  const med_int nconstituentpervalue,
410  const med_int constituentselect,
411  const med_storage_mode storagemode,
412  const char * const profilename,
413  const med_size start,
414  const med_size stride,
415  const med_size count,
416  const med_size blocksize,
417  const med_size lastblocksize,
418  med_filter* const filter);
419 extern MEDC_EXPORT
421  const med_int nentity,
422  const med_int nvaluesperentity,
423  const med_int nconstituentpervalue,
424  const med_int constituentselect,
425  const med_storage_mode storagemode,
426  const char * const profilename,
427  const med_size start,
428  const med_size stride,
429  const med_size count,
430  const med_size blocksize,
431  const med_size lastblocksize,
432  med_filter* const filter);
433 
434 
435 /* Divers */
436 
437 extern MEDC_EXPORT
438 med_err _MEDnObjects(const med_idt fid,const char * const path,med_size *n);
439 
440 extern MEDC_EXPORT
441 med_err _MEDobjectGetName(const med_idt fid,const char * const path,const med_size ind,char *name);
442 
443 extern MEDC_EXPORT
444 med_err
445 _MEDobjectCrOrderGetName(const med_idt fid,const char * const path,const med_size ind,char *name);
446 
447 extern MEDC_EXPORT
448 med_err
449 __MEDobjectGetName(const med_idt fid, const char * const path, const med_size ind, char *name,
450  const H5_index_t index_type, const H5_iter_order_t order );
451 
452 
453 typedef struct {
454  char * srcpath;
455  char * dstpath;
458 } visitordatas;
459 
460 typedef struct {
461  char * attname;
462  char * attval;
463  char * attvalprec;
466 
467 
468 extern MEDC_EXPORT
469 void * _MEDcheckAttributeStringInit( med_string_itdatas * const itdatas, const char * const attname, med_int attsize);
470 extern MEDC_EXPORT
471 med_err _MEDcheckAttributeStringFunc(med_idt id,const char *lname, const H5L_info_t *linfo, void *data);
472 extern MEDC_EXPORT
473 void _MEDcheckAttributeStringFin( med_string_itdatas * const itdatas);
474 
475 extern MEDC_EXPORT
476 med_err _MEDchecknSublinkFunc(med_idt id,const char *lname, const H5L_info_t *linfo, void *data);
477 
478 #define MED_CHECK_ATTRIBUTE_FUNC(_check_med_type_) _MEDcheckAttributeFunc##_check_med_type_
479 #define MED_CHECK_ATTRIBUTE_INIT(_check_med_type_,_check_med_itdata_,_check_med_attname_,_check_med_attsize_) _MEDcheckAttributeInit##_check_med_type_ (_check_med_itdata_,_check_med_attname_,_check_med_attsize_)
480 
481 
482 extern MEDC_EXPORT
483 med_err _MEDcopyName(med_idt id,const char *lname, const H5L_info_t *linfo, void *data);
484 
485 extern MEDC_EXPORT
486 med_err _MEDlinkobjs(med_idt id,const char *lname, const H5L_info_t *linfo, visitordatas *data);
487 
488 extern MEDC_EXPORT
489 med_err _MEDsoftlinkDel(const med_idt id, const char * const softlinkname,
490  med_bool linkmustexist);
491 extern MEDC_EXPORT
493  const char * const linkname,
494  med_bool linkmustexist,
495  med_bool * const isasoftlink
496  );
497 extern MEDC_EXPORT
499  const med_data_type meddatatype,
500  const med_connectivity_mode cmode,
501  med_bool * const isasoftlink,
502  med_bool * const chgt );
503 
504 extern MEDC_EXPORT
506  const med_data_type meddatatype,
507  const med_connectivity_mode cmode,
508  med_bool * const datasetexist,
509  med_bool * const isasoftlink );
510 
511 extern MEDC_EXPORT
513  const char * const datagroupname,
514  med_bool * const datagroupexist,
515  med_bool * const isasoftlink );
516 extern MEDC_EXPORT
518  const char * const datasetname,
519  med_bool * const datasetexist,
520  med_bool * const isasoftlink );
521 
522 typedef herr_t (*medvisitorfunc)( hid_t g_id, const char *name, const H5L_info_t *info, void *op_data);
524 
525 extern MEDC_EXPORT
526 med_err _MEDvisit(const med_idt fid, const char * const srcpath, const char * const dstpath,
528 extern MEDC_EXPORT
529 med_err
530 _MEDiterate(const med_idt fid, herr_t (*func)( hid_t g_id, const char *name, const H5L_info_t *info, void *op_data), void * itdatas );
531 
532 extern MEDC_EXPORT
533 med_err
534 _MEDgetComputationStepName(const med_sorting_type sortingtype, const med_int numdt,
535  const med_int numit, char * const datagroupname);
536 
537 extern MEDC_EXPORT
538 void _MEDmodeErreurVerrouiller(void);
539 
540 extern MEDC_EXPORT
541 void _MEDobjetsOuverts(med_idt fid);
542 #ifdef __cplusplus
543 }
544 #endif
545 
546 #endif /* MED_HDFI_H */
med_data_type
med_data_type
Definition: med.h:159
_MEDfilterBlockOfEntityNoCompactFullCr
MEDC_EXPORT med_err _MEDfilterBlockOfEntityNoCompactFullCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize, med_filter *const filter)
_MEDattributeStringRdByName
MEDC_EXPORT med_err _MEDattributeStringRdByName(med_idt pid, const char *const path, const char *const attname, const med_size attsize, char *const val)
mediteratorfunc
medvisitorfunc mediteratorfunc
Definition: med_hdfi.h:523
_MEDdatasetOuvrir
MEDC_EXPORT med_idt _MEDdatasetOuvrir(med_idt pid, char *nom)
_MEDdatasetRd
MEDC_EXPORT med_err _MEDdatasetRd(const med_idt id, const char *const datasetname, const med_internal_type datatype, const med_filter *const filter, unsigned char *const value)
_MEDfilterEntityFullCompactFullCr
MEDC_EXPORT med_err _MEDfilterEntityFullCompactFullCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_int filterarraysize, const med_int *const filterarray, med_filter *const filter)
med_string_itdatas::attval
char * attval
Definition: med_hdfi.h:462
med_field_type
med_field_type
Definition: med.h:175
visitordatas::gid1
med_idt gid1
Definition: med_hdfi.h:456
_MEDcheckAttributeStringFunc
MEDC_EXPORT med_err _MEDcheckAttributeStringFunc(med_idt id, const char *lname, const H5L_info_t *linfo, void *data)
_MEDfilterBlockOfEntityNoCompactNoCr
MEDC_EXPORT med_err _MEDfilterBlockOfEntityNoCompactNoCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize, med_filter *const filter)
_MEDattrOuvrir
MEDC_EXPORT med_idt _MEDattrOuvrir(med_idt pid, char *nom)
_MEDcheckAttributeStringFin
MEDC_EXPORT void _MEDcheckAttributeStringFin(med_string_itdatas *const itdatas)
_MEDselectAllEntitiesNoNo
MEDC_EXPORT med_err _MEDselectAllEntitiesNoNo(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, med_filter *const filter)
_MEDfilterEntityNoGlobalNoCr
MEDC_EXPORT med_err _MEDfilterEntityNoGlobalNoCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_int filterarraysize, const med_int *const filterarray, med_filter *const filter)
_MEDsoftlinkDel
MEDC_EXPORT med_err _MEDsoftlinkDel(const med_idt id, const char *const softlinkname, med_bool linkmustexist)
_MEDselectAllEntitiesFullFull
MEDC_EXPORT med_err _MEDselectAllEntitiesFullFull(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, med_filter *const filter)
_MEDdatagroupOuvrir
MEDC_EXPORT med_idt _MEDdatagroupOuvrir(med_idt pid, const char *const nom)
_MEDdatasetExist
MEDC_EXPORT med_err _MEDdatasetExist(const med_idt gid, const char *const datasetname, med_bool *const datasetexist, med_bool *const isasoftlink)
med_access_mode
med_access_mode
Definition: med.h:130
_MEDattributeStringWrByName
MEDC_EXPORT med_err _MEDattributeStringWrByName(med_idt pid, const char *const path, const char *const attname, const med_size attsize, const char *const val)
_MEDgetDatasetChgt
MEDC_EXPORT med_err _MEDgetDatasetChgt(const med_idt gid, const med_data_type meddatatype, const med_connectivity_mode cmode, med_bool *const isasoftlink, med_bool *const chgt)
_MEDfichierMonter
MEDC_EXPORT med_err _MEDfichierMonter(med_idt pid, const char *nom, med_idt fid)
_MEDfichierFermer
MEDC_EXPORT med_err _MEDfichierFermer(med_idt fid)
_MEDfilterEntityFullGlobalFullCr
MEDC_EXPORT med_err _MEDfilterEntityFullGlobalFullCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_int filterarraysize, const med_int *const filterarray, med_filter *const filter)
med_int
int med_int
Definition: med.h:361
med_err
herr_t med_err
Definition: med.h:351
_MEDmemFileOpen
MEDC_EXPORT med_idt _MEDmemFileOpen(const char *const filename, med_memfile *const memfile, const med_bool filesync, const med_access_mode accessmode)
_MEDfileCreate
MEDC_EXPORT med_idt _MEDfileCreate(const char *const filename, const med_access_mode accessmode, const med_int major, const med_int minor, const med_int release)
_MEDcopyName
MEDC_EXPORT med_err _MEDcopyName(med_idt id, const char *lname, const H5L_info_t *linfo, void *data)
_MEDdatagroupLienSupprimer
MEDC_EXPORT med_err _MEDdatagroupLienSupprimer(med_idt id, const char *nom_lien)
_MEDdatasetWr
MEDC_EXPORT med_err _MEDdatasetWr(const med_idt id, const char *const datasetname, const med_internal_type datatype, const med_filter *const filter, const void *const value)
med_size
hsize_t med_size
Definition: med.h:348
med_idt
hid_t med_idt
Definition: med.h:350
med_string_itdatas
Definition: med_hdfi.h:460
MEDC_EXPORT
#define MEDC_EXPORT
Definition: medC_win_dll.h:29
_MEDdatagroupLienCreer
MEDC_EXPORT med_err _MEDdatagroupLienCreer(med_idt id, const char *nom, const char *nom_lien)
_MEDattributeExist
MEDC_EXPORT med_err _MEDattributeExist(const med_idt gid, const char *const datagroupname, const char *const attributename, med_bool *const attributeexist)
hid_t
int64_t hid_t
Definition: H5public_extract.h:28
_MEDattributeNumRdByName
MEDC_EXPORT med_err _MEDattributeNumRdByName(med_idt pid, const char *const path, const char *const attname, const med_internal_type type, unsigned char *const val)
_MEDfilterBlockOfEntityNoGlobalNoCr
MEDC_EXPORT med_err _MEDfilterBlockOfEntityNoGlobalNoCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize, med_filter *const filter)
__MEDobjectGetName
MEDC_EXPORT med_err __MEDobjectGetName(const med_idt fid, const char *const path, const med_size ind, char *name, const H5_index_t index_type, const H5_iter_order_t order)
herr_t
int herr_t
Definition: H5public_extract.h:27
med_sorting_type
med_sorting_type
Definition: med.h:328
_MEDfilterEntityFullCompactNoCr
MEDC_EXPORT med_err _MEDfilterEntityFullCompactNoCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_int filterarraysize, const med_int *const filterarray, med_filter *const filter)
visitordatas
Definition: med_hdfi.h:453
_MEDattributeNumWrByName
MEDC_EXPORT med_err _MEDattributeNumWrByName(med_idt pid, const char *const path, const char *const attname, const med_internal_type type, const unsigned char *const val)
visitordatas::srcpath
char * srcpath
Definition: med_hdfi.h:454
_MEDcheckAttributeStringInit
MEDC_EXPORT void * _MEDcheckAttributeStringInit(med_string_itdatas *const itdatas, const char *const attname, med_int attsize)
_MEDchecknSublinkFunc
MEDC_EXPORT med_err _MEDchecknSublinkFunc(med_idt id, const char *lname, const H5L_info_t *linfo, void *data)
_MEDfichierNo
MEDC_EXPORT med_err _MEDfichierNo(med_idt id, unsigned long *fileno)
_MEDnObjects
MEDC_EXPORT med_err _MEDnObjects(const med_idt fid, const char *const path, med_size *n)
_MEDattributeNumWr
MEDC_EXPORT med_err _MEDattributeNumWr(med_idt pid, const char *const attname, const med_internal_type type, const unsigned char *const val)
_MEDdatagroupExist
MEDC_EXPORT med_err _MEDdatagroupExist(const med_idt gid, const char *const datagroupname, med_bool *const datagroupexist, med_bool *const isasoftlink)
_MEDobjectCrOrderGetName
MEDC_EXPORT med_err _MEDobjectCrOrderGetName(const med_idt fid, const char *const path, const med_size ind, char *name)
med_storage_mode
med_storage_mode
Definition: med.h:118
_MEDfileName
MEDC_EXPORT med_int _MEDfileName(med_idt id, char *const filename, const med_int filenamesize)
_MEDfilterBlockOfEntityFullGlobalNoCr
MEDC_EXPORT med_err _MEDfilterBlockOfEntityFullGlobalNoCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize, med_filter *const filter)
_MEDselectAllEntitiesFullNo
MEDC_EXPORT med_err _MEDselectAllEntitiesFullNo(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, med_filter *const filter)
_MEDiterate
MEDC_EXPORT med_err _MEDiterate(const med_idt fid, herr_t(*func)(hid_t g_id, const char *name, const H5L_info_t *info, void *op_data), void *itdatas)
filename
#define filename
Definition: 4.0.1/test10.c:75
_MEDdatasetExistByMedtype
MEDC_EXPORT med_err _MEDdatasetExistByMedtype(const med_idt gid, const med_data_type meddatatype, const med_connectivity_mode cmode, med_bool *const datasetexist, med_bool *const isasoftlink)
_MEDfichierDemonter
MEDC_EXPORT med_err _MEDfichierDemonter(med_idt pid, const char *nom)
_MEDattrStringEcrire
MEDC_EXPORT med_err _MEDattrStringEcrire(med_idt pere, const char *const nom, int longueur, const char *const val)
visitordatas::dstpath
char * dstpath
Definition: med_hdfi.h:455
_MEDdatagroupOpen
MEDC_EXPORT med_idt _MEDdatagroupOpen(const med_idt pid, const char *const name)
_MEDfilterEntityFullGlobalNoCr
MEDC_EXPORT med_err _MEDfilterEntityFullGlobalNoCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_int filterarraysize, const med_int *const filterarray, med_filter *const filter)
_MEDdatagroupFermer
MEDC_EXPORT med_err _MEDdatagroupFermer(med_idt id)
_MEDdatagroupCreer
MEDC_EXPORT med_idt _MEDdatagroupCreer(med_idt pid, const char *const nom)
_MEDdatagroupCrOrderCr
MEDC_EXPORT med_idt _MEDdatagroupCrOrderCr(const med_idt pid, const char *const name)
_MEDselectAllEntitiesNoFull
MEDC_EXPORT med_err _MEDselectAllEntitiesNoFull(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, med_filter *const filter)
_MEDobjetsOuverts
MEDC_EXPORT void _MEDobjetsOuverts(med_idt fid)
_MEDattrNumEcrire
MEDC_EXPORT med_err _MEDattrNumEcrire(med_idt pere, med_field_type type, char *nom, unsigned char *val)
med.h
_MEDfilterBlockOfEntityNoGlobalFullCr
MEDC_EXPORT med_err _MEDfilterBlockOfEntityNoGlobalFullCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize, med_filter *const filter)
_MEDobjectGetName
MEDC_EXPORT med_err _MEDobjectGetName(const med_idt fid, const char *const path, const med_size ind, char *name)
_MEDfilterBlockOfEntityFullGlobalFullCr
MEDC_EXPORT med_err _MEDfilterBlockOfEntityFullGlobalFullCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize, med_filter *const filter)
med_connectivity_mode
med_connectivity_mode
Definition: med.h:266
_MEDfilterEntityNoGlobalFullCr
MEDC_EXPORT med_err _MEDfilterEntityNoGlobalFullCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_int filterarraysize, const med_int *const filterarray, med_filter *const filter)
_MEDisasoftlink
MEDC_EXPORT med_err _MEDisasoftlink(const med_idt id, const char *const linkname, med_bool linkmustexist, med_bool *const isasoftlink)
_MEDfilterEntityNoCompactFullCr
MEDC_EXPORT med_err _MEDfilterEntityNoCompactFullCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_int filterarraysize, const med_int *const filterarray, med_filter *const filter)
_MEDfilterBlockOfEntityFullCompactFullCr
MEDC_EXPORT med_err _MEDfilterBlockOfEntityFullCompactFullCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize, med_filter *const filter)
_MEDlinkobjs
MEDC_EXPORT med_err _MEDlinkobjs(med_idt id, const char *lname, const H5L_info_t *linfo, visitordatas *data)
_MEDattrStringLire
MEDC_EXPORT med_err _MEDattrStringLire(med_idt pere, char *nom, int longueur, char *val)
_MEDattrFermer
MEDC_EXPORT med_err _MEDattrFermer(med_idt id)
med_string_itdatas::attname
char * attname
Definition: med_hdfi.h:461
med_internal_type
med_internal_type
Definition: med.h:166
med_filter
Filtre de sélection.
Definition: med.h:393
_MEDgetComputationStepName
MEDC_EXPORT med_err _MEDgetComputationStepName(const med_sorting_type sortingtype, const med_int numdt, const med_int numit, char *const datagroupname)
_MEDfileOpen
MEDC_EXPORT med_idt _MEDfileOpen(const char *const filename, const med_access_mode accessmode)
_MEDfilterEntityNoCompactNoCr
MEDC_EXPORT med_err _MEDfilterEntityNoCompactNoCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_int filterarraysize, const med_int *const filterarray, med_filter *const filter)
_MEDfilterBlockOfEntityFullCompactNoCr
MEDC_EXPORT med_err _MEDfilterBlockOfEntityFullCompactNoCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_storage_mode storagemode, const char *const profilename, const med_size start, const med_size stride, const med_size count, const med_size blocksize, const med_size lastblocksize, med_filter *const filter)
_MEDattributeStringWr
MEDC_EXPORT med_err _MEDattributeStringWr(med_idt pid, const char *const attname, const med_size attsize, const char *const val)
med_string_itdatas::attvalprec
char * attvalprec
Definition: med_hdfi.h:463
med_bool
med_bool
Definition: med.h:271
_MEDattrNumLire
MEDC_EXPORT med_err _MEDattrNumLire(med_idt pere, med_field_type type, const char *const nom, void *const val)
med_string_itdatas::attsize
med_int attsize
Definition: med_hdfi.h:464
_MEDdatasetFermer
MEDC_EXPORT med_err _MEDdatasetFermer(med_idt id)
medvisitorfunc
herr_t(* medvisitorfunc)(hid_t g_id, const char *name, const H5L_info_t *info, void *op_data)
Definition: med_hdfi.h:522
visitordatas::gid2
med_idt gid2
Definition: med_hdfi.h:457
_MEDvisit
MEDC_EXPORT med_err _MEDvisit(const med_idt fid, const char *const srcpath, const char *const dstpath, medvisitorfunc)
_MEDmodeErreurVerrouiller
MEDC_EXPORT void _MEDmodeErreurVerrouiller(void)
med_memfile
Structure d'acceuil du buffer d'un fichier MED en mémoire.
Definition: med.h:444