Salome HOME
Merging with the MAN_SALOME2 branch
[modules/med.git] / src / MEDMEM_I / MEDMEM_convert.hxx
1 //=============================================================================
2 // File      : MEDMEM_convert.hxx
3 // Created   : mer fév 20 15:47:57 CET 2002
4 // Author    : EDF
5 // Project   : SALOME
6 // Copyright : EDF 2002
7 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_convert.hxx
8 //=============================================================================
9 # if ! defined ( __CONVERT_H__ )
10 # define __CONVERT_H__
11
12 #include <SALOMEconfig.h> 
13 #include CORBA_SERVER_HEADER(MED)
14 #include "MEDMEM_define.hxx"
15
16 using namespace MED_EN;
17
18 #include "MEDMEM_GenDriver.hxx"
19
20 SALOME_MED::medGeometryElement convertMedEltToIdlElt(medGeometryElement element) 
21                                throw (SALOME::SALOME_Exception);
22 SALOME_MED::medEntityMesh      convertMedEntToIdlEnt(medEntityMesh entity) 
23                                throw (SALOME::SALOME_Exception);
24 SALOME_MED::medModeSwitch      convertMedModeToIdlMode(medModeSwitch mode) 
25                                throw (SALOME::SALOME_Exception);
26 SALOME_MED::medDriverTypes     convertMedDriverToIdlDriver(MEDMEM::driverTypes driverType)
27                                throw (SALOME::SALOME_Exception);
28 SALOME_MED::medConnectivity    convertMedConnToIdlConn(medConnectivity connectivite)
29                                throw (SALOME::SALOME_Exception);
30
31 medGeometryElement convertIdlEltToMedElt (SALOME_MED::medGeometryElement element) 
32                       throw (SALOME::SALOME_Exception);
33 medEntityMesh   convertIdlEntToMedEnt(SALOME_MED::medEntityMesh entity) 
34                       throw (SALOME::SALOME_Exception);
35 medModeSwitch       convertIdlModeToMedMode(SALOME_MED::medModeSwitch mode) 
36                       throw (SALOME::SALOME_Exception);
37 MEDMEM::driverTypes           convertIdlDriverToMedDriver(SALOME_MED::medDriverTypes driverType)
38                       throw (SALOME::SALOME_Exception);
39 medConnectivity      convertIdlConnToMedConn(SALOME_MED::medConnectivity connectivite)
40                       throw (SALOME::SALOME_Exception);
41
42
43 bool verifieParam (SALOME_MED::medEntityMesh entity, SALOME_MED::medGeometryElement geomElement)
44      throw (SALOME::SALOME_Exception);
45
46 # endif         /* # if ! defined ( __CONVERT_H__ ) */