Salome HOME
Copyrights update 2015.
[samples/datafiles.git] / Superv / Graphs / GraphConvertLongCheck.xml
1 <!DOCTYPE Dataflow>
2 <!--
3   Copyright (C) 2007-2015  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, or (at your option) any later version.
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 <dataflow>
26 <info-list>
27 <node>
28 <component-name>?</component-name>
29    <interface-name>?</interface-name>
30    <node-name>GraphConvertLongCheck</node-name>
31    <kind>1</kind>
32    <coupled-node>?</coupled-node>
33    <service>
34 <service-name>GraphConvertLongCheck</service-name>
35     <inParameter-list/>
36     <outParameter-list>
37 <outParameter>
38 <outParameter-type>string</outParameter-type>
39       <outParameter-name>MiscTypes\OutString</outParameter-name>     </outParameter>
40      <outParameter>
41 <outParameter-type>boolean</outParameter-type>
42       <outParameter-name>MiscTypes\OutBool</outParameter-name>     </outParameter>
43      <outParameter>
44 <outParameter-type>char</outParameter-type>
45       <outParameter-name>MiscTypes\OutChar</outParameter-name>     </outParameter>
46      <outParameter>
47 <outParameter-type>short</outParameter-type>
48       <outParameter-name>MiscTypes\OutShort</outParameter-name>     </outParameter>
49      <outParameter>
50 <outParameter-type>long</outParameter-type>
51       <outParameter-name>MiscTypes\OutLong</outParameter-name>     </outParameter>
52      <outParameter>
53 <outParameter-type>float</outParameter-type>
54       <outParameter-name>MiscTypes\OutFloat</outParameter-name>     </outParameter>
55      <outParameter>
56 <outParameter-type>double</outParameter-type>
57       <outParameter-name>MiscTypes\OutDouble</outParameter-name>     </outParameter>
58      <outParameter>
59 <outParameter-type>SuperVisionTest::Adder</outParameter-type>
60       <outParameter-name>MiscTypes\OutObjRef</outParameter-name>     </outParameter>    </outParameter-list>   </service>
61    <Parameter-list/>
62    <PyFunction-list/>
63    <creation-date>30/7/2003 - 14:23:52</creation-date>
64    <lastmodification-date>12/9/2003 - 10:31:19</lastmodification-date>
65    <editor-release>1.04</editor-release>
66    <author>JR</author>
67    <container>?</container>
68    <comment>Check conversions of Long</comment>
69    <x-position>0</x-position>
70    <y-position>0</y-position>  </node> </info-list>
71  <node-list>
72 <node>
73 <component-name>?</component-name>
74    <interface-name>?</interface-name>
75    <node-name>Long</node-name>
76    <kind>3</kind>
77    <coupled-node>?</coupled-node>
78    <service>
79 <service-name>Long</service-name>
80     <inParameter-list/>
81     <outParameter-list>
82 <outParameter>
83 <outParameter-type>long</outParameter-type>
84       <outParameter-name>OutLong</outParameter-name>     </outParameter>    </outParameter-list>   </service>
85    <Parameter-list/>
86    <PyFunction-list>
87 <PyFunction>
88 <FuncName>Long</FuncName>
89      <PyFunc><![CDATA[def Long() :    ]]></PyFunc>
90      <PyFunc><![CDATA[    aLong = 2147483647 ]]></PyFunc>
91      <PyFunc><![CDATA[    print type( aLong ),"aLong",aLong  ]]></PyFunc>
92      <PyFunc><![CDATA[    return aLong    ]]></PyFunc>
93      <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
94    <creation-date>12/9/2003 - 10:31:19</creation-date>
95    <lastmodification-date>12/9/2003 - 10:31:19</lastmodification-date>
96    <editor-release>1.04</editor-release>
97    <author>JR</author>
98    <container>?</container>
99    <comment>InLine Node</comment>
100    <x-position>14</x-position>
101    <y-position>114</y-position>  </node>
102   <node>
103 <component-name>TypesCheck</component-name>
104    <interface-name>TypesCheck</interface-name>
105    <node-name>MiscTypes</node-name>
106    <kind>0</kind>
107    <coupled-node>?</coupled-node>
108    <service>
109 <service-name>MiscTypes</service-name>
110     <inParameter-list>
111 <inParameter>
112 <inParameter-type>string</inParameter-type>
113       <inParameter-name>InString</inParameter-name>     </inParameter>
114      <inParameter>
115 <inParameter-type>boolean</inParameter-type>
116       <inParameter-name>InBool</inParameter-name>     </inParameter>
117      <inParameter>
118 <inParameter-type>char</inParameter-type>
119       <inParameter-name>InChar</inParameter-name>     </inParameter>
120      <inParameter>
121 <inParameter-type>short</inParameter-type>
122       <inParameter-name>InShort</inParameter-name>     </inParameter>
123      <inParameter>
124 <inParameter-type>long</inParameter-type>
125       <inParameter-name>InLong</inParameter-name>     </inParameter>
126      <inParameter>
127 <inParameter-type>float</inParameter-type>
128       <inParameter-name>InFloat</inParameter-name>     </inParameter>
129      <inParameter>
130 <inParameter-type>double</inParameter-type>
131       <inParameter-name>InDouble</inParameter-name>     </inParameter>
132      <inParameter>
133 <inParameter-type>SuperVisionTest::Adder</inParameter-type>
134       <inParameter-name>InObjRef</inParameter-name>     </inParameter>    </inParameter-list>
135     <outParameter-list>
136 <outParameter>
137 <outParameter-type>string</outParameter-type>
138       <outParameter-name>OutString</outParameter-name>     </outParameter>
139      <outParameter>
140 <outParameter-type>boolean</outParameter-type>
141       <outParameter-name>OutBool</outParameter-name>     </outParameter>
142      <outParameter>
143 <outParameter-type>char</outParameter-type>
144       <outParameter-name>OutChar</outParameter-name>     </outParameter>
145      <outParameter>
146 <outParameter-type>short</outParameter-type>
147       <outParameter-name>OutShort</outParameter-name>     </outParameter>
148      <outParameter>
149 <outParameter-type>long</outParameter-type>
150       <outParameter-name>OutLong</outParameter-name>     </outParameter>
151      <outParameter>
152 <outParameter-type>float</outParameter-type>
153       <outParameter-name>OutFloat</outParameter-name>     </outParameter>
154      <outParameter>
155 <outParameter-type>double</outParameter-type>
156       <outParameter-name>OutDouble</outParameter-name>     </outParameter>
157      <outParameter>
158 <outParameter-type>SuperVisionTest::Adder</outParameter-type>
159       <outParameter-name>OutObjRef</outParameter-name>     </outParameter>    </outParameter-list>   </service>
160    <Parameter-list/>
161    <PyFunction-list/>
162    <creation-date>12/9/2003 - 10:31:19</creation-date>
163    <lastmodification-date>12/9/2003 - 10:31:19</lastmodification-date>
164    <editor-release>1.05</editor-release>
165    <author>?</author>
166    <container>localhost/FactoryServer</container>
167    <comment>MiscTypes from TypesCheck</comment>
168    <x-position>284</x-position>
169    <y-position>28</y-position>  </node> </node-list>
170  <link-list>
171 <link>
172 <fromnode-name>Long</fromnode-name>
173    <fromserviceparameter-name>OutLong</fromserviceparameter-name>
174    <tonode-name>MiscTypes</tonode-name>
175    <toserviceparameter-name>InString</toserviceparameter-name>
176    <coord-list/>  </link>
177   <link>
178 <fromnode-name>Long</fromnode-name>
179    <fromserviceparameter-name>OutLong</fromserviceparameter-name>
180    <tonode-name>MiscTypes</tonode-name>
181    <toserviceparameter-name>InBool</toserviceparameter-name>
182    <coord-list/>  </link>
183   <link>
184 <fromnode-name>Long</fromnode-name>
185    <fromserviceparameter-name>OutLong</fromserviceparameter-name>
186    <tonode-name>MiscTypes</tonode-name>
187    <toserviceparameter-name>InChar</toserviceparameter-name>
188    <coord-list/>  </link>
189   <link>
190 <fromnode-name>Long</fromnode-name>
191    <fromserviceparameter-name>OutLong</fromserviceparameter-name>
192    <tonode-name>MiscTypes</tonode-name>
193    <toserviceparameter-name>InShort</toserviceparameter-name>
194    <coord-list/>  </link>
195   <link>
196 <fromnode-name>Long</fromnode-name>
197    <fromserviceparameter-name>OutLong</fromserviceparameter-name>
198    <tonode-name>MiscTypes</tonode-name>
199    <toserviceparameter-name>InLong</toserviceparameter-name>
200    <coord-list/>  </link>
201   <link>
202 <fromnode-name>Long</fromnode-name>
203    <fromserviceparameter-name>OutLong</fromserviceparameter-name>
204    <tonode-name>MiscTypes</tonode-name>
205    <toserviceparameter-name>InFloat</toserviceparameter-name>
206    <coord-list/>  </link>
207   <link>
208 <fromnode-name>Long</fromnode-name>
209    <fromserviceparameter-name>OutLong</fromserviceparameter-name>
210    <tonode-name>MiscTypes</tonode-name>
211    <toserviceparameter-name>InDouble</toserviceparameter-name>
212    <coord-list/>  </link>
213   <link>
214 <fromnode-name>Long</fromnode-name>
215    <fromserviceparameter-name>OutLong</fromserviceparameter-name>
216    <tonode-name>MiscTypes</tonode-name>
217    <toserviceparameter-name>InObjRef</toserviceparameter-name>
218    <coord-list/>  </link> </link-list>
219  <data-list/></dataflow>