medfile.h
Aller à la documentation de ce fichier.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
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
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
00081