1 //=============================================================================
4 // Copyright : EDF 2001
5 //=============================================================================
11 #include "SALOME_Exception.idl"
12 #include "SALOME_Component.idl"
13 #include "SALOMEDS.idl"
18 interface MED_Gen : Engines::Component, SALOMEDS::Driver
21 it returns a Corba pointer %MESH on the mesh stored in the .med file
22 <VAR>fileName</VAR> with the name <VAR>meshName</VAR>; and it pushes it
23 in the study named <VAR>studyName</VAR>.
25 SALOME_MED::MESH readMeshInFile(in string fileName, in string studyName,
27 raises(SALOME::SALOME_Exception);
30 it returns a Corba pointer %FIELD on the field instance with the order
31 <VAR>ordre</VAR> at the iteration <VAR>iter</VAR>, stored in the .med
32 file <VAR>fileName</VAR> with the name <VAR>fieldName</VAR>; and it
33 pushes it in the study named <VAR>studyName</VAR>.
35 SALOME_MED::FIELD readFieldInFile(in string fileName, in string studyName,
36 in string fieldName, in long ordre,
38 raises (SALOME::SALOME_Exception);
41 it returns a Corba pointer on the %MED object regrouping all objects
42 (%MESH and %FIELD) stored in the file <VAR>fileName</VAR>; and it pushes
43 all those objects in the study named <VAR>studyName</VAR>. All instances
44 of the fields are stored without their type.
46 SALOME_MED::MED readStructFile(in string fileName,
48 raises (SALOME::SALOME_Exception);
51 It pushes all Corba pointers (%MED, %MESH, %FIELD) in the study named
52 <VAR>studyName</VAR>. The %MED object regroups all objects
53 (%MESH and %FIELD) stored in the file <VAR>fileName</VAR> and all
54 instances of the fields are stored with their own type.
56 void readStructFileWithFieldType(in string fileName,
58 raises (SALOME::SALOME_Exception);