Salome HOME
Mantis issue 0021668: [CEA 564] MED2.1 to MED2.3
[modules/med.git] / src / MEDWrapper / V2_1 / Core / med_outils.hxx
1 /*************************************************************************
2 * COPYRIGHT (C) 1999 - 2003  EDF R&D
3 * THIS LIBRARY IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
4 * IT UNDER THE TERMS OF THE GNU LESSER GENERAL PUBLIC LICENSE 
5 * AS PUBLISHED BY THE FREE SOFTWARE FOUNDATION; 
6 * EITHER VERSION 2.1 OF THE LICENSE, OR (AT YOUR OPTION) ANY LATER VERSION.
7 *
8 * THIS LIBRARY IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT
9 * WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF
10 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU
11 * LESSER GENERAL PUBLIC LICENSE FOR MORE DETAILS.
12 *
13 * YOU SHOULD HAVE RECEIVED A COPY OF THE GNU LESSER GENERAL PUBLIC LICENSE
14 * ALONG WITH THIS LIBRARY; IF NOT, WRITE TO THE FREE SOFTWARE FOUNDATION,
15 * INC., 59 TEMPLE PLACE, SUITE 330, BOSTON, MA 02111-1307 USA
16 *
17 *************************************************************************/
18
19 #ifndef MED_OUTILS_H
20 #define MED_OUTILS_H
21 #include "med.hxx"
22
23 #define MED_NOM_MAJEUR (char*)"MAJ"
24 #define MED_NOM_MINEUR (char*)"MIN"
25 #define MED_NOM_RELEASE (char*)"REL"
26
27 #define MED_NUM_MAJEUR 2
28 #define MED_NUM_MINEUR 1
29 #define MED_NUM_RELEASE 6
30
31 #define MED_NOM_INFOS (char*)"INFOS_GENERALES"
32
33 #define MED_NOM_DESCRIPTEUR "descripteur de fichier"
34 #define MED_VERSION_ACTUELLE "2.1.6"
35 #define HDF_VERSION_ACTUELLE "5-1.4.4"
36
37 /* Noms des data sets ou attributs correspondant a des entites MED */
38 #define MED_TAILLE_NOM_ENTITE 3
39 #define MED_NOM_NUM (char*)"NUM"
40 #define MED_NOM_NBR (char*)"NBR"
41 #define MED_NOM_NOM (char*)"NOM"
42 #define MED_NOM_UNV (char*)"UNV"
43 #define MED_NOM_NNS (char*)"NNS"
44 #define MED_NOM_NNM (char*)"NNM"
45 #define MED_NOM_NNI (char*)"NNI"
46 #define MED_NOM_GRO (char*)"GRO"
47 #define MED_NOM_ATT (char*)"ATT"
48 #define MED_NOM_NCO (char*)"NCO"
49 #define MED_NOM_DIM (char*)"DIM"
50 #define MED_NOM_FAM (char*)"FAM"
51 #define MED_NOM_IDE (char*)"IDE"
52 #define MED_NOM_VAL (char*)"VAL"
53 #define MED_NOM_DES (char*)"DES"
54 #define MED_NOM_COR (char*)"COR"
55 #define MED_NOM_DIM (char*)"DIM"
56 #define MED_NOM_NOE (char*)"NOE"
57 #define MED_NOM_COO (char*)"COO"
58 #define MED_NOM_REP (char*)"REP"
59 #define MED_NOM_UNI (char*)"UNI"
60 #define MED_NOM_NOD (char*)"NOD"
61 #define MED_NOM_TYP (char*)"TYP"
62 #define MED_NOM_CO (char*)"CO"
63 #define MED_NOM_NCW (char*)"NCW"
64 #define MED_NOM_TYW (char*)"TYW"
65 #define MED_NOM_MAI (char*)"MAI"
66 #define MED_NOM_FAC (char*)"FAC"
67 #define MED_NOM_ARE (char*)"ARE"
68 #define MED_NOM_PO1 (char*)"PO1"
69 #define MED_NOM_SE2 (char*)"SE2"
70 #define MED_NOM_SE3 (char*)"SE3"
71 #define MED_NOM_TR3 (char*)"TR3"
72 #define MED_NOM_TR6 (char*)"TR6"
73 #define MED_NOM_QU4 (char*)"QU4"
74 #define MED_NOM_QU8 (char*)"QU8"
75 #define MED_NOM_TE4 (char*)"TE4"
76 #define MED_NOM_T10 (char*)"T10"
77 #define MED_NOM_HE8 (char*)"HE8"
78 #define MED_NOM_H20 (char*)"H20"
79 #define MED_NOM_PE6 (char*)"PE6"
80 #define MED_NOM_P15 (char*)"P15"
81 #define MED_NOM_PY5 (char*)"PY5"
82 #define MED_NOM_P13 (char*)"P13"  
83
84 #define MED_NOM_GEO (char*)"GEO"
85 #define MED_NOM_GAU (char*)"GAU"
86 #define MED_NOM_NGA (char*)"NGA"
87 #define MED_NOM_N (char*)"N"
88 #define MED_NOM_PFL (char*)"PFL"
89 #define MED_NOM_NDT (char*)"NDT"
90 #define MED_NOM_PDT (char*)"PDT"
91 #define MED_NOM_NOR (char*)"NOR"
92
93 /* Integration des developpements OCC */
94 #define MED_NOM_GRD (char*)"GRD"
95 #define MED_NOM_BOF (char*)"BOF"
96 #define MED_NOM_IN1 (char*)"IN1"
97 #define MED_NOM_IN2 (char*)"IN2"
98 #define MED_NOM_IN3 (char*)"IN3"
99
100 /* Nom du DATA GROUP CONTENANT TOUS LES MAILLAGES DU FICHIER HDF */
101 #define MED_MAA (char*)"/ENS_MAA/"
102 #define MED_TAILLE_MAA 9
103
104 /* Nom du data group ou ranger les champs solution */
105 #define MED_CHA (char*)"/CHA/"
106 #define MED_TAILLE_CHA 5
107
108 /* Nom du data group ou ranger les familles */
109 #define MED_FAS (char*)"/FAS/"
110 #define MED_TAILLE_FAS 5
111
112 /* Nom du data group ou ranger les equivalences */
113 #define MED_EQS (char*)"/EQS/"
114 #define MED_TAILLE_EQS 5
115
116 /* Nom du data groupe contenant les profils */
117 #define MED_PROFILS (char*)"/PROFILS/"
118 #define MED_TAILLE_PROFILS 9 
119
120 /*Pour eviter le bug solaris*/
121 #include <malloc.h>
122
123 /* Interface des routines du composant tools */
124 #include "med_misc.hxx"
125 #include "med_hdfi.hxx"
126 #include "med_utils.hxx"
127 #endif /* MED_OUTILS_H */