MED fichier

medfilter.h
Aller à la documentation de ce fichier.
1 /* This file is part of MED.
2 *
3 * COPYRIGHT (C) 1999 - 2021 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_MEDFILTER_H
19 #define MED_MEDFILTER_H
20
21 #include "medC_win_dll.h"
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 MEDC_EXPORT med_err
28 MEDfilterEntityCr(const med_idt fid,
29 const med_int nentity,
30 const med_int nvaluesperentity,
31 const med_int nconstituentpervalue,
32 const med_int constituentselect,
33 const med_switch_mode switchmode,
34 const med_storage_mode storagemode,
35 const char * const profilename,
36 const med_int filterarraysize,
37 const med_int * const filterarray,
38 med_filter* const filter);
39
40 MEDC_EXPORT med_err
41 MEDfilterBlockOfEntityCr(const med_idt fid,
42 const med_int nentity,
43 const med_int nvaluesperentity,
44 const med_int nconstituentpervalue,
45 const med_int constituentselect,
46 const med_switch_mode switchmode,
47 const med_storage_mode storagemode,
48 const char * const profilename,
49 const med_size start,
50 const med_size stride,
51 const med_size count,
52 const med_size blocksize,
53 const med_size lastblocksize,
54 med_filter* const filter);
55
56 MEDC_EXPORT med_err
57 MEDfilterDeAllocate(const int nfilter,
58 med_filter * filter);
59
60 MEDC_EXPORT med_filter*
61 MEDfilterAllocate(const int nfilter);
62
63 MEDC_EXPORT med_err
64 MEDfilterClose( med_filter * const filter);
65
66 #ifdef __cplusplus
67 }
68 #endif
69
70 #endif /* MED_MEDFILTER_H */
71
MEDC_EXPORT
#define MEDC_EXPORT
Definition: medC_win_dll.h:29
MEDfilterEntityCr
MEDC_EXPORT med_err MEDfilterEntityCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_switch_mode switchmode, const med_storage_mode storagemode, const char *const profilename, const med_int filterarraysize, const med_int *const filterarray, med_filter *const filter)
Definition: MEDfilterEntityCr.c:55
MEDfilterAllocate
MEDC_EXPORT med_filter * MEDfilterAllocate(const int nfilter)
Alloue un tableau de filtres de taille nfilter.
Definition: MEDfilterAllocate.c:35
med_filter
Filtre de sélection.
Definition: med.h:355
med_size
hsize_t med_size
Definition: med.h:329
med_idt
hid_t med_idt
Definition: med.h:331
med_err
herr_t med_err
Definition: med.h:332
MEDfilterBlockOfEntityCr
MEDC_EXPORT med_err MEDfilterBlockOfEntityCr(const med_idt fid, const med_int nentity, const med_int nvaluesperentity, const med_int nconstituentpervalue, const med_int constituentselect, const med_switch_mode switchmode, 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)
Crée un filtre en selectionnant par blocs les entités pour lesquelles on veut lire/écrire des valeurs...
Definition: MEDfilterBlockOfEntityCr.c:52
med_int
int med_int
Definition: med.h:342
medC_win_dll.h
MEDfilterClose
MEDC_EXPORT med_err MEDfilterClose(med_filter *const filter)
Désalloue les ressources hdf détenues par un filtre.
Definition: MEDfilterClose.c:35
med_switch_mode
med_switch_mode
Definition: med.h:96
med_storage_mode
med_storage_mode
Definition: med.h:108
MEDfilterDeAllocate
MEDC_EXPORT med_err MEDfilterDeAllocate(const int nfilter, med_filter *filter)
Desalloue un tableau de filtre de taille nfilter.
Definition: MEDfilterDeAllocate.c:33