]> SALOME platform Git repositories - modules/superv.git/blob - examples/GraphConvertFloatCheck.xml
Salome HOME
PAL8521
[modules/superv.git] / examples / GraphConvertFloatCheck.xml
1 <!DOCTYPE Dataflow>
2 <dataflow>
3 <info-list>
4 <node>
5 <component-name>?</component-name>
6    <interface-name>?</interface-name>
7    <node-name>GraphConvertFloatCheck</node-name>
8    <kind>1</kind>
9    <coupled-node>?</coupled-node>
10    <service>
11 <service-name>GraphConvertFloatCheck</service-name>
12     <inParameter-list/>
13     <outParameter-list>
14 <outParameter>
15 <outParameter-type>string</outParameter-type>
16       <outParameter-name>MiscTypes\OutString</outParameter-name>     </outParameter>
17      <outParameter>
18 <outParameter-type>boolean</outParameter-type>
19       <outParameter-name>MiscTypes\OutBool</outParameter-name>     </outParameter>
20      <outParameter>
21 <outParameter-type>char</outParameter-type>
22       <outParameter-name>MiscTypes\OutChar</outParameter-name>     </outParameter>
23      <outParameter>
24 <outParameter-type>short</outParameter-type>
25       <outParameter-name>MiscTypes\OutShort</outParameter-name>     </outParameter>
26      <outParameter>
27 <outParameter-type>long</outParameter-type>
28       <outParameter-name>MiscTypes\OutLong</outParameter-name>     </outParameter>
29      <outParameter>
30 <outParameter-type>float</outParameter-type>
31       <outParameter-name>MiscTypes\OutFloat</outParameter-name>     </outParameter>
32      <outParameter>
33 <outParameter-type>double</outParameter-type>
34       <outParameter-name>MiscTypes\OutDouble</outParameter-name>     </outParameter>
35      <outParameter>
36 <outParameter-type>SuperVisionTest::Adder</outParameter-type>
37       <outParameter-name>MiscTypes\OutObjRef</outParameter-name>     </outParameter>    </outParameter-list>   </service>
38    <Parameter-list/>
39    <PyFunction-list/>
40    <creation-date>30/7/2003 - 14:23:52</creation-date>
41    <lastmodification-date>12/9/2003 - 15:12:6</lastmodification-date>
42    <editor-release>1.04</editor-release>
43    <author>JR</author>
44    <container>?</container>
45    <comment>Check conversions of Float</comment>
46    <x-position>0</x-position>
47    <y-position>0</y-position>  </node> </info-list>
48  <node-list>
49 <node>
50 <component-name>?</component-name>
51    <interface-name>?</interface-name>
52    <node-name>Float</node-name>
53    <kind>3</kind>
54    <coupled-node>?</coupled-node>
55    <service>
56 <service-name>Float</service-name>
57     <inParameter-list/>
58     <outParameter-list>
59 <outParameter>
60 <outParameter-type>float</outParameter-type>
61       <outParameter-name>OutFloat</outParameter-name>     </outParameter>    </outParameter-list>   </service>
62    <Parameter-list/>
63    <PyFunction-list>
64 <PyFunction>
65 <FuncName>Float</FuncName>
66      <PyFunc><![CDATA[def Float() :   ]]></PyFunc>
67      <PyFunc><![CDATA[    aFloat = 3.1415926535 ]]></PyFunc>
68      <PyFunc><![CDATA[    print type(aFloat),"aFloat",aFloat ]]></PyFunc>
69      <PyFunc><![CDATA[    return aFloat   ]]></PyFunc>
70      <PyFunc><![CDATA[?]]></PyFunc>    </PyFunction>   </PyFunction-list>
71    <creation-date>12/9/2003 - 15:12:6</creation-date>
72    <lastmodification-date>12/9/2003 - 15:12:6</lastmodification-date>
73    <editor-release>1.04</editor-release>
74    <author>JR</author>
75    <container>?</container>
76    <comment>InLine Node</comment>
77    <x-position>14</x-position>
78    <y-position>114</y-position>  </node>
79   <node>
80 <component-name>TypesCheck</component-name>
81    <interface-name>TypesCheck</interface-name>
82    <node-name>MiscTypes</node-name>
83    <kind>0</kind>
84    <coupled-node>?</coupled-node>
85    <service>
86 <service-name>MiscTypes</service-name>
87     <inParameter-list>
88 <inParameter>
89 <inParameter-type>string</inParameter-type>
90       <inParameter-name>InString</inParameter-name>     </inParameter>
91      <inParameter>
92 <inParameter-type>boolean</inParameter-type>
93       <inParameter-name>InBool</inParameter-name>     </inParameter>
94      <inParameter>
95 <inParameter-type>char</inParameter-type>
96       <inParameter-name>InChar</inParameter-name>     </inParameter>
97      <inParameter>
98 <inParameter-type>short</inParameter-type>
99       <inParameter-name>InShort</inParameter-name>     </inParameter>
100      <inParameter>
101 <inParameter-type>long</inParameter-type>
102       <inParameter-name>InLong</inParameter-name>     </inParameter>
103      <inParameter>
104 <inParameter-type>float</inParameter-type>
105       <inParameter-name>InFloat</inParameter-name>     </inParameter>
106      <inParameter>
107 <inParameter-type>double</inParameter-type>
108       <inParameter-name>InDouble</inParameter-name>     </inParameter>
109      <inParameter>
110 <inParameter-type>SuperVisionTest::Adder</inParameter-type>
111       <inParameter-name>InObjRef</inParameter-name>     </inParameter>    </inParameter-list>
112     <outParameter-list>
113 <outParameter>
114 <outParameter-type>string</outParameter-type>
115       <outParameter-name>OutString</outParameter-name>     </outParameter>
116      <outParameter>
117 <outParameter-type>boolean</outParameter-type>
118       <outParameter-name>OutBool</outParameter-name>     </outParameter>
119      <outParameter>
120 <outParameter-type>char</outParameter-type>
121       <outParameter-name>OutChar</outParameter-name>     </outParameter>
122      <outParameter>
123 <outParameter-type>short</outParameter-type>
124       <outParameter-name>OutShort</outParameter-name>     </outParameter>
125      <outParameter>
126 <outParameter-type>long</outParameter-type>
127       <outParameter-name>OutLong</outParameter-name>     </outParameter>
128      <outParameter>
129 <outParameter-type>float</outParameter-type>
130       <outParameter-name>OutFloat</outParameter-name>     </outParameter>
131      <outParameter>
132 <outParameter-type>double</outParameter-type>
133       <outParameter-name>OutDouble</outParameter-name>     </outParameter>
134      <outParameter>
135 <outParameter-type>SuperVisionTest::Adder</outParameter-type>
136       <outParameter-name>OutObjRef</outParameter-name>     </outParameter>    </outParameter-list>   </service>
137    <Parameter-list/>
138    <PyFunction-list/>
139    <creation-date>12/9/2003 - 15:12:6</creation-date>
140    <lastmodification-date>12/9/2003 - 15:12:6</lastmodification-date>
141    <editor-release>1.05</editor-release>
142    <author>?</author>
143    <container>localhost/FactoryServer</container>
144    <comment>MiscTypes from TypesCheck</comment>
145    <x-position>284</x-position>
146    <y-position>28</y-position>  </node> </node-list>
147  <link-list>
148 <link>
149 <fromnode-name>Float</fromnode-name>
150    <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
151    <tonode-name>MiscTypes</tonode-name>
152    <toserviceparameter-name>InString</toserviceparameter-name>
153    <coord-list/>  </link>
154   <link>
155 <fromnode-name>Float</fromnode-name>
156    <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
157    <tonode-name>MiscTypes</tonode-name>
158    <toserviceparameter-name>InBool</toserviceparameter-name>
159    <coord-list/>  </link>
160   <link>
161 <fromnode-name>Float</fromnode-name>
162    <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
163    <tonode-name>MiscTypes</tonode-name>
164    <toserviceparameter-name>InChar</toserviceparameter-name>
165    <coord-list/>  </link>
166   <link>
167 <fromnode-name>Float</fromnode-name>
168    <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
169    <tonode-name>MiscTypes</tonode-name>
170    <toserviceparameter-name>InShort</toserviceparameter-name>
171    <coord-list/>  </link>
172   <link>
173 <fromnode-name>Float</fromnode-name>
174    <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
175    <tonode-name>MiscTypes</tonode-name>
176    <toserviceparameter-name>InLong</toserviceparameter-name>
177    <coord-list/>  </link>
178   <link>
179 <fromnode-name>Float</fromnode-name>
180    <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
181    <tonode-name>MiscTypes</tonode-name>
182    <toserviceparameter-name>InFloat</toserviceparameter-name>
183    <coord-list/>  </link>
184   <link>
185 <fromnode-name>Float</fromnode-name>
186    <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
187    <tonode-name>MiscTypes</tonode-name>
188    <toserviceparameter-name>InDouble</toserviceparameter-name>
189    <coord-list/>  </link>
190   <link>
191 <fromnode-name>Float</fromnode-name>
192    <fromserviceparameter-name>OutFloat</fromserviceparameter-name>
193    <tonode-name>MiscTypes</tonode-name>
194    <toserviceparameter-name>InObjRef</toserviceparameter-name>
195    <coord-list/>  </link> </link-list>
196  <data-list/></dataflow>