Salome HOME
Porting PYCALCULATOR module to the CMake build system: initial version.
[samples/pycalculator.git] / resources / PYCALCULATORCatalog.xml.in
1 <?xml version='1.0' encoding='us-ascii' ?>
2 <!--
3   Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
4
5   Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
6   CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
7
8   This library is free software; you can redistribute it and/or
9   modify it under the terms of the GNU Lesser General Public
10   License as published by the Free Software Foundation; either
11   version 2.1 of the License.
12
13   This library is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16   Lesser General Public License for more details.
17
18   You should have received a copy of the GNU Lesser General Public
19   License along with this library; if not, write to the Free Software
20   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21
22   See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23
24 -->
25  
26 <!-- XML component catalog -->
27 <begin-catalog>
28     <!-- Path prefix information -->
29     <path-prefix-list></path-prefix-list>
30     <!-- Component list -->
31     <component-list>
32         <component>
33             <!-- Component identification -->
34             <component-name>PYCALCULATOR</component-name>
35             <component-username>PyCalculator</component-username>
36             <component-type>OTHER</component-type>
37             <component-author>LD</component-author>
38             <component-version>@SALOMEPYCALCULATOR_VERSION@</component-version>
39             <component-comment>Test component (Arithmetic operations with MED_Field)</component-comment>
40             <component-multistudy>0</component-multistudy>
41             <component-icone>PYCALCULATOR.png</component-icone>
42             <constraint>hostname = localhost</constraint>
43             <component-impltype>0</component-impltype>
44             <!-- Component interfaces -->
45             <component-interface-list>
46                 <component-interface-name>PYCALCULATOR_Gen</component-interface-name>
47                 <component-interface-comment>No comment</component-interface-comment>
48                 <!-- Service list -->
49                 <component-service-list>
50                     <component-service>
51                         <!-- service-identification -->
52                         <service-name>Add</service-name>
53                         <service-author>LD</service-author>
54                         <service-version>1.0</service-version>
55                         <service-comment>Addition of 2 fields of double</service-comment>
56                         <service-by-default>1</service-by-default>
57                         <!-- service-connexion -->
58                         <inParameter-list>
59                             <inParameter>
60                                 <inParameter-name>field1</inParameter-name>
61                                 <inParameter-type>SALOME_MED/FIELDDOUBLE</inParameter-type>
62                                 <inParameter-comment>first field of double</inParameter-comment>
63                             </inParameter>
64                             <inParameter>
65                                 <inParameter-name>field2</inParameter-name>
66                                 <inParameter-type>SALOME_MED/FIELDDOUBLE</inParameter-type>
67                                 <inParameter-comment>second field of double</inParameter-comment>
68                             </inParameter>
69                         </inParameter-list>
70                         <outParameter-list>
71                             <outParameter>
72                                 <outParameter-name>result</outParameter-name>
73                                 <outParameter-type>SALOME_MED/FIELDDOUBLE</outParameter-type>
74                                 <outParameter-comment>result</outParameter-comment>
75                             </outParameter>
76                         </outParameter-list>
77                         <DataStream-list></DataStream-list>
78                     </component-service>
79                     <component-service>
80                         <!-- service-identification -->
81                         <service-name>Mul</service-name>
82                         <service-author>LD</service-author>
83                         <service-version>1.0</service-version>
84                         <service-comment>Multiplication of 2 fields of double</service-comment>
85                         <service-by-default>0</service-by-default>
86                         <!-- service-connexion -->
87                         <inParameter-list>
88                             <inParameter>
89                                 <inParameter-name>field1</inParameter-name>
90                                 <inParameter-type>SALOME_MED/FIELDDOUBLE</inParameter-type>
91                                 <inParameter-comment>initial field of double</inParameter-comment>
92                             </inParameter>
93                             <inParameter>
94                                 <inParameter-name>x1</inParameter-name>
95                                 <inParameter-type>double</inParameter-type>
96                                 <inParameter-comment>multiplicator</inParameter-comment>
97                             </inParameter>
98                         </inParameter-list>
99                         <outParameter-list>
100                             <outParameter>
101                                 <outParameter-name>result</outParameter-name>
102                                 <outParameter-type>SALOME_MED/FIELDDOUBLE</outParameter-type>
103                                 <outParameter-comment>result</outParameter-comment>
104                             </outParameter>
105                         </outParameter-list>
106                         <DataStream-list></DataStream-list>
107                     </component-service>
108                     <component-service>
109                         <!-- service-identification -->
110                         <service-name>Constant</service-name>
111                         <service-author>LD</service-author>
112                         <service-version>1.0</service-version>
113                         <service-comment>Build a constant field of doubles</service-comment>
114                         <service-by-default>0</service-by-default>
115                         <!-- service-connexion -->
116                         <inParameter-list>
117                             <inParameter>
118                                 <inParameter-name>field1</inParameter-name>
119                                 <inParameter-type>SALOME_MED/FIELDDOUBLE</inParameter-type>
120                                 <inParameter-comment>allows to build the support</inParameter-comment>
121                             </inParameter>
122                             <inParameter>
123                                 <inParameter-name>x1</inParameter-name>
124                                 <inParameter-type>double</inParameter-type>
125                                 <inParameter-comment>the constant</inParameter-comment>
126                             </inParameter>
127                         </inParameter-list>
128                         <outParameter-list>
129                             <outParameter>
130                                 <outParameter-name>result</outParameter-name>
131                                 <outParameter-type>SALOME_MED/FIELDDOUBLE</outParameter-type>
132                                 <outParameter-comment>result based on first field support</outParameter-comment>
133                             </outParameter>
134                         </outParameter-list>
135                         <DataStream-list></DataStream-list>
136                     </component-service>
137                     <component-service>
138                         <!-- service-identification -->
139                         <service-name>writeMEDfile</service-name>
140                         <service-author>LD</service-author>
141                         <service-version>1.0</service-version>
142                         <service-comment>write a field in a Med file</service-comment>
143                         <service-by-default>0</service-by-default>
144                         <!-- service-connexion -->
145                         <inParameter-list>
146                             <inParameter>
147                                 <inParameter-name>field1</inParameter-name>
148                                 <inParameter-type>SALOME_MED/FIELDDOUBLE</inParameter-type>
149                                 <inParameter-comment>transient Med field</inParameter-comment>
150                             </inParameter>
151                             <inParameter>
152                                 <inParameter-name>filename</inParameter-name>
153                                 <inParameter-type>string</inParameter-type>
154                                 <inParameter-comment>Med filename</inParameter-comment>
155                             </inParameter>
156                         </inParameter-list>
157                         <outParameter-list></outParameter-list>
158                         <DataStream-list></DataStream-list>
159                     </component-service>
160                 </component-service-list>
161             </component-interface-list>
162         </component>
163     </component-list>
164 </begin-catalog>