1 // Copyright (C) 2007-2016 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 MEDCouplingIMeshCorbaInterface : MEDCouplingStructuredMeshCorbaInterface
107 interface MEDCouplingFieldCorbaInterface : MEDCouplingRefCountCorbaInterface
109 MEDCouplingMeshCorbaInterface getMesh();
112 interface MEDCouplingFieldTemplateCorbaInterface : MEDCouplingFieldCorbaInterface
114 //!returns the 3 tiny arrays to prepare the new instance locally.
115 void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfString sa);
116 void getSerialisationData(out SALOME_TYPES::ListOfLong la);
119 interface MEDCouplingFieldDoubleCorbaInterface : MEDCouplingFieldCorbaInterface
122 SALOME_TYPES::ListOfString getInfoOnComponents();
123 //!returns the 3 tiny arrays to prepare the new instance locally.
124 void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfString sa);
125 void getSerialisationData(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble2 da2);
128 typedef sequence<MEDCouplingMeshCorbaInterface> MEDCouplingMeshesCorbaInterface;
130 interface MEDCouplingMultiFieldsCorbaInterface : MEDCouplingRefCountCorbaInterface
133 SALOME_TYPES::ListOfString getInfoOnComponents();
134 long getMainTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out long nbOfArrays, out long nbOfFields);
135 //!for field templates
136 void getTinyInfo(in long id, out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfString sa);
137 void getSerialisationData(in long id, out SALOME_TYPES::ListOfLong la);
139 DataArrayDoubleCorbaInterface getArray(in long id);
141 MEDCouplingMeshesCorbaInterface getMeshes();
142 MEDCouplingMeshCorbaInterface getMeshWithId(in long id);
145 interface MEDCouplingFieldOverTimeCorbaInterface : MEDCouplingMultiFieldsCorbaInterface
147 void getTinyInfoAboutTimeDefinition(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da);