1 // Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #ifndef __MEDCOUPLINGCORBASERVANT_IDL__
21 #define __MEDCOUPLINGCORBASERVANT_IDL__
23 #include "SALOME_Types.idl"
24 #include "SALOME_GenericObj.idl"
28 interface MEDCouplingTimeLabelCorbaInterface
33 interface MEDCouplingRefCountCorbaInterface : SALOME::ExportableObject, MEDCouplingTimeLabelCorbaInterface
37 interface DataArrayCorbaInterface : MEDCouplingRefCountCorbaInterface
40 SALOME_TYPES::ListOfString getInfoOnComponents();
43 interface DataArrayDoubleCorbaInterface : DataArrayCorbaInterface
45 void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfString sa);
46 void getSerialisationData(out SALOME_TYPES::ListOfDouble da);
49 interface DataArrayIntCorbaInterface : DataArrayCorbaInterface
51 void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfString sa);
52 void getSerialisationData(out SALOME_TYPES::ListOfLong la);
55 interface MEDCouplingMeshCorbaInterface : MEDCouplingRefCountCorbaInterface
58 //!CORBA inplementation of MEDCouplingPointSet::getTinySerializationInformation
59 void getTinyInfo(out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfString sa);
60 void getSerialisationData(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da);
63 interface MEDCouplingPointSetCorbaInterface : MEDCouplingMeshCorbaInterface
65 DataArrayDoubleCorbaInterface getCoords();
68 interface MEDCouplingUMeshCorbaInterface : MEDCouplingPointSetCorbaInterface
72 interface MEDCouplingExtrudedMeshCorbaInterface : MEDCouplingMeshCorbaInterface
76 interface MEDCouplingCMeshCorbaInterface : MEDCouplingMeshCorbaInterface
80 interface MEDCouplingFieldCorbaInterface : MEDCouplingRefCountCorbaInterface
82 MEDCouplingMeshCorbaInterface getMesh();
85 interface MEDCouplingFieldTemplateCorbaInterface : MEDCouplingFieldCorbaInterface
87 //!returns the 3 tiny arrays to prepare the new instance locally.
88 void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfString sa);
89 void getSerialisationData(out SALOME_TYPES::ListOfLong la);
92 interface MEDCouplingFieldDoubleCorbaInterface : MEDCouplingFieldCorbaInterface
95 SALOME_TYPES::ListOfString getInfoOnComponents();
96 //!returns the 3 tiny arrays to prepare the new instance locally.
97 void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfString sa);
98 void getSerialisationData(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble2 da2);
101 typedef sequence<MEDCouplingMeshCorbaInterface> MEDCouplingMeshesCorbaInterface;
103 interface MEDCouplingMultiFieldsCorbaInterface : MEDCouplingRefCountCorbaInterface
106 SALOME_TYPES::ListOfString getInfoOnComponents();
107 long getMainTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out long nbOfArrays, out long nbOfFields);
108 //!for field templates
109 void getTinyInfo(in long id, out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfString sa);
110 void getSerialisationData(in long id, out SALOME_TYPES::ListOfLong la);
112 DataArrayDoubleCorbaInterface getArray(in long id);
114 MEDCouplingMeshesCorbaInterface getMeshes();
115 MEDCouplingMeshCorbaInterface getMeshWithId(in long id);
118 interface MEDCouplingFieldOverTimeCorbaInterface : MEDCouplingMultiFieldsCorbaInterface
120 void getTinyInfoAboutTimeDefinition(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da);