1 <?xml version='1.0' encoding='iso-8859-1' ?>
3 Copyright (C) 2006-2019 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, or (at your option) any later version.
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
23 <type name="string" kind="string"/>
24 <struct name="Engines/dataref">
25 <member name="ref" type="string"/>
27 <type name="bool" kind="bool"/>
28 <sequence name="boolvec" content="bool"/>
29 <type name="double" kind="double"/>
30 <sequence name="dblevec" content="double"/>
31 <objref name="file" id="file"/>
32 <type name="int" kind="int"/>
33 <sequence name="intvec" content="int"/>
34 <objref name="pyobj" id="python:obj:1.0"/>
35 <sequence name="stringvec" content="string"/>
36 <container name="DefaultContainer">
37 <property name="container_name" value="FactoryServer"/>
38 <property name="name" value="localhost"/>
41 <script><code><![CDATA[select=3]]></code></script>
42 <outport name="select" type="int"/>
45 <script><code><![CDATA[print(p1)]]></code></script>
46 <inport name="p1" type="double"/>
47 <outport name="p1" type="double"/>
52 <script><code><![CDATA[print(p1)]]></code></script>
53 <inport name="p1" type="double"/>
54 <outport name="p1" type="double"/>
59 <script><code><![CDATA[print(p1)]]></code></script>
60 <inport name="p1" type="double"/>
61 <outport name="p1" type="double"/>
65 <switch name="b" select="1">
68 <script><code><![CDATA[p1=20.
69 condition=p1 < 40. ]]></code></script>
70 <outport name="p1" type="double"/>
71 <outport name="condition" type="bool"/>
76 <script><code><![CDATA[print(p1)
78 condition=p1 < 40. ]]></code></script>
79 <inport name="p1" type="double"/>
80 <outport name="p1" type="double"/>
81 <outport name="condition" type="bool"/>
87 <control> <fromnode>n</fromnode> <tonode>b1</tonode> </control>
88 <control> <fromnode>b1</fromnode> <tonode>n2</tonode> </control>
89 <datalink control="false">
90 <fromnode>n</fromnode> <fromport>select</fromport>
91 <tonode>b1</tonode> <toport>select</toport>
93 <datalink control="false">
94 <fromnode>b1.p3_b.default_n2</fromnode> <fromport>p1</fromport>
95 <tonode>n2</tonode> <toport>p1</toport>
97 <datalink control="false">
98 <fromnode>b1.p3_b.p1_n2</fromnode> <fromport>p1</fromport>
99 <tonode>n2</tonode> <toport>p1</toport>
101 <datalink control="false">
102 <fromnode>b1.default_n2</fromnode> <fromport>p1</fromport>
103 <tonode>n2</tonode> <toport>p1</toport>
105 <datalink control="false">
106 <fromnode>b1.p1_n2</fromnode> <fromport>p1</fromport>
107 <tonode>n2</tonode> <toport>p1</toport>
110 <tonode>b1.default_n2</tonode><toport>p1</toport>
111 <value><double>67</double></value>
114 <tonode>b1.p1_n2</tonode><toport>p1</toport>
115 <value><double>23</double></value>
118 <tonode>b1.p3_b.p1_n2</tonode><toport>p1</toport>
119 <value><double>54</double></value>
122 <tonode>b1.p3_b</tonode><toport>select</toport>
123 <value><int>1</int></value>
125 <presentation name="b1" x="397" y="69" width="189" height="454" expanded="1" expx="397" expy="69" expWidth="189" expHeight="454" shownState="0"/>
126 <presentation name="b1.default_n2" x="6" y="57.5" width="158" height="63" expanded="1" expx="6" expy="57.5" expWidth="158" expHeight="63" shownState="0"/>
127 <presentation name="b1.p1_n2" x="6" y="121.5" width="158" height="63" expanded="1" expx="6" expy="121.5" expWidth="158" expHeight="63" shownState="0"/>
128 <presentation name="b1.p3_b.default_n2" x="6" y="57.5" width="158" height="90" expanded="1" expx="6" expy="57.5" expWidth="158" expHeight="90" shownState="0"/>
129 <presentation name="b1.p3_b.p1_n2" x="6" y="148" width="158" height="90" expanded="1" expx="6" expy="148" expWidth="158" expHeight="90" shownState="0"/>
130 <presentation name="n2" x="760" y="181" width="158" height="63" expanded="1" expx="760" expy="181" expWidth="158" expHeight="63" shownState="0"/>
131 <presentation name="b1.p3_b" x="17" y="208" width="168" height="242" expanded="1" expx="17" expy="208" expWidth="168" expHeight="242" shownState="0"/>
132 <presentation name="n" x="6" y="40.5" width="158" height="63" expanded="1" expx="6" expy="40.5" expWidth="158" expHeight="63" shownState="0"/>
133 <presentation name="__ROOT__" x="0" y="0" width="922" height="527" expanded="1" expx="0" expy="0" expWidth="922" expHeight="527" shownState="0"/>