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 //=============================================================================
26 //=============================================================================
32 #include "SALOME_Exception.idl"
33 #include "SALOME_Component.idl"
34 #include "SALOMEDS.idl"
39 interface MED_Gen_Driver : SALOMEDS::Driver
43 interface MED_Gen : Engines::EngineComponent, MED_Gen_Driver
46 it returns a Corba pointer %MESH on the mesh stored in the .med file
47 <VAR>fileName</VAR> with the name <VAR>meshName</VAR>.
49 SALOME_MED::GMESH readMeshInFile(in string fileName, in string studyName,
51 raises(SALOME::SALOME_Exception);
54 it returns a Corba pointer %FIELD on the field instance with the order
55 <VAR>ordre</VAR> at the iteration <VAR>iter</VAR>, stored in the .med
56 file <VAR>fileName</VAR> with the name <VAR>fieldName</VAR>.
58 SALOME_MED::FIELD readFieldInFile(in string fileName, in string studyName,
59 in string fieldName, in long iter,
61 raises (SALOME::SALOME_Exception);
64 it returns a Corba pointer on the %MED object regrouping all objects
65 (%MESH and %FIELD) stored in the file <VAR>fileName</VAR>. All instances
66 of the fields are stored without their type.
68 SALOME_MED::MED readStructFile(in string fileName,
70 raises (SALOME::SALOME_Exception);
73 It pushes all Corba pointers (%MED, %MESH, %FIELD) in the study named
74 <VAR>studyName</VAR>. The %MED object regroups all objects
75 (%MESH and %FIELD) stored in the file <VAR>fileName</VAR> and all
76 instances of the fields are stored with their own type.
78 void readStructFileWithFieldType(in string fileName,
80 raises (SALOME::SALOME_Exception);