Salome HOME
Copyrights update 2015.
[samples/datafiles.git] / Yacs / Schemas / refcnt2.xml
1 <!--
2   Copyright (C) 2006-2015  CEA/DEN, EDF R&D
3
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.
8
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.
13
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
17
18   See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19
20 -->
21 <proc>
22   <!--Python ref count (19) must not depend on iteration number (2 or 3 or more) -->
23 <forloop name="b1" nsteps="2">
24  <bloc name="b">
25   <inline name="node1" >
26     <script> <code></code> </script>
27     <inport name="p1" type="int"/>
28     <outport name="p1" type="int"/>
29   </inline>
30   <inline name="node2" >
31     <script> <code></code> </script>
32     <inport name="p1" type="int"/>
33     <outport name="p1" type="int"/>
34   </inline>
35   <inline name="node3" >
36     <script> <code></code> </script>
37     <inport name="p1" type="int"/>
38     <outport name="p1" type="int"/>
39   </inline>
40   <inline name="node4" >
41     <script> <code></code> </script>
42     <inport name="p1" type="int"/>
43     <outport name="p1" type="int"/>
44   </inline>
45   <inline name="node5" >
46     <script> <code></code> </script>
47     <inport name="p1" type="int"/>
48     <outport name="p1" type="int"/>
49   </inline>
50   <bloc name="c">
51    <inline name="node1" >
52     <script> <code></code> </script>
53     <inport name="p1" type="int"/>
54     <outport name="p1" type="int"/>
55    </inline>
56   </bloc>
57
58   <!--control -->
59   <control> <fromnode>node1</fromnode> <tonode>node2</tonode> </control>
60   <control> <fromnode>node1</fromnode> <tonode>node3</tonode> </control>
61   <control> <fromnode>node2</fromnode> <tonode>node4</tonode> </control>
62   <control> <fromnode>node3</fromnode> <tonode>node5</tonode> </control>
63   <control> <fromnode>node1</fromnode> <tonode>c</tonode> </control>
64   <!-- datalinks -->
65   <datalink> <fromnode>node1</fromnode><fromport>p1</fromport>
66                <tonode>node3</tonode> <toport>p1</toport> </datalink>
67   <datalink> <fromnode>node1</fromnode><fromport>p1</fromport>
68                <tonode>node2</tonode> <toport>p1</toport> </datalink>
69   <datalink> <fromnode>node2</fromnode><fromport>p1</fromport>
70                <tonode>node4</tonode> <toport>p1</toport> </datalink>
71   <datalink> <fromnode>node3</fromnode><fromport>p1</fromport>
72                <tonode>node5</tonode> <toport>p1</toport> </datalink>
73   <datalink> <fromnode>node1</fromnode><fromport>p1</fromport>
74                <tonode>c.node1</tonode> <toport>p1</toport> </datalink>
75   <!-- parameters -->
76   <parameter> <tonode>node1</tonode> <toport>p1</toport>
77     <value><int>32356</int> </value>
78   </parameter>
79  </bloc>
80 </forloop>
81 </proc>
82