1 // Copyright (C) 2007-2014 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, or (at your option) any later version.
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
19 // Author : Anthony Geay (CEA/DEN)
21 #ifndef __MEDCOUPLINGCORBASERVANT_IDL__
22 #define __MEDCOUPLINGCORBASERVANT_IDL__
24 #include "SALOME_Types.idl"
25 #include "SALOME_GenericObj.idl"
29 interface MEDCouplingTimeLabelCorbaInterface
33 void versionMajMinRel(out long maj, out long min, out long releas);
36 interface MEDCouplingRefCountCorbaInterface : SALOME::ExportableObject, MEDCouplingTimeLabelCorbaInterface
40 interface DataArrayCorbaInterface : MEDCouplingRefCountCorbaInterface
43 SALOME_TYPES::ListOfString getInfoOnComponents();
46 interface DataArrayDoubleCorbaInterface : DataArrayCorbaInterface
48 void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfString sa);
49 void getSerialisationData(out SALOME_TYPES::ListOfDouble da);
52 interface DataArrayIntCorbaInterface : DataArrayCorbaInterface
54 void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfString sa);
55 void getSerialisationData(out SALOME_TYPES::ListOfLong la);
58 interface MEDCouplingMeshCorbaInterface : MEDCouplingRefCountCorbaInterface
61 //!CORBA inplementation of MEDCouplingPointSet::getTinySerializationInformation
62 void getTinyInfo(out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfString sa);
63 void getSerialisationData(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da);
66 interface MEDCouplingPointSetCorbaInterface : MEDCouplingMeshCorbaInterface
68 DataArrayDoubleCorbaInterface getCoords();
71 interface MEDCouplingUMeshCorbaInterface : MEDCouplingPointSetCorbaInterface
75 interface MEDCoupling1GTUMeshCorbaInterface : MEDCouplingPointSetCorbaInterface
79 interface MEDCoupling1SGTUMeshCorbaInterface : MEDCoupling1GTUMeshCorbaInterface
83 interface MEDCoupling1DGTUMeshCorbaInterface : MEDCoupling1GTUMeshCorbaInterface
87 interface MEDCouplingExtrudedMeshCorbaInterface : MEDCouplingMeshCorbaInterface
91 interface MEDCouplingStructuredMeshCorbaInterface : MEDCouplingMeshCorbaInterface
95 interface MEDCouplingCMeshCorbaInterface : MEDCouplingStructuredMeshCorbaInterface
99 interface MEDCouplingCurveLinearMeshCorbaInterface : MEDCouplingStructuredMeshCorbaInterface
103 interface MEDCouplingFieldCorbaInterface : MEDCouplingRefCountCorbaInterface
105 MEDCouplingMeshCorbaInterface getMesh();
108 interface MEDCouplingFieldTemplateCorbaInterface : MEDCouplingFieldCorbaInterface
110 //!returns the 3 tiny arrays to prepare the new instance locally.
111 void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfString sa);
112 void getSerialisationData(out SALOME_TYPES::ListOfLong la);
115 interface MEDCouplingFieldDoubleCorbaInterface : MEDCouplingFieldCorbaInterface
118 SALOME_TYPES::ListOfString getInfoOnComponents();
119 //!returns the 3 tiny arrays to prepare the new instance locally.
120 void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfString sa);
121 void getSerialisationData(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble2 da2);
124 typedef sequence<MEDCouplingMeshCorbaInterface> MEDCouplingMeshesCorbaInterface;
126 interface MEDCouplingMultiFieldsCorbaInterface : MEDCouplingRefCountCorbaInterface
129 SALOME_TYPES::ListOfString getInfoOnComponents();
130 long getMainTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out long nbOfArrays, out long nbOfFields);
131 //!for field templates
132 void getTinyInfo(in long id, out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfString sa);
133 void getSerialisationData(in long id, out SALOME_TYPES::ListOfLong la);
135 DataArrayDoubleCorbaInterface getArray(in long id);
137 MEDCouplingMeshesCorbaInterface getMeshes();
138 MEDCouplingMeshCorbaInterface getMeshWithId(in long id);
141 interface MEDCouplingFieldOverTimeCorbaInterface : MEDCouplingMultiFieldsCorbaInterface
143 void getTinyInfoAboutTimeDefinition(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da);