medfile.h

Aller à la documentation de ce fichier.
00001 /*  This file is part of MED.
00002  *
00003  *  COPYRIGHT (C) 1999 - 2015  EDF R&D, CEA/DEN
00004  *  MED is free software: you can redistribute it and/or modify
00005  *  it under the terms of the GNU Lesser General Public License as published by
00006  *  the Free Software Foundation, either version 3 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  MED is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU Lesser General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU Lesser General Public License
00015  *  along with MED.  If not, see <http://www.gnu.org/licenses/>.
00016  */
00017 
00018 #ifndef MED_MEDFILE_H
00019 #define MED_MEDFILE_H
00020 
00021 #include "medC_win_dll.h"
00022 
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif
00026 
00027 /* File */
00028 MEDC_EXPORT med_idt
00029 MEDfileOpen(const char* const filename,
00030             const med_access_mode accessmode);
00031 
00032 MEDC_EXPORT med_idt
00033 MEDmemFileOpen(const char* const filename, med_memfile * const memfile, const med_bool filesync,
00034                const med_access_mode accessmode);
00035 
00036 #ifdef MED_HAVE_MPI
00037 MEDC_EXPORT med_idt
00038 MEDparFileOpen(const char* const filename,
00039                const med_access_mode accessmode,
00040                const MPI_Comm comm, const MPI_Info info);
00041 
00042 #endif
00043 
00044 MEDC_EXPORT med_int
00045 MEDfileName(med_idt fid, char * const filename, const med_int filenamesize);
00046 
00047 MEDC_EXPORT med_err
00048 MEDfileClose(med_idt fid);
00049 
00050 MEDC_EXPORT med_err
00051 MEDfileCommentWr(const med_idt fid,
00052                  const char* const comment);
00053 MEDC_EXPORT med_err
00054 MEDfileCommentRd(const med_idt fid,
00055                  char* const comment);
00056 MEDC_EXPORT med_err
00057 MEDfileCompatibility(const char* const filename,
00058                      med_bool* const hdfok,
00059                      med_bool* const medok);
00060 MEDC_EXPORT med_err
00061 MEDfileNumVersionRd(const med_idt fid,
00062                     med_int* const major,
00063                     med_int* const minor,
00064                     med_int* const release);
00065 MEDC_EXPORT med_err
00066 MEDfileStrVersionRd(const med_idt fid,
00067                     char* const version);
00068 MEDC_EXPORT med_idt
00069 MEDfileObjectsMount(const med_idt fid,
00070                     const char* const filename,
00071                     const med_class medclass);
00072 MEDC_EXPORT med_idt
00073 MEDfileObjectsMountById(const med_idt         fid,
00074                         const med_idt         chfid,
00075                         const char * const    chpath,
00076                         const med_class       medclass);
00077 
00078 MEDC_EXPORT med_err
00079 MEDfileObjectsUnmount(const med_idt fid,
00080                       const med_idt mid,
00081                       const med_class medclass);
00082 
00083 #ifdef __cplusplus
00084 }
00085 #endif
00086 
00087 #endif /* MED_MEDFILE_H */
00088 

Généré le Thu Oct 8 14:26:16 2015 pour MED fichier par  doxygen 1.6.1