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>.
24 SALOME_MED::MESH readMeshInFile(in string fileName, in string studyName,
26 raises(SALOME::SALOME_Exception);
29 it returns a Corba pointer %FIELD on the field instance with the order
30 <VAR>ordre</VAR> at the iteration <VAR>iter</VAR>, stored in the .med
31 file <VAR>fileName</VAR> with the name <VAR>fieldName</VAR>.
33 SALOME_MED::FIELD readFieldInFile(in string fileName, in string studyName,
34 in string fieldName, in long ordre,
36 raises (SALOME::SALOME_Exception);
39 it returns a Corba pointer on the %MED object regrouping all objects
40 (%MESH and %FIELD) stored in the file <VAR>fileName</VAR>. All instances
41 of the fields are stored without their type.
43 SALOME_MED::MED readStructFile(in string fileName,
45 raises (SALOME::SALOME_Exception);
48 It pushes all Corba pointers (%MED, %MESH, %FIELD) in the study named
49 <VAR>studyName</VAR>. The %MED object regroups all objects
50 (%MESH and %FIELD) stored in the file <VAR>fileName</VAR> and all
51 instances of the fields are stored with their own type.
53 void readStructFileWithFieldType(in string fileName,
55 raises (SALOME::SALOME_Exception);