2 Copyright (C) 2006-2019 CEA/DEN, EDF R&D
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
28 <outport name="select" type="int"/>
32 <code>print(p1)</code>
34 <inport name="p1" type="double"/>
35 <outport name="p1" type="double"/>
40 <script><code>print(p1)</code></script>
41 <inport name="p1" type="double"/>
42 <outport name="p1" type="double"/>
46 <switch name="b" select="1">
50 <code>print(p1)</code>
52 <code><![CDATA[condition=p1 < 40.]]> </code>
54 <inport name="p1" type="double"/>
55 <outport name="p1" type="double"/>
56 <outport name="condition" type="bool"/>
63 <code><![CDATA[condition=p1 < 40.]]> </code>
65 <outport name="p1" type="double"/>
66 <outport name="condition" type="bool"/>
73 <script><code>print(p1)</code></script>
74 <inport name="p1" type="double"/>
75 <outport name="p1" type="double"/>
80 <control> <fromnode>n</fromnode> <tonode>b1</tonode> </control>
81 <control> <fromnode>b1</fromnode> <tonode>n2</tonode> </control>
83 <datalink> <fromnode>n</fromnode><fromport>select</fromport>
84 <tonode>b1</tonode> <toport>select</toport> </datalink>
85 <datalink> <fromnode>b1.p1_n2</fromnode><fromport>p1</fromport>
86 <tonode>n2</tonode> <toport>p1</toport> </datalink>
87 <datalink> <fromnode>b1.p3_b.p1_n2</fromnode><fromport>p1</fromport>
88 <tonode>n2</tonode> <toport>p1</toport> </datalink>
89 <datalink> <fromnode>b1.default_n2</fromnode><fromport>p1</fromport>
90 <tonode>n2</tonode> <toport>p1</toport> </datalink>
93 <tonode>b1.p1_n2</tonode> <toport>p1</toport>
94 <value><double>23</double> </value>
97 <tonode>b1.p3_b.p1_n2</tonode> <toport>p1</toport>
98 <value><double>54</double> </value>
101 <tonode>b1.default_n2</tonode> <toport>p1</toport>
102 <value><double>67</double> </value>