MED fichier

medprofile.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_MEDPROFILE_H
19 #define MED_MEDPROFILE_H
20
21 #include "medC_win_dll.h"
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27
28 /* Profile */
29 MEDC_EXPORT med_int
30 MEDnProfile(const med_idt fid );
31
32 MEDC_EXPORT med_err
33 MEDprofileInfo(const med_idt fid,
34 const int profileit,
35 char * const profilename,
36 med_int * const profilesize );
37 MEDC_EXPORT med_err
38 MEDprofileWr(const med_idt fid,
39 const char* const profilename,
40 const med_int profilesize,
41 const med_int* const profilearray);
42
43 MEDC_EXPORT med_int
44 MEDprofileSizeByName(const med_idt fid, const char * const profilename);
45
46 MEDC_EXPORT med_err
47 MEDprofileRd(const med_idt fid,
48 const char * const profilename,
49 med_int * const profilearray );
50
51
52 #ifdef __cplusplus
53 }
54 #endif
55
56 #endif /* MED_MEDPROFILE_H */
57
MEDC_EXPORT
#define MEDC_EXPORT
Definition: medC_win_dll.h:29
MEDnProfile
MEDC_EXPORT med_int MEDnProfile(const med_idt fid)
Cette routine permet de lire le nombre de profils dans un fichier MED.
Definition: MEDnProfile.c:37
med_idt
hid_t med_idt
Definition: med.h:331
med_err
herr_t med_err
Definition: med.h:332
med_int
int med_int
Definition: med.h:342
medC_win_dll.h
MEDprofileSizeByName
MEDC_EXPORT med_int MEDprofileSizeByName(const med_idt fid, const char *const profilename)
Cette routine permet de lire la taille d'un profil dont on connait le nom.
Definition: MEDprofileSizeByName.c:37
MEDprofileWr
MEDC_EXPORT med_err MEDprofileWr(const med_idt fid, const char *const profilename, const med_int profilesize, const med_int *const profilearray)
Cette routine permet d'écrire un profil dans un fichier MED.
Definition: MEDprofileWr.c:40
MEDprofileRd
MEDC_EXPORT med_err MEDprofileRd(const med_idt fid, const char *const profilename, med_int *const profilearray)
Cette routine permet de lire un profil dans un fichier MED.
Definition: MEDprofileRd.c:39
MEDprofileInfo
MEDC_EXPORT med_err MEDprofileInfo(const med_idt fid, const int profileit, char *const profilename, med_int *const profilesize)
Cette routine permet de lire les informations sur un profil dans un fichier MED.
Definition: MEDprofileInfo.c:40