Salome HOME
[EDF27816] : fix all non regression tests
[modules/yacs.git] / src / yacsloader / samples / SchemaIOFile.xml
1 <?xml version='1.0' encoding='iso-8859-1' ?>
2 <!--
3   Copyright (C) 2006-2019  CEA/DEN, EDF R&D
4
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.
9
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.
14
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
18
19   See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20
21 -->
22 <proc name="proc">
23    <type name="bool" kind="bool"/>
24    <type name="double" kind="double"/>
25    <type name="string" kind="string"/>
26    <struct name="Engines/dataref">
27       <member name="ref" type="string"/>
28    </struct>
29    <type name="int" kind="int"/>
30    <sequence name="boolvec" content="bool"/>
31    <sequence name="dblevec" content="double"/>
32    <objref name="file" id="file"/>
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"/>
39    </container>
40    <inline name="PyScript0">
41       <script><code><![CDATA[b=2.5*a
42 ]]></code></script>
43       <inport name="a" type="double"/>
44       <outport name="b" type="double"/>
45    </inline>
46    <datanode name="PresetNode0">
47       <parameter name="a" type="double">
48          <value><double>-2.45</double></value>
49       </parameter>
50    </datanode>
51    <outnode name="OutNode0" ref="toto.xml">
52       <parameter name="a" type="double"/>
53    </outnode>
54    <control> <fromnode>PyScript0</fromnode> <tonode>OutNode0</tonode> </control>
55    <control> <fromnode>PresetNode0</fromnode> <tonode>PyScript0</tonode> </control>
56    <datalink control="false">
57       <fromnode>PyScript0</fromnode> <fromport>b</fromport>
58       <tonode>OutNode0</tonode> <toport>a</toport>
59    </datalink>
60    <datalink control="false">
61       <fromnode>PresetNode0</fromnode> <fromport>a</fromport>
62       <tonode>PyScript0</tonode> <toport>a</toport>
63    </datalink>
64    <parameter>
65       <tonode>PyScript0</tonode><toport>a</toport>
66       <value><double>0</double></value>
67    </parameter>
68    <presentation name="OutNode0" x="747" y="153" width="158" height="63" expanded="1" expx="747" expy="153" expWidth="158" expHeight="63" shownState="0"/>
69    <presentation name="PresetNode0" x="47" y="154" width="158" height="63" expanded="1" expx="0" expy="0" expWidth="158" expHeight="63" shownState="0"/>
70    <presentation name="PyScript0" x="395" y="154" width="158" height="63" expanded="1" expx="0" expy="0" expWidth="158" expHeight="63" shownState="0"/>
71    <presentation name="__ROOT__" x="0" y="0" width="909" height="221" expanded="1" expx="0" expy="0" expWidth="909" expHeight="221" shownState="0"/>
72 </proc>