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 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
00088