1 <?xml version='1.0' encoding='iso-8859-1' ?>
3 Copyright (C) 2006-2012 CEA/DEN, EDF R&D
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 <proc name="TestDistPython2">
23 <property name="DefaultStudyID" value="1"/>
24 <type name="string" kind="string"/>
25 <struct name="Engines/dataref">
26 <member name="ref" type="string"/>
28 <type name="bool" kind="bool"/>
29 <sequence name="boolvec" content="bool"/>
30 <type name="double" kind="double"/>
31 <sequence name="dblevec" content="double"/>
32 <objref name="file" id="file"/>
33 <type name="int" kind="int"/>
34 <sequence name="intvec" content="int"/>
35 <objref name="pyobj" id="python:obj:1.0"/>
36 <sequence name="stringvec" content="string"/>
37 <container name="DefaultContainer">
38 <property name="container_name" value="FactoryServer"/>
39 <property name="name" value="claui2c6"/>
41 <container name="cont1">
50 return x+" OK ca marche"+str(a),2*a+4.7
53 <load container="cont1"/>
54 <inport name="x" type="string"/>
55 <inport name="a" type="double"/>
56 <outport name="y" type="string"/>
57 <outport name="z" type="double"/>
60 <script><code><![CDATA[
61 print "dans node2 p1=",p1
62 print "dans node2 p2=",p2
64 <inport name="p1" type="string"/>
65 <inport name="p2" type="double"/>
67 <control> <fromnode>Node6</fromnode> <tonode>node2</tonode> </control>
68 <datalink control="false">
69 <fromnode>Node6</fromnode> <fromport>y</fromport>
70 <tonode>node2</tonode> <toport>p1</toport>
72 <datalink control="false">
73 <fromnode>Node6</fromnode> <fromport>z</fromport>
74 <tonode>node2</tonode> <toport>p2</toport>
77 <tonode>Node6</tonode><toport>x</toport>
78 <value><string>ab</string></value>
81 <tonode>Node6</tonode><toport>a</toport>
82 <value><double>3.14</double></value>
84 <presentation name="Node6" x="6" y="34" width="158" height="90" expanded="1" expx="6" expy="34" expWidth="158" expHeight="90" shownState="0"/>
85 <presentation name="node2" x="6" y="125" width="158" height="90" expanded="1" expx="6" expy="125" expWidth="158" expHeight="90" shownState="0"/>
86 <presentation name="__ROOT__" x="0" y="0" width="168" height="219" expanded="1" expx="0" expy="0" expWidth="168" expHeight="219" shownState="0"/>