medprofile.h
Aller à la documentation de ce fichier.
/* This file is part of MED.
*
* COPYRIGHT (C) 1999 - 2021 EDF R&D, CEA/DEN
* MED is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* MED is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with MED. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef MED_MEDPROFILE_H
#define MED_MEDPROFILE_H
#include "medC_win_dll.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Profile */
MEDC_EXPORT med_int
MEDnProfile(const med_idt fid );
MEDC_EXPORT med_err
MEDprofileInfo(const med_idt fid,
const int profileit,
char * const profilename,
med_int * const profilesize );
MEDC_EXPORT med_err
MEDprofileWr(const med_idt fid,
const char* const profilename,
const med_int profilesize,
const med_int* const profilearray);
MEDC_EXPORT med_int
MEDprofileSizeByName(const med_idt fid, const char * const profilename);
MEDC_EXPORT med_err
MEDprofileRd(const med_idt fid,
const char * const profilename,
med_int * const profilearray );
#ifdef __cplusplus
}
#endif
#endif /* MED_MEDPROFILE_H */
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