]> SALOME platform Git repositories - modules/med.git/blob - idl/MEDCouplingCorbaServant.idl
Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/med.git] / idl / MEDCouplingCorbaServant.idl
1 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
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.
7 //
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.
12 //
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
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #ifndef __MEDCOUPLINGCORBASERVANT_IDL__
21 #define __MEDCOUPLINGCORBASERVANT_IDL__
22
23 #include "SALOME_Types.idl"
24 #include "SALOME_GenericObj.idl"
25
26 module SALOME_MED
27 {
28   interface MEDCouplingTimeLabelCorbaInterface
29   {
30     long getTimeLabel();
31   };
32
33   interface MEDCouplingRefCountCorbaInterface : SALOME::ExportableObject, MEDCouplingTimeLabelCorbaInterface
34   {
35   };
36
37   interface DataArrayCorbaInterface : MEDCouplingRefCountCorbaInterface
38   {
39     string getName();
40     SALOME_TYPES::ListOfString getInfoOnComponents();
41   };
42
43   interface DataArrayDoubleCorbaInterface : DataArrayCorbaInterface
44   {
45     void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfString sa);
46     void getSerialisationData(out SALOME_TYPES::ListOfDouble da);
47   };
48
49   interface DataArrayIntCorbaInterface : DataArrayCorbaInterface
50   {
51     void getTinyInfo(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfString sa);
52     void getSerialisationData(out SALOME_TYPES::ListOfLong la);
53   };
54
55   interface MEDCouplingMeshCorbaInterface : MEDCouplingRefCountCorbaInterface
56   {
57     string getName();
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);
61   };
62
63   interface MEDCouplingPointSetCorbaInterface : MEDCouplingMeshCorbaInterface
64   {
65     DataArrayDoubleCorbaInterface getCoords();
66   };
67
68   interface MEDCouplingUMeshCorbaInterface : MEDCouplingPointSetCorbaInterface
69   {
70   };
71
72   interface MEDCouplingExtrudedMeshCorbaInterface : MEDCouplingMeshCorbaInterface
73   {
74   };
75
76   interface MEDCouplingCMeshCorbaInterface : MEDCouplingMeshCorbaInterface
77   {
78   };
79
80   interface MEDCouplingFieldCorbaInterface : MEDCouplingRefCountCorbaInterface
81   {
82     MEDCouplingMeshCorbaInterface getMesh();
83   };
84   
85   interface MEDCouplingFieldTemplateCorbaInterface : MEDCouplingFieldCorbaInterface
86   {
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);
90   };
91
92   interface MEDCouplingFieldDoubleCorbaInterface : MEDCouplingFieldCorbaInterface
93   {
94     string getName();
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);
99   };
100
101   typedef sequence<MEDCouplingMeshCorbaInterface> MEDCouplingMeshesCorbaInterface;
102
103   interface MEDCouplingMultiFieldsCorbaInterface : MEDCouplingRefCountCorbaInterface
104   {
105     string getName();
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);
111     //!for arrays
112     DataArrayDoubleCorbaInterface getArray(in long id);
113     //! for meshes
114     MEDCouplingMeshesCorbaInterface getMeshes();
115     MEDCouplingMeshCorbaInterface getMeshWithId(in long id);
116   };
117
118   interface MEDCouplingFieldOverTimeCorbaInterface : MEDCouplingMultiFieldsCorbaInterface
119   {
120     void getTinyInfoAboutTimeDefinition(out SALOME_TYPES::ListOfLong la, out SALOME_TYPES::ListOfDouble da);
121   };
122 };
123
124 #endif