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