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
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
34 interface MEDCouplingRefCountCorbaInterface : SALOME::ExportableObject, MEDCouplingTimeLabelCorbaInterface
38 interface DataArrayCorbaInterface : MEDCouplingRefCountCorbaInterface
41 SALOME_TYPES::ListOfString getInfoOnComponents();
44 interface DataArrayDoubleCorbaInterface : DataArrayCorbaInterface
46 void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfString sa);
47 void getSerialisationData(out SALOME_TYPES::ListOfDouble da);
50 interface DataArrayIntCorbaInterface : DataArrayCorbaInterface
52 void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfString sa);
53 void getSerialisationData(out SALOME_TYPES::ListOfLong la);
56 interface MEDCouplingMeshCorbaInterface : MEDCouplingRefCountCorbaInterface
59 //!CORBA inplementation of MEDCouplingPointSet::getTinySerializationInformation
60 void getTinyInfo(out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfString sa);
61 void getSerialisationData(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da);
64 interface MEDCouplingPointSetCorbaInterface : MEDCouplingMeshCorbaInterface
66 DataArrayDoubleCorbaInterface getCoords();
69 interface MEDCouplingUMeshCorbaInterface : MEDCouplingPointSetCorbaInterface
73 interface MEDCouplingExtrudedMeshCorbaInterface : MEDCouplingMeshCorbaInterface
77 interface MEDCouplingCMeshCorbaInterface : MEDCouplingMeshCorbaInterface
81 interface MEDCouplingFieldCorbaInterface : MEDCouplingRefCountCorbaInterface
83 MEDCouplingMeshCorbaInterface getMesh();
86 interface MEDCouplingFieldTemplateCorbaInterface : MEDCouplingFieldCorbaInterface
88 //!returns the 3 tiny arrays to prepare the new instance locally.
89 void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfString sa);
90 void getSerialisationData(out SALOME_TYPES::ListOfLong la);
93 interface MEDCouplingFieldDoubleCorbaInterface : MEDCouplingFieldCorbaInterface
96 SALOME_TYPES::ListOfString getInfoOnComponents();
97 //!returns the 3 tiny arrays to prepare the new instance locally.
98 void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfString sa);
99 void getSerialisationData(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble2 da2);
102 typedef sequence<MEDCouplingMeshCorbaInterface> MEDCouplingMeshesCorbaInterface;
104 interface MEDCouplingMultiFieldsCorbaInterface : MEDCouplingRefCountCorbaInterface
107 SALOME_TYPES::ListOfString getInfoOnComponents();
108 long getMainTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out long nbOfArrays, out long nbOfFields);
109 //!for field templates
110 void getTinyInfo(in long id, out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da, out SALOME_TYPES::ListOfString sa);
111 void getSerialisationData(in long id, out SALOME_TYPES::ListOfLong la);
113 DataArrayDoubleCorbaInterface getArray(in long id);
115 MEDCouplingMeshesCorbaInterface getMeshes();
116 MEDCouplingMeshCorbaInterface getMeshWithId(in long id);
119 interface MEDCouplingFieldOverTimeCorbaInterface : MEDCouplingMultiFieldsCorbaInterface
121 void getTinyInfoAboutTimeDefinition(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da);