medfile.h

Aller à la documentation de ce fichier.
00001 /*  This file is part of MED.
00002  *
00003  *  COPYRIGHT (C) 1999 - 2014  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 #ifdef MED_HAVE_MPI
00033 MEDC_EXPORT med_idt
00034 MEDparFileOpen(const char* const filename,
00035                const med_access_mode accessmode,
00036                const MPI_Comm comm, const MPI_Info info);
00037 
00038 #endif
00039 
00040 MEDC_EXPORT med_err
00041 MEDfileClose(med_idt fid);
00042 
00043 MEDC_EXPORT med_err
00044 MEDfileCommentWr(const med_idt fid,
00045                  const char* const comment);
00046 MEDC_EXPORT med_err
00047 MEDfileCommentRd(const med_idt fid,
00048                  char* const comment);
00049 MEDC_EXPORT med_err
00050 MEDfileCompatibility(const char* const filename,
00051                      med_bool* const hdfok,
00052                      med_bool* const medok);
00053 MEDC_EXPORT med_err
00054 MEDfileNumVersionRd(const med_idt fid,
00055                     med_int* const major,
00056                     med_int* const minor,
00057                     med_int* const release);
00058 MEDC_EXPORT med_err
00059 MEDfileStrVersionRd(const med_idt fid,
00060                     char* const version);
00061 MEDC_EXPORT med_idt
00062 MEDfileObjectsMount(const med_idt fid,
00063                     const char* const filename,
00064                     const med_class medclass);
00065 MEDC_EXPORT med_idt
00066 MEDfileObjectsMountById(const med_idt         fid,
00067                         const med_idt         chfid,
00068                         const char * const    chpath,
00069                         const med_class       medclass);
00070 
00071 MEDC_EXPORT med_err
00072 MEDfileObjectsUnmount(const med_idt fid,
00073                       const med_idt mid,
00074                       const med_class medclass);
00075 
00076 #ifdef __cplusplus
00077 }
00078 #endif
00079 
00080 #endif /* MED_MEDFILE_H */
00081 

Généré le Thu Nov 6 16:47:02 2014 pour MED fichier par  doxygen 1.6.1