Salome HOME
Copyrights update
[modules/med.git] / src / MEDMEM_I / MEDMEM_convert.hxx
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 // See http://www.salome-platform.org/
19 //
20 //=============================================================================
21 // File      : MEDMEM_convert.hxx
22 // Created   : mer fév 20 15:47:57 CET 2002
23 // Author    : EDF
24 // Project   : SALOME
25 // Copyright : EDF 2002
26 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_convert.hxx
27 //=============================================================================
28 # if ! defined ( __CONVERT_H__ )
29 # define __CONVERT_H__
30
31 #include <SALOMEconfig.h> 
32 #include CORBA_SERVER_HEADER(MED)
33 #include "MEDMEM_define.hxx"
34
35 using namespace MED_EN;
36
37 #include "MEDMEM_GenDriver.hxx"
38
39 SALOME_MED::medGeometryElement convertMedEltToIdlElt(medGeometryElement element) 
40                                throw (SALOME::SALOME_Exception);
41 SALOME_MED::medEntityMesh      convertMedEntToIdlEnt(medEntityMesh entity) 
42                                throw (SALOME::SALOME_Exception);
43 SALOME_MED::medModeSwitch      convertMedModeToIdlMode(medModeSwitch mode) 
44                                throw (SALOME::SALOME_Exception);
45 SALOME_MED::medDriverTypes     convertMedDriverToIdlDriver(MEDMEM::driverTypes driverType)
46                                throw (SALOME::SALOME_Exception);
47 SALOME_MED::medConnectivity    convertMedConnToIdlConn(medConnectivity connectivite)
48                                throw (SALOME::SALOME_Exception);
49
50 medGeometryElement convertIdlEltToMedElt (SALOME_MED::medGeometryElement element) 
51                       throw (SALOME::SALOME_Exception);
52 medEntityMesh   convertIdlEntToMedEnt(SALOME_MED::medEntityMesh entity) 
53                       throw (SALOME::SALOME_Exception);
54 medModeSwitch       convertIdlModeToMedMode(SALOME_MED::medModeSwitch mode) 
55                       throw (SALOME::SALOME_Exception);
56 MEDMEM::driverTypes           convertIdlDriverToMedDriver(SALOME_MED::medDriverTypes driverType)
57                       throw (SALOME::SALOME_Exception);
58 medConnectivity      convertIdlConnToMedConn(SALOME_MED::medConnectivity connectivite)
59                       throw (SALOME::SALOME_Exception);
60
61
62 bool verifieParam (SALOME_MED::medEntityMesh entity, SALOME_MED::medGeometryElement geomElement)
63      throw (SALOME::SALOME_Exception);
64
65 # endif         /* # if ! defined ( __CONVERT_H__ ) */