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